Pricing API
...
Pricing API Docs
Pricing
Update Pricing by Price List
PATCH
/api/v1/price-lists/{slug}/pricing
Path Parameters
slug
string
*
Header Parameters
Site-Id
string
*
Body Parameters
body
object[]
Description
List of sku, quantity and price to update. Partial updates are supported, meaning only the SKUs present will be affected. For the given SKUs, existing prices are deleted then the supplied prices are inserted. If SKU is provided but quantity and price are blank, all prices for that SKU are removed from the price list.
sku
string
*
pricing
object[]
*
Responses
204
Successful response
400
Validation errors
PriceUpdateError[]
line
integer
field
string
message
string
404
Price list not found
default
Error Response
Updated 24 Sep 2024
Did this page help you?