SKU
A stock keeping unit (SKU) represents a specific product variation.
Gets the SKUs specified in the request.
A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.
A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.
A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.
Only return objects with these IDs.
The Export Control Classification Number (ECCN) associated with the SKUs you want to retrieve.
The partNumber associated with the SKUs you want to retrieve.
The hsCode associated with the SKUs you want to retrieve.
The taxCode associated with the SKUs you want to retrieve.
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
GET /skus HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"hasMore": true,
"data": [
{
"createdTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
},
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
}
}
]
}
Submit this request to create a SKU.
The unique identifier of a SKU.
5823594809
The export control classification number.
EAR99
The international and US Harmonized System code (sometimes referred to as the Harmonized Tariff Schedule).
6404.20
The manufacturer's part number.
SWG1224J10L
The designated tax code.
4323.310_A
The product’s name.
Athena Womens Running Shoes
A description of the product.
Athena Womens Running Shoes
An image of the product.
https://imageurl.com
A product url.
https://producturl.com
The weight of the product measured in the unit specified by weightUnit.
20.5
The unit of measurement applied to the weight.
oz
Possible values: A two-letter Alpha-2 country code as described in the ISO 3166 international standard.
US
201 Created
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
POST /skus HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 329
{
"id": "5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"taxCode": "4323.310_A",
"name": "Athena Womens Running Shoes",
"description": "Athena Womens Running Shoes",
"image": "https://imageurl.com",
"url": "https://producturl.com",
"weight": 20.5,
"weightUnit": "oz",
"countryOfOrigin": "US",
"metadata": {
"coupon": "iOS"
}
}
{
"createdTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
},
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
}
}
Retrieves the details of a SKU. You must supply the unique identifier of the SKU.
SKU identifier.
OK.
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
GET /skus/{id} HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"createdTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
},
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
}
}
Submit this request to upsert the specified SKU.
The SKU identifier.
The export control classification number.
EAR99
The international and US Harmonized System code (sometimes referred to as the Harmonized Tariff Schedule).
6404.20
The manufacturer's part number.
SWG1224J10L
The designated tax code.
4323.310_A
The product?s name.
Athena Womens Running Shoes
A description of the product.
Athena Womens Running Shoes
An image of the product.
https://imageurl.com
A product url.
https://producturl.com
A two-letter Alpha-2 country code as described in the ISO 3166 international standard.
US
The weight of the product measured in the unit specified by weightUnit.
20.5
The unit of measurement applied to the weight.
oz
Possible values: 200 OK
201 Created
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
PUT /skus/{id} HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 311
{
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"metadata": {
"coupon": "iOS"
}
}
{
"createdTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
},
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
}
}
Updates the specified SKU by setting the values of the parameters passed. Any parameters not provided remain unchanged.
The SKU identifier.
The export control classification number.
EAR99
The international and US Harmonized System code (sometimes referred to as the Harmonized Tariff Schedule).
6404.20
The manufacturer's part number.
SWG1224J10L
The designated tax code.
4323.310_A
The product?s name.
Athena Womens Running Shoes
A description of the product.
Athena Womens Running Shoes
An image of the product.
https://imageurl.com
A product url.
https://producturl.com
A two-letter Alpha-2 country code as described in the ISO 3166 international standard.
US
The weight of the product measured in the unit specified by weightUnit.
20.5
The unit of measurement applied to the weight.
oz
Possible values: 200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
POST /skus/{id} HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 311
{
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"metadata": {
"coupon": "iOS"
}
}
{
"createdTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
},
"id": "sku_5823594809",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"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",
"liveMode": false,
"metadata": {
"coupon": "iOS"
},
"updatedTime": {
"offset": {
"totalSeconds": 0,
"id": "Z",
"rules": {
"fixedOffset": true,
"transitions": [],
"transitionRules": []
}
},
"nano": 0,
"year": 2018,
"monthValue": 4,
"dayOfMonth": 25,
"hour": 20,
"minute": 36,
"second": 0,
"dayOfWeek": "WEDNESDAY",
"dayOfYear": 115,
"month": "APRIL"
}
}
Permanently deletes a SKU. Supply the unique identifier of the SKU.
SKU identifier
204 No Content
400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
DELETE /skus/{id} HTTP/1.1
Host: api.digitalriver.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated