Create bulk prices
POST/v2/bulk-prices/bulk
Create bulk prices
Request
- application/json
Body
required
An object containing bulk price create inputs and directives
bulkPrices string[]required
An array of bulk price create inputs. Please provide one of ["priceId","productId","source"] in each one
directives string[]nullable
Directives. Available directives are : ["resetOnUpdate"]
Responses
- 201
- 400
- 403
- 500
Bulk prices created
- application/json
- Schema
- Example (from schema)
Schema
created integernullablerequired
Number of created items
updated integernullablerequired
Number of updated items
total integernullablerequired
Total number of created and updated items
{
"created": 60,
"updated": 40,
"total": 100
}
Bad request
Forbidden
Unknown create bulk prices error
Loading...