Inventory items
An inventory item represents a physical good whose fulfillment Digital River coordinates.
Get all inventory items.
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 partNumber associated with the inventory items you want to retrieve.
The manufacturer identifier associated with the inventory items 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 /inventory-items HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"hasMore": true,
"data": [
{
"id": "5823594809",
"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"
},
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"countryOfOrigin": "US",
"allowOversell": false,
"liveMode": false,
"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"
}
}
]
}
Creates an inventory item.
Unique identifier of an inventory item.
5823594809
Unique Digital River manufacturer identifier.
84f18544-e6ab-44bb-b543-56c7b30fb6ca
Manufacturer part number.
SWG1224J10L
Export control classification number.
EAR99
International & US HS Code & Harmonized Tariff Code.
6404.20
An ISO 3166-1 alpha-2 country code.
US
If true, customers are allowed to reserve inventory of the item when it is out of stock.
false
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 /inventory-items HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"id": "5823594809",
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"partNumber": "SWG1224J10L",
"eccn": "EAR99",
"hsCode": "6404.20",
"countryOfOrigin": "US",
"allowOversell": false
}
{
"id": "5823594809",
"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"
},
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"countryOfOrigin": "US",
"allowOversell": false,
"liveMode": false,
"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 an inventory item. You must supply the unique identifier of the inventory item.
Inventory item 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 /inventory-items/{id} HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"id": "5823594809",
"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"
},
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"countryOfOrigin": "US",
"allowOversell": false,
"liveMode": false,
"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 an inventory item. Supply the unique identifier of the inventory item.
Inventory item 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 /inventory-items/{id} HTTP/1.1
Host: api.digitalriver.com
Accept: */*
No content
Updates an inventory item.
Inventory item identifier.
Unique Digital River manufacturer identifier.
84f18544-e6ab-44bb-b543-56c7b30fb6ca
Manufacturer part number.
SWG1224J10L
Export control classification number.
EAR99
International & US HS Code & Harmonized Tariff Code.
6404.20
An ISO 3166-1 alpha-2 country code.
US
If true, customers are allowed to reserve inventory of the item when it is out of stock.
false
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 /inventory-items/{id} HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"partNumber": "SWG1224J10L",
"eccn": "EAR99",
"hsCode": "6404.20",
"countryOfOrigin": "US",
"allowOversell": false
}
{
"id": "5823594809",
"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"
},
"manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
"eccn": "EAR99",
"hsCode": "6404.20",
"partNumber": "SWG1224J10L",
"countryOfOrigin": "US",
"allowOversell": false,
"liveMode": false,
"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"
}
}
Last updated