Update a list of products
PATCH/api/v1/supplier_products/list
Max. 1000 per request.
Request
- application/vnd.api+json
Body
required
Array [
]
data
object
Possible values: [supplier_products
]
supplier_products
object[]
Max. 1000 per request.
ID of Product to update
Product category ID, must belong to the Supplier
attributes
object
Price of one unit in the package that the product is being sold in
If set to true
the image
attribute is required
If is_available
is set to true
the image
is required
Price of the product (per package sold)
default price of the product, which can be replaced by a custom per-business one and act as a fallback value if there is no custom price
Object containing Product specifications, the format should be
{
"specification_group_A": {
"specification_x": "value_x",
"specification_y": "value_y",
"specification_z": "value_z"
},
"specification_group_B": {
"specification_q": "value_q",
"specification_w": "value_w"
}
} ```
Responses
- 201
Upate a list of products
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
attributes
object
Possible values: [true
, false
]
Price of one unit in the package that the product is being sold in
Price of the product (per package sold)
Price of the product for a specific business
Possible values: [true
, false
]
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"description": "string",
"description-en": "string",
"description-fr": "string",
"description-de": "string",
"description-it": "string",
"description-es": "string",
"description-el": "string",
"image": "string",
"is-available": true,
"max-fixed-quantity": 0,
"max-open-quantity": 0,
"min-fixed-quantity": 0,
"min-open-quantity": 0,
"name": "string",
"name-en": "string",
"name-fr": "string",
"name-de": "string",
"name-it": "string",
"name-es": "string",
"name-el": "string",
"price-per-unit-cents": 0,
"selling-price-cents": 0,
"price-in-cents": 0,
"sku-ref": 0,
"specifications": {},
"supplier-name": "string",
"supplier-id": "string",
"open-quantity": 0,
"fixed-quantity": 0,
"quantity-type": "string",
"units": "string",
"from-custom-catalog": true,
"ordering-deadline": 0,
"ordering-lead-time": 0
}
}
]
}