JSON API
...
Examples
Partial Updates (Patch)
Prices
1min
Patching prices for a given product
Request Body
1{
2 "ITEM001": [
3 {
4 "op": "add",
5 "path": "/attributes/price",
6 "value": {
7 "USD" : {
8 "salePrice" : 50.00,
9 "defaultPrice" : 70.00,
10 "toPrice" : 70.00,
11 "startPrice" : 50.00
12 },
13 "GBP" : {
14 "salePrice" : 50.00
15 }
16 }
17 }
18 ]
19}
Patching prices for specific currencies when multiple currencies are submitted.
Request Body
1{
2 "ITEM001": [
3 {
4 "op": "add",
5 "path": "/attributes/price/USD",
6 "value": {
7 "salePrice" : 50.00,
8 "defaultPrice" : 70.00,
9 "toPrice" : 70.00,
10 "startPrice" : 50.00
11 }
12 }
13 ]
14}