Create a list of custom prices for a product
POST/api/v1/custom_prices/list
Max. 1000 per request.
Request
- application/vnd.api+json
Body
required
Array [
]
data
object
type string
Possible values: [custom_prices
]
custom_prices
object[]
Max. 1000 per request.
supplier_product string
Related Supplier Product ID
attributes
object
in_cents int32required
default booleanrequired
Pass 'true' if this should be a default Price for this product, otherwise use 'false'
business_ids string[]
IDs of businesses that should use this Price for related Product
custom_ref string
Can be used to assign Supplier's own ID to a Price
Responses
- 201
Create a list of custom prices for a product
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
id string
type string
attributes
object
in-cents integer
default boolean
supplier-product-id string
businesses array
custom-ref string
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"in-cents": 0,
"default": true,
"supplier-product-id": "string",
"businesses": [
null
],
"custom-ref": "string"
}
}
]
}
Loading...