Update a list of custom prices for a product
PATCH/api/v1/custom_prices/list
Max. 1000 per request.
Request
- application/vnd.api+json
 
Body
required
Array [
]
data
object
Possible values: [custom_prices]
custom_prices
object[]
Max. 1000 per request.
ID of the Custom Price to update
attributes
object
Pass 'true' if this should be a default Price for this product, otherwise use 'false'
Complete list of IDs of businesses (business_ids) linked to this price. Don't use combined with 'add_business_ids' nor 'remove_business_ids'.
List of IDs of businesses (business_ids) to additionally link to this price. Preserves businesses already linked to this price.'
List of IDs of businesses (business_ids) to dissociate from this price. Preserves businesses whose ID is not provided in the list.
Can be used to assign Supplier's own ID to a Price
Responses
- 201
 
Upate a list of prices
- application/vnd.api+json
 
- Schema
 - Example (from schema)
 
Schema
Array [
]
data
object[]
required
attributes
object
{
  "data": [
    {
      "id": "string",
      "type": "string",
      "attributes": {
        "in-cents": 0,
        "default": true,
        "supplier-product-id": "string",
        "businesses": [
          null
        ],
        "custom-ref": "string"
      }
    }
  ]
}