Skip to main content
PUT
Replace all line item attributes in bulk across subscription contracts

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

contractIds
string

The contracts to update, as a comma-separated list of contract IDs, such as 123456789,123456790. Required unless allSubscriptions is true.

allSubscriptions
boolean
default:false

true updates every subscription contract in your store, and contractIds is ignored. Defaults to false.

Body

application/json

The attributes, as key and value pairs, that replace the attributes of every line in each contract. Any attribute you leave out is removed from every line. The list can't be empty.

key
string
value
string

Response

The request was accepted. The contracts are updated after this response: read a contract to see the result.