{ | |
"info": { | |
"_postman_id": "4ea2f3c9-d8e0-4ca0-95c2-acf232ee5ef2", | |
"name": "Examples", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "InventoryUpdate", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "ShopName", | |
"value": "{{ShopName}}" | |
}, | |
{ | |
"key": "ShopperId", | |
"value": "{{ShopperId}}" | |
}, | |
{ | |
"key": "Language", | |
"value": "{{Language}}" | |
}, | |
{ | |
"key": "Currency", | |
"value": "{{Currency}}" | |
}, | |
{ | |
"key": "Environment", | |
"value": "{{Environment}}" | |
}, | |
{ | |
"key": "GeoLocation", | |
"value": "{{GeoLocation}}" | |
}, | |
{ | |
"key": "CustomerId", | |
"value": "{{CustomerId}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "{{SitecoreIdToken}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\r\n \"inventory\" :\r\n [\r\n {\r\n \"productId\": \"\",\r\n \"size\": \"\",\r\n \"uom\": \"\"\r\n },\r\n {\r\n \"productId\": \"\",\r\n \"size\": \"\",\r\n \"uom\": \"\"\r\n }\r\n ]\r\n}\r\n" | |
}, | |
"url": { | |
"raw": "https://{{ServiceHost}}/{{ShopsApi}}/InventoryUpdate", | |
"protocol": "https", | |
"host": [ | |
"{{ServiceHost}}" | |
], | |
"path": [ | |
"{{ShopsApi}}", | |
"InventoryUpdate" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "SellableItemUpdate", | |
"request": { | |
"method": "PUT", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "ShopName", | |
"value": "{{ShopName}}" | |
}, | |
{ | |
"key": "ShopperId", | |
"value": "{{ShopperId}}" | |
}, | |
{ | |
"key": "Language", | |
"value": "{{Language}}" | |
}, | |
{ | |
"key": "Currency", | |
"value": "{{Currency}}" | |
}, | |
{ | |
"key": "Environment", | |
"value": "{{Environment}}" | |
}, | |
{ | |
"key": "GeoLocation", | |
"value": "{{GeoLocation}}" | |
}, | |
{ | |
"key": "CustomerId", | |
"value": "{{CustomerId}}" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "{{SitecoreIdToken}}" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\r\n \"products\" :\r\n [\r\n {\r\n \"productid\": \"Product1\",\r\n \"listprice\": \"10.99\",\r\n \"description\": \"Product 1 is the best!!!\",\r\n \"variants\" :\r\n \t\t[\r\n \t\t\t{\r\n \t\t\t\t\"variantid\": \"Product1-Variant1\",\r\n \t\t\t\t\"listprice\": \"11.99\"\r\n \t\t\t},\r\n \t\t\t{\r\n \t\t\t\t\"variantid\": \"Product1-Variant2\",\r\n \t\t\t\t\"listprice\": \"12.99\"\r\n \t\t\t},\r\n \t\t\t{\r\n \t\t\t\t\"variantid\": \"Product1-Variant3\",\r\n \t\t\t\t\"listprice\": \"13.99\"\r\n \t\t\t}\r\n \t\t]\r\n }\r\n ]\r\n}\r\n" | |
}, | |
"url": { | |
"raw": "https://{{ServiceHost}}/{{ShopsApi}}/CreateUpdateSellableItem", | |
"protocol": "https", | |
"host": [ | |
"{{ServiceHost}}" | |
], | |
"path": [ | |
"{{ShopsApi}}", | |
"CreateUpdateSellableItem" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment