Example Code
Examples of how to use the API in different programming languages:
This is a REST API that can create orders and get product, inventory, carrier, order, and order status data.
Examples of how to use the API in different programming languages:
You can choose to use XML or JSON data. To send XML or JSON, add a "Content-Type" HTTP header set to either "application/xml" or "application/json". To receive XML or JSON, add an "Accept" HTTP header set to either "application/xml" or "application/json".
Get detailed product information.
Get product inventory information.
API | Description |
---|---|
GET api/inventory?pageNumber={pageNumber}&pageSize={pageSize}&modifiedAfter={modifiedAfter}&locationId={locationId}&sellable={sellable} |
No documentation available. |
GET api/inventory/{sku}?locationId={locationId}&sellable={sellable} |
No documentation available. |
GET api/inventory?upc={upc}&locationId={locationId}&sellable={sellable} |
No documentation available. |
GET api/inventory?manufacturerNumber={manufacturerNumber}&locationId={locationId}&sellable={sellable} |
No documentation available. |
GET api/inventory?itemIdentifier={itemIdentifier}&locationId={locationId}&sellable={sellable} |
No documentation available. |
Explore the category hierarchy
API | Description |
---|---|
GET api/categoryHierarchy |
Get the root category node |
GET api/categoryHierarchy/{id} |
Get a category node by id |
Get available carriers. A Carrier Id is required to create an order.
API | Description |
---|---|
GET api/carrier |
Get a list of all available carriers and their shipping options. An id of a shipping option is required to create an order. |
GET api/carrier?destinationCountry={destinationCountry}&destinationState={destinationState}&destinationZip={destinationZip}&weight={weight}&length={length}&width={width}&height={height} |
Get a list of carriers and their rates for their shipping options. If the rate is null it means that we were unable to calculate it with the paramters provided. |
GET api/v2/Carrier/Get/{id} |
Get a specific carrier by id. |
GET api/Carrier/{id} |
Get a specific carrier by id. |
API | Description |
---|---|
GET api/packingsliptypes |
No documentation available. |
Create new orders and view detailed order information.
View order status information
API | Description |
---|---|
GET api/orderstatus?pageNumber={pageNumber}&pageSize={pageSize}&orderedBefore={orderedBefore}&orderedAfter={orderedAfter}&shippedBefore={shippedBefore}&shippedAfter={shippedAfter}&shipToName={shipToName} |
Get order status for all orders placed during the specified date range. |
GET api/orderstatus/{orderNumber} |
Get order status for a specific order number |
GET api/orderstatus?externalOrderNumber={externalOrderNumber} |
Get order status for a specific external order number |
GET api/orderstatus?poNumber={poNumber} |
Get order status for a specific po number |
GET api/orderstatus?trackingNumber={trackingNumber} |
Get order status for a specific tracking number. |
API | Description |
---|---|
GET api/TestOrderStatus/ExternalOrderNumber/{externalOrderNumber} |
No documentation available. |
GET api/TestOrderStatus/PoNumber/{poNumber} |
No documentation available. |
GET api/TestOrderStatus/TrackingNumber/{trackingNumber} |
No documentation available. |
GET api/v2/TestOrderStatus/GetTestOrderStatuses |
No documentation available. |
GET api/v2/TestOrderStatus/GetTestOrderStatus/{id} |
No documentation available. |
PUT api/v2/TestOrderStatus/PutTestOrderStatus/{id} |
No documentation available. |
GET api/TestOrderStatus |
No documentation available. |
GET api/TestOrderStatus/{id} |
No documentation available. |
PUT api/TestOrderStatus/{id} |
No documentation available. |
API | Description |
---|---|
GET api/TestOrder/ExternalOrderNumber/{externalOrderNumber} |
No documentation available. |
GET api/TestOrder/PoNumber/{poNumber} |
No documentation available. |
GET api/TestOrder/TrackingNumber/{trackingNumber} |
No documentation available. |
GET api/TestOrder/LegacyGet |
No documentation available. |
GET api/v2/TestOrder/GetTestOrders |
No documentation available. |
GET api/v2/TestOrder/GetTestOrder/{id} |
No documentation available. |
POST api/v2/TestOrder/PostTestOrder |
No documentation available. |
PUT api/v2/TestOrder/PutTestOrder/{id} |
No documentation available. |
DELETE api/v2/TestOrder/DeleteTestOrder/{id} |
No documentation available. |
GET api/TestOrder |
No documentation available. |
GET api/TestOrder/{id} |
No documentation available. |
POST api/TestOrder |
No documentation available. |
PUT api/TestOrder/{id} |
No documentation available. |
DELETE api/TestOrder/{id} |
No documentation available. |
API | Description |
---|---|
GET api/inventoryV2?pageNumber={pageNumber}&pageSize={pageSize}&modifiedAfter={modifiedAfter}&sellable={sellable} |
No documentation available. |
GET api/inventoryV2/{sku} |
No documentation available. |
GET api/inventoryV2?upc={upc} |
No documentation available. |
GET api/inventoryV2?manufacturerNumber={manufacturerNumber} |
No documentation available. |
GET api/inventoryV2?itemIdentifier={itemIdentifier}&sellable={sellable} |
No documentation available. |