latestOpenAPI 3.0.12026-08-101292701.1 MB

f21981db32be

Inventory items

Creates an inventory item

Creates an inventory item.

post/inventory-items

Request body

idstring

Unique identifier of an inventory item.

manufacturerIdstring

Unique Digital River manufacturer identifier.

partNumberstring required

Manufacturer part number.

eccnstring

Export control classification number.

hsCodestring

International & US HS Code & Harmonized Tariff Code.

countryOfOriginstring

An ISO 3166-1 alpha-2 country code.

allowOversellboolean

If true, customers are allowed to reserve inventory of the item when it is out of stock.

Example request

{
  "id": "5823594809",
  "manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
  "partNumber": "SWG1224J10L",
  "eccn": "EAR99",
  "hsCode": "6404.20",
  "countryOfOrigin": "US"
}

Response

201 Created

idstring

Unique identifier of an inventory item.

createdTimestring date-time

Time when the inventory item was created.

manufacturerIdstring nullable

Unique Digital River manufacturer identifier.

eccnstring

Export control classification number.

hsCodestring

International & US HS Code & Harmonized Tariff Code.

partNumberstring

Manufacturer part number.

countryOfOriginstring

An ISO 3166-1 alpha-2 country code.

allowOversellboolean nullable

If true, customers are allowed to reserve inventory of the item when it is out of stock.

liveModeboolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

updatedTimestring date-time

Time when the inventory item was last updated.

Example response

{
  "id": "5823594809",
  "createdTime": "2018-04-25T20:36:00Z",
  "manufacturerId": "84f18544-e6ab-44bb-b543-56c7b30fb6ca",
  "eccn": "EAR99",
  "hsCode": "6404.20",
  "partNumber": "SWG1224J10L",
  "countryOfOrigin": "US",
  "updatedTime": "2018-04-25T20:36:00Z"
}