latestOpenAPI 3.0.12026-08-101292701.1 MB
f21981db32be
SKUs
Upserts a SKU
Either creates or updates a SKU.
put/skus/{id}
Path parameters
idstring required
The identifier of the SKU to update or create. If a SKU with this id exists, then Digital River uses the data in the request body to update the resource. Otherwise, Digital River uses that same data to create a new SKU resource and assigns it id.
Request body
Example request
{
"eccn": "EAR99",
"hsCode": "6404.20",
"skuGroupId": "5823594809",
"partNumber": "SWG1224J10L",
"manufacturerId": "654123",
"taxCode": "4323.310_A",
"name": "Athena Womens Running Shoes",
"description": "Athena Womens Running Shoes",
"image": "https://imageurl.com",
"url": "https://producturl.com",
"countryOfOrigin": "US",
"weight": 20.5,
"weightUnit": "oz",
"itemBreadcrumb": "Sports & Outdoors > Exercise & Fitness > Wearable Technology > Fitness Trackers",
"partnerAccountId": "00g6atnynbl2wFsFG357",
"metadata": {
"coupon": "iOS"
}
}Response
200 OK. This indicates that a SKU with that id existed and is now updated.
Example response
{
"createdTime": "2018-04-25T20:36:00Z",
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"skuGroupId": "5823594809",
"partNumber": "SWG1224J10L",
"manufacturerId": "654123",
"physical": true,
"taxCode": "4323.310_A",
"name": "Athena Womens Running Shoes",
"description": "Athena Womens Running Shoes",
"image": "https://imageurl.com",
"url": "https://producturl.com",
"countryOfOrigin": "US",
"weight": 20.5,
"weightUnit": "oz",
"itemBreadcrumb": "Sports & Outdoors > Exercise & Fitness > Wearable Technology > Fitness Trackers",
"partnerAccountId": "00g6atnynbl2wFsFG357",
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2018-04-25T20:36:00Z"
}