POST call, passing a JSON body as specified below.callbackUrl specified in the request body{
"success":true,
"message":"operation_equeued"
}
{
"success":false,
"message":"invalid_items",
"invalidItems":["QA7MDNRD1-M80701x"]
}
{
"priceList": "121_1",
"priceListType": "SALE",
"items": [
{
"itemCode": "QA7MDNRD1-M80701",
"startDate": "2021-02-01",
"price": 100.99
},
{
"itemCode": "MAGLIA_BIMBA",
"startDate": "2021-02-01",
"priceGrouping": [
{
"dimensionGrouping": "BABY",
"price": 50.99
},
{
"dimensionGrouping": "KID",
"price": 60
},
{
"dimensionGrouping": "JUNIOR",
"price": 70
},
{
"dimensionGrouping": "TEEN",
"price": 80
}
]
}
],
"callbackUrl": "https://my.endpoint.com/insertPricesCallback"
}
| Field | Description | Type | Mandatory |
|---|---|---|---|
| priceList | Price list code | String | ✓ |
| priceListType | Price list code | String | ✓ |
| items | Array of items prices to insert | array | ✓ |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| itemCode | item code | String | ✓ |
| startDate | price start date (yyyy-MM-dd) | Date | ✓ |
| price | price of item, mandatory if price grouping is disable | number | |
| priceGrouping | array of price in case of price grouping | String |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| dimensionGrouping | dimension group code | String | ✓ |
| price | price of item group | number | ✓ |
callbackUrl is optional, and if specified, a request to that URL will be made after the prices import has finished.{
"success": true,
"message": "Prices correctly inserted"
}