Create a new price
POST/v2/prices
Create a new price
Request
- application/json
Body
required
Create price input
product id
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
]
Default value: 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
- 201
- 400
- 403
- 500
Price created
- application/json
- Schema
- Example (from schema)
Schema
Primary identifier
Creation date
Last modified date
{
"id": "",
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z"
}
Bad request
Forbidden
Unknown create price error