Prices bulk
POST/v2/prices/bulk
Creates or updates prices
Request
- application/json
Body
array
required
Prices bulk input, please use either productId or productSource.
Array [
]
product id
Product source
Default value: 1
The quantity of items that the listed price will purchase
The default sales price
The price at which the product is sold in physical stores. This might differ from the standard price due to store-specific deals, overhead costs, or regional pricing strategies
The cost associated to acquire the product.
The manufacturer's or supplier's recommended retail price (RRP) for the product.
Possible values: [costpriceplus
, listpricemin
, netprice
]
The method used to apply discounts for bulk prices / volume discounts. One of: [costpriceplus, listpricemin, netprice]
Possible values: [H
, L
, N
]
`Default tax code of this product One of: [H, L, N]
Possible values: [FROM
, FROM_FOR
, LISTPRICE_OURPRICE
, PACKAGE
, PER_UOM
, ON_REQUEST
, DEFAULT
]
Describes how the price should be displayed on the Front-End. Default value is 'DEFAULT'. One of: [FROM, FROM_FOR, LISTPRICE_OURPRICE, PACKAGE, PER_UOM, ON_REQUEST, DEFAULT]
Responses
- 200
- 400
- 403
- 404
- 500
Prices created
- application/json
- Schema
- Example (from schema)
Schema
Number of created items
Number of updated items
Total number of created and updated items
{
"created": 60,
"updated": 40,
"total": 100
}
Bad request
Forbidden
Products not found
Unknown creating prices error