Ordoro API Documentation (1.0)

Download OpenAPI specification:Download

Introduction

The Ordoro API can be used to access data or integrate to add functionality to Ordoro. The Ordoro API uses the application/json Content-Type. The Ordoro API documentation is in beta. See our forum for questions or comments to help us improve the docs or request features.

Note: Any routes with a /v3 designation will not allow for trailing slashes while all other routes and endpoints will require a trailing slash.

Authentication

The Ordoro API uses Basic HTTP Authentication. Please create API keys via Settings->Account Settings->API Keys in app and use those for basic auth in your API requests.

Additional Resources

For a look at some code examples on how to use the API check out our github repo https://github.com/ordoro/api-examples.

API Responses

Most of our endpoints return either a list of objects or a single object instance. They share similar response shapes.

List endpoints

List endpoints respond with the following parameters:

Name Type Description
count int The total number of objects returned by a query ( not necessarily the number of objects included in a response).
limit int The maximum number of objects returned per request. Defaults to 10. Maximum is 100. You can set this as a URL parameter.
offset int The number of objects being offset in the response. May be altered as a URL Parameter.
<model name> array An array of objects. The name of the model should be singular. For example, the /v3/order endpoint will have an order parameter, as opposed to orders.

Here is an example response for the /v3/order list endpoint.

{
    "count": 2,
    "limit": 10,
    "offset" 0,
    "order": [
        {
            // an order object
        },
        {
            // another order object
        }
    ]
}

Instance endpoints

Instance endpoints return a single instance of a serialized model. /v3/order/{order_number} is an example of an instance endpoint.

Error Handling

Error responses contain the following parameters:

Name Type Description
error_message string Some human-readable error message.
param string or null The name of the corresponding parameter, or null for general errors.

Rate Limiting

API requests will be limited to 500 requests per minute. Any requests over this threshold will respond with a 429 status code.

Address

Address objects are used and referenced in Orders shipping and billing addresses, Warehouses, and Suppliers.

List Addresses

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
sort
string

Responses

Response samples

Content type
application/json
{
  • "count": 35,
  • "limit": 1,
  • "offset": 0,
  • "address": [
    ]
}

Create a new Address

Request Body schema: application/json
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
string or null
string or null
object or null (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { }
}

Response samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { }
}

Get an Address by ID

path Parameters
address_id
required
string

Responses

Response samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { }
}

Update an Address by ID

path Parameters
address_id
required
string
Request Body schema: application/json
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
validate
boolean
object (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "company": "string",
  • "street1": "string",
  • "street2": "string",
  • "city": "string",
  • "state": "string",
  • "zip": "string",
  • "country": "string",
  • "email": "string",
  • "phone": "string",
  • "validate": true,
  • "validation": {
    }
}

Response samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { }
}

Update an Order's Billing Address

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Updated fields for an order's address

string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
validate
boolean
object (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "zip": "00000"
}

Response samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "company": null,
  • "street1": "101 W 6th St",
  • "street2": "",
  • "city": "Austin",
  • "state": "TX",
  • "zip": "00000",
  • "country": "US",
  • "phone": "8675309",
  • "email": null,
  • "validation": {
    }
}

Update an Order's Shipping Address

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Updated fields for an order's address

string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
validate
boolean
object (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "zip": "00000"
}

Response samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "company": null,
  • "street1": "101 W 6th St",
  • "street2": "",
  • "city": "Austin",
  • "state": "TX",
  • "zip": "00000",
  • "country": "US",
  • "phone": "8675309",
  • "email": null,
  • "validation": {
    }
}

Update an Order's Warehouse

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Warehouse id

warehouse_id
required
integer
skip_cache
boolean
Default: false

Updates the order but does not add it to the Elasticsearch cache. Used internally during initial order processing. This will probably go away in the future.

Responses

Request samples

Content type
application/json
{
  • "warehouse_id": 1234
}

Response samples

Content type
application/json
{ }

Api Key

List API Keys

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "limit": 10,
  • "offset": 0,
  • "api_key": [
    ]
}

Create an API key

Request Body schema: application/json
name
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "client_id": "string",
  • "client_secret": "string",
  • "archive_date": "string",
  • "created": "string",
  • "updated": "string",
  • "company_id": 0,
  • "user_id": 0
}

Delete an API Key by ID

path Parameters
api_key_id
required
string

Responses

Get an API Key by ID

path Parameters
api_key_id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "client_id": "string",
  • "client_secret": "string",
  • "archive_date": "string",
  • "created": "string",
  • "updated": "string",
  • "company_id": 0,
  • "user_id": 0
}

Update an API Key by ID

path Parameters
api_key_id
required
string
Request Body schema: application/json
name
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "client_id": "string",
  • "client_secret": "string",
  • "archive_date": "string",
  • "created": "string",
  • "updated": "string",
  • "company_id": 0,
  • "user_id": 0
}

Authenticated

Check Authentication Status

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Cart

Current routes for /cart/ are sometimes interchangeably referenced as sales_channel

List carts

query Parameters
limit
integer [ 1 .. 100 ]
Default: 10
offset
integer >= 0
Default: 0
search
string
sort
string
all
boolean

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "cart": [
    ]
}

Create a new Cart

Each sales channel has unique requirements, so the schema will depend on the value of the type parameter.

Request Body schema: application/json
type
required
string

The type of cart.

name
string

The display name of this cart.

autosync_activities
Array of strings
Items Enum: "export_products_to_cart" "import_fba_inventory" "import_orders_from_cart"
selling_partner_id
required
string

Amazon Selling Partner ID

marketplace_id
required
string

Amazon marketplace ID

Responses

Request samples

Content type
application/json
Example
{
  • "type": "amazon",
  • "name": "string",
  • "autosync_activities": [
    ],
  • "selling_partner_id": "string",
  • "marketplace_id": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_display": "Amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 1,
  • "is_demo": false,
  • "worker_machinga": "string",
  • "archived_date": "string",
  • "gdpr_pii_removal_requested_date": "string",
  • "v3_migration_date": "string",
  • "default_packing_list_id": 1,
  • "prevent_write_back_settings_adjustment": true,
  • "index": 1,
  • "proxy_requests": true,
  • "cart_download_order_statuses": [
    ],
  • "autosync_activities": [ ],
  • "autosync_enabled": true
}

Get an individual cart

path Parameters
cart_id
required
integer

The ID of the cart to be retrieved

Responses

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_display": "Amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 1,
  • "is_demo": false,
  • "worker_machinga": "string",
  • "archived_date": "string",
  • "gdpr_pii_removal_requested_date": "string",
  • "v3_migration_date": "string",
  • "default_packing_list_id": 1,
  • "prevent_write_back_settings_adjustment": true,
  • "index": 1,
  • "proxy_requests": true,
  • "cart_download_order_statuses": [
    ],
  • "autosync_activities": [ ],
  • "autosync_enabled": true
}

Update a cart

Each sales channel has unique requirements, so the schema will depend on the value of the existing cart's type parameter.

path Parameters
cart_id
required
string
Request Body schema: application/json
One of
name
string

The display name of this cart.

archived_date
string

date at which time this cart is archived

gdpr_pii_removal_requested_date
string

date of the cart received a request to delete or redact its data. the request will be processed 30 days from this date

autosync_activities
Array of strings
Items Enum: "export_products_to_cart" "import_fba_inventory" "import_orders_from_cart"
selling_partner_id
string

Amazon Selling Partner ID

marketplace_id
string

Amazon marketplace ID

Responses

Request samples

Content type
application/json
Example
{
  • "name": "string",
  • "archived_date": "string",
  • "gdpr_pii_removal_requested_date": "string",
  • "autosync_activities": [
    ],
  • "selling_partner_id": "string",
  • "marketplace_id": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_display": "Amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 1,
  • "is_demo": false,
  • "worker_machinga": "string",
  • "archived_date": "string",
  • "gdpr_pii_removal_requested_date": "string",
  • "v3_migration_date": "string",
  • "default_packing_list_id": 1,
  • "prevent_write_back_settings_adjustment": true,
  • "index": 1,
  • "proxy_requests": true,
  • "cart_download_order_statuses": [
    ],
  • "autosync_activities": [ ],
  • "autosync_enabled": true
}

Get cart warehouses

path Parameters
cart_id
required
string

Responses

Get cart sync setting

path Parameters
cart_id
required
string

Responses

Delete cart sync setting

path Parameters
cart_id
required
string

Responses

Company

Get Your Company Info

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "name": "string",
  • "contact": "string",
  • "address": "string",
  • "website": "string",
  • "phone": "string",
  • "fax": "string",
  • "email": "string",
  • "billing_email": "string",
  • "currency_symbol": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "features": { },
  • "stripe_customer_id": "string",
  • "shipper_currency": "string",
  • "footer": "string",
  • "mail_sender": "string",
  • "activated": "2019-08-24T14:15:22Z",
  • "deactivated": "2019-08-24T14:15:22Z",
  • "plan": "string",
  • "pitney_rate_type": "string",
  • "autosync_frequency": "string",
  • "app_message": "string",
  • "api_locked": true,
  • "print_node": { },
  • "vendor_connect": true,
  • "payment_details": { },
  • "trusted": null
}

Update Your Company

Request Body schema: application/json
company_name
string
contact
string
address
string
website
string
phone
string
fax
string
email
string
billing_email
string
footer
string
mail_sender
string
shipper_currency
string
currency_symbol
string

Responses

Request samples

Content type
application/json
{
  • "company_name": "string",
  • "contact": "string",
  • "address": "string",
  • "website": "string",
  • "phone": "string",
  • "fax": "string",
  • "email": "string",
  • "billing_email": "string",
  • "footer": "string",
  • "mail_sender": "string",
  • "shipper_currency": "string",
  • "currency_symbol": "string"
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "name": "string",
  • "contact": "string",
  • "address": "string",
  • "website": "string",
  • "phone": "string",
  • "fax": "string",
  • "email": "string",
  • "billing_email": "string",
  • "currency_symbol": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "features": { },
  • "stripe_customer_id": "string",
  • "shipper_currency": "string",
  • "footer": "string",
  • "mail_sender": "string",
  • "activated": "2019-08-24T14:15:22Z",
  • "deactivated": "2019-08-24T14:15:22Z",
  • "plan": "string",
  • "pitney_rate_type": "string",
  • "autosync_frequency": "string",
  • "app_message": "string",
  • "api_locked": true,
  • "print_node": { },
  • "vendor_connect": true,
  • "payment_details": { },
  • "trusted": null
}

Get Company Logo

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "company_id": 0,
  • "data": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAO6SURBVGhD7Zk9aFNRGIaT0J9Y+pP0hxJa2kig1UKK0sVssZPSQR2lRXTTTTft5KRjx+LURXDs2FE3R3FyUnGqmyBKHbTxfUMOfB7e5Ny/Sgv54CnNl3PP9773nnvuuSe5VqtVOMv0DSg2NjYqMzMzT4vF4mtSKpV219bWLqu2acncwNLS0vVCofAtl8u1fGZnZ5+oY9KQqQGe+Xw+f6TEO2q12i11bFIyNTA9Pf1cibYMDw+/VccmJVMDQ0ND76zYkZGRnampqbs2RzY3N8vq+CRkasAfPuvr6yXk87gnPtt8s9k87x+blEwNWJEEkSd9Az3oG7BYkQTRNxCib8BiRRJE30CIVAb4ROUCDU/cA646rUiCkAbQ9g3bc+mR1kxiA51V56EV5oOQBix8ei8sLNxz/cYlkQGuOiFKLpktCGfgi/resrq62nD9xyGRgYmJiT0lwgfRNoAImh0YGPjohiJfhhqNxkVXrxeJDPirThTdLZfL922OINoG8P8vmx8bG3up2ls4tCqVyiNXsxuJDPjF3KrTzzPXyR/bPF4v66q9YmVl5SraSh0kEwMIJzRSHjNPVeUVoRegU2VADUUOJbSVOsh/MYD4avJ/tra2ip32P0z+uMdQlDpIbAOcQkUBJ/STyX93+cnJyTv4/BP8xll+4fKYdZ4h174/MDHsuzw/WxBSC4llAEJ2/M47BfgH/+ZuAE6ZR+Pj44+RawtyuDNs4dXw8+zTgpB6SCQDXDJwfvY7diDaBoAUFBfRv9RFIhnoduYdiLb4rBD9S10kaCDKZhVCCkmK6F9qI0EDfKzbzmDmEGub9/Yz2kkhSbH1CEJqI0EDo6Oj+7YzrIMeYgl9E8K73qxpsfUIQmojQQNYZH2wndVqtUvIZ3KzdsPWIwipjQQNIP5Z8y8vL19AXhbOCluPIKQ2EjTgT59YIV5DXhbOCluPIKQ2EjTAHydsZ9ywRV4WzgpbjyCkNhI0wP182xlnnZMa+w5bjyCkNhI0sL29fc5/DmBY7eE7WTwtnBxsLYKQ2kjQAPGfBeSk7oXFxcUrtg5nQeSlLhLJAK+C/xrJ54CbUrNkcHDwwNbhcwh5qYtEMkD4K6M/lGiCZwzfSzFx4UPS9k9CWy6RDRA1lAhnpnq93n7LigvH/Pz8fBNX+JXfL6dwtJFaHLEMkMCWSs9FXxx4taNsrcQ2QKL8GpkGbppVq9XbqrZPIgMkytZiErgLEWe/NLEBwtmJN5m/4IsLZzgOzbm5uQeqTi9SGTgNnHEDrcJfnQjmF7ZAUcwAAAAASUVORK5CYII=",
  • "name": "string",
  • "mime_type": "image/png",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z"
}

Get Company Logo by Name

path Parameters
name
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "company_id": 0,
  • "data": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAO6SURBVGhD7Zk9aFNRGIaT0J9Y+pP0hxJa2kig1UKK0sVssZPSQR2lRXTTTTft5KRjx+LURXDs2FE3R3FyUnGqmyBKHbTxfUMOfB7e5Ny/Sgv54CnNl3PP9773nnvuuSe5VqtVOMv0DSg2NjYqMzMzT4vF4mtSKpV219bWLqu2acncwNLS0vVCofAtl8u1fGZnZ5+oY9KQqQGe+Xw+f6TEO2q12i11bFIyNTA9Pf1cibYMDw+/VccmJVMDQ0ND76zYkZGRnampqbs2RzY3N8vq+CRkasAfPuvr6yXk87gnPtt8s9k87x+blEwNWJEEkSd9Az3oG7BYkQTRNxCib8BiRRJE30CIVAb4ROUCDU/cA646rUiCkAbQ9g3bc+mR1kxiA51V56EV5oOQBix8ei8sLNxz/cYlkQGuOiFKLpktCGfgi/resrq62nD9xyGRgYmJiT0lwgfRNoAImh0YGPjohiJfhhqNxkVXrxeJDPirThTdLZfL922OINoG8P8vmx8bG3up2ls4tCqVyiNXsxuJDPjF3KrTzzPXyR/bPF4v66q9YmVl5SraSh0kEwMIJzRSHjNPVeUVoRegU2VADUUOJbSVOsh/MYD4avJ/tra2ip32P0z+uMdQlDpIbAOcQkUBJ/STyX93+cnJyTv4/BP8xll+4fKYdZ4h174/MDHsuzw/WxBSC4llAEJ2/M47BfgH/+ZuAE6ZR+Pj44+RawtyuDNs4dXw8+zTgpB6SCQDXDJwfvY7diDaBoAUFBfRv9RFIhnoduYdiLb4rBD9S10kaCDKZhVCCkmK6F9qI0EDfKzbzmDmEGub9/Yz2kkhSbH1CEJqI0EDo6Oj+7YzrIMeYgl9E8K73qxpsfUIQmojQQNYZH2wndVqtUvIZ3KzdsPWIwipjQQNIP5Z8y8vL19AXhbOCluPIKQ2EjTgT59YIV5DXhbOCluPIKQ2EjTAHydsZ9ywRV4WzgpbjyCkNhI0wP182xlnnZMa+w5bjyCkNhI0sL29fc5/DmBY7eE7WTwtnBxsLYKQ2kjQAPGfBeSk7oXFxcUrtg5nQeSlLhLJAK+C/xrJ54CbUrNkcHDwwNbhcwh5qYtEMkD4K6M/lGiCZwzfSzFx4UPS9k9CWy6RDRA1lAhnpnq93n7LigvH/Pz8fBNX+JXfL6dwtJFaHLEMkMCWSs9FXxx4taNsrcQ2QKL8GpkGbppVq9XbqrZPIgMkytZiErgLEWe/NLEBwtmJN5m/4IsLZzgOzbm5uQeqTi9SGTgNnHEDrcJfnQjmF7ZAUcwAAAAASUVORK5CYII=",
  • "name": "string",
  • "mime_type": "image/png",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z"
}

Update Company Logo by Name

path Parameters
name
required
string
Request Body schema: application/json
name
string
data
string
mime_type
string

Responses

Request samples

Content type
application/json
{
  • "name": "Your Cool Company",
  • "data": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAO6SURBVGhD7Zk9aFNRGIaT0J9Y+pP0hxJa2kig1UKK0sVssZPSQR2lRXTTTTft5KRjx+LURXDs2FE3R3FyUnGqmyBKHbTxfUMOfB7e5Ny/Sgv54CnNl3PP9773nnvuuSe5VqtVOMv0DSg2NjYqMzMzT4vF4mtSKpV219bWLqu2acncwNLS0vVCofAtl8u1fGZnZ5+oY9KQqQGe+Xw+f6TEO2q12i11bFIyNTA9Pf1cibYMDw+/VccmJVMDQ0ND76zYkZGRnampqbs2RzY3N8vq+CRkasAfPuvr6yXk87gnPtt8s9k87x+blEwNWJEEkSd9Az3oG7BYkQTRNxCib8BiRRJE30CIVAb4ROUCDU/cA646rUiCkAbQ9g3bc+mR1kxiA51V56EV5oOQBix8ei8sLNxz/cYlkQGuOiFKLpktCGfgi/resrq62nD9xyGRgYmJiT0lwgfRNoAImh0YGPjohiJfhhqNxkVXrxeJDPirThTdLZfL922OINoG8P8vmx8bG3up2ls4tCqVyiNXsxuJDPjF3KrTzzPXyR/bPF4v66q9YmVl5SraSh0kEwMIJzRSHjNPVeUVoRegU2VADUUOJbSVOsh/MYD4avJ/tra2ip32P0z+uMdQlDpIbAOcQkUBJ/STyX93+cnJyTv4/BP8xll+4fKYdZ4h174/MDHsuzw/WxBSC4llAEJ2/M47BfgH/+ZuAE6ZR+Pj44+RawtyuDNs4dXw8+zTgpB6SCQDXDJwfvY7diDaBoAUFBfRv9RFIhnoduYdiLb4rBD9S10kaCDKZhVCCkmK6F9qI0EDfKzbzmDmEGub9/Yz2kkhSbH1CEJqI0EDo6Oj+7YzrIMeYgl9E8K73qxpsfUIQmojQQNYZH2wndVqtUvIZ3KzdsPWIwipjQQNIP5Z8y8vL19AXhbOCluPIKQ2EjTgT59YIV5DXhbOCluPIKQ2EjTAHydsZ9ywRV4WzgpbjyCkNhI0wP182xlnnZMa+w5bjyCkNhI0sL29fc5/DmBY7eE7WTwtnBxsLYKQ2kjQAPGfBeSk7oXFxcUrtg5nQeSlLhLJAK+C/xrJ54CbUrNkcHDwwNbhcwh5qYtEMkD4K6M/lGiCZwzfSzFx4UPS9k9CWy6RDRA1lAhnpnq93n7LigvH/Pz8fBNX+JXfL6dwtJFaHLEMkMCWSs9FXxx4taNsrcQ2QKL8GpkGbppVq9XbqrZPIgMkytZiErgLEWe/NLEBwtmJN5m/4IsLZzgOzbm5uQeqTi9SGTgNnHEDrcJfnQjmF7ZAUcwAAAAASUVORK5CYII=",
  • "mime_type": "image/png"
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "company_id": 0,
  • "data": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAO6SURBVGhD7Zk9aFNRGIaT0J9Y+pP0hxJa2kig1UKK0sVssZPSQR2lRXTTTTft5KRjx+LURXDs2FE3R3FyUnGqmyBKHbTxfUMOfB7e5Ny/Sgv54CnNl3PP9773nnvuuSe5VqtVOMv0DSg2NjYqMzMzT4vF4mtSKpV219bWLqu2acncwNLS0vVCofAtl8u1fGZnZ5+oY9KQqQGe+Xw+f6TEO2q12i11bFIyNTA9Pf1cibYMDw+/VccmJVMDQ0ND76zYkZGRnampqbs2RzY3N8vq+CRkasAfPuvr6yXk87gnPtt8s9k87x+blEwNWJEEkSd9Az3oG7BYkQTRNxCib8BiRRJE30CIVAb4ROUCDU/cA646rUiCkAbQ9g3bc+mR1kxiA51V56EV5oOQBix8ei8sLNxz/cYlkQGuOiFKLpktCGfgi/resrq62nD9xyGRgYmJiT0lwgfRNoAImh0YGPjohiJfhhqNxkVXrxeJDPirThTdLZfL922OINoG8P8vmx8bG3up2ls4tCqVyiNXsxuJDPjF3KrTzzPXyR/bPF4v66q9YmVl5SraSh0kEwMIJzRSHjNPVeUVoRegU2VADUUOJbSVOsh/MYD4avJ/tra2ip32P0z+uMdQlDpIbAOcQkUBJ/STyX93+cnJyTv4/BP8xll+4fKYdZ4h174/MDHsuzw/WxBSC4llAEJ2/M47BfgH/+ZuAE6ZR+Pj44+RawtyuDNs4dXw8+zTgpB6SCQDXDJwfvY7diDaBoAUFBfRv9RFIhnoduYdiLb4rBD9S10kaCDKZhVCCkmK6F9qI0EDfKzbzmDmEGub9/Yz2kkhSbH1CEJqI0EDo6Oj+7YzrIMeYgl9E8K73qxpsfUIQmojQQNYZH2wndVqtUvIZ3KzdsPWIwipjQQNIP5Z8y8vL19AXhbOCluPIKQ2EjTgT59YIV5DXhbOCluPIKQ2EjTAHydsZ9ywRV4WzgpbjyCkNhI0wP182xlnnZMa+w5bjyCkNhI0sL29fc5/DmBY7eE7WTwtnBxsLYKQ2kjQAPGfBeSk7oXFxcUrtg5nQeSlLhLJAK+C/xrJ54CbUrNkcHDwwNbhcwh5qYtEMkD4K6M/lGiCZwzfSzFx4UPS9k9CWy6RDRA1lAhnpnq93n7LigvH/Pz8fBNX+JXfL6dwtJFaHLEMkMCWSs9FXxx4taNsrcQ2QKL8GpkGbppVq9XbqrZPIgMkytZiErgLEWe/NLEBwtmJN5m/4IsLZzgOzbm5uQeqTi9SGTgNnHEDrcJfnQjmF7ZAUcwAAAAASUVORK5CYII=",
  • "name": "string",
  • "mime_type": "image/png",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z"
}

Get company logo by company ID and logo name

path Parameters
company_id
required
string
name
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "company_id": 0,
  • "data": "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAO6SURBVGhD7Zk9aFNRGIaT0J9Y+pP0hxJa2kig1UKK0sVssZPSQR2lRXTTTTft5KRjx+LURXDs2FE3R3FyUnGqmyBKHbTxfUMOfB7e5Ny/Sgv54CnNl3PP9773nnvuuSe5VqtVOMv0DSg2NjYqMzMzT4vF4mtSKpV219bWLqu2acncwNLS0vVCofAtl8u1fGZnZ5+oY9KQqQGe+Xw+f6TEO2q12i11bFIyNTA9Pf1cibYMDw+/VccmJVMDQ0ND76zYkZGRnampqbs2RzY3N8vq+CRkasAfPuvr6yXk87gnPtt8s9k87x+blEwNWJEEkSd9Az3oG7BYkQTRNxCib8BiRRJE30CIVAb4ROUCDU/cA646rUiCkAbQ9g3bc+mR1kxiA51V56EV5oOQBix8ei8sLNxz/cYlkQGuOiFKLpktCGfgi/resrq62nD9xyGRgYmJiT0lwgfRNoAImh0YGPjohiJfhhqNxkVXrxeJDPirThTdLZfL922OINoG8P8vmx8bG3up2ls4tCqVyiNXsxuJDPjF3KrTzzPXyR/bPF4v66q9YmVl5SraSh0kEwMIJzRSHjNPVeUVoRegU2VADUUOJbSVOsh/MYD4avJ/tra2ip32P0z+uMdQlDpIbAOcQkUBJ/STyX93+cnJyTv4/BP8xll+4fKYdZ4h174/MDHsuzw/WxBSC4llAEJ2/M47BfgH/+ZuAE6ZR+Pj44+RawtyuDNs4dXw8+zTgpB6SCQDXDJwfvY7diDaBoAUFBfRv9RFIhnoduYdiLb4rBD9S10kaCDKZhVCCkmK6F9qI0EDfKzbzmDmEGub9/Yz2kkhSbH1CEJqI0EDo6Oj+7YzrIMeYgl9E8K73qxpsfUIQmojQQNYZH2wndVqtUvIZ3KzdsPWIwipjQQNIP5Z8y8vL19AXhbOCluPIKQ2EjTgT59YIV5DXhbOCluPIKQ2EjTAHydsZ9ywRV4WzgpbjyCkNhI0wP182xlnnZMa+w5bjyCkNhI0sL29fc5/DmBY7eE7WTwtnBxsLYKQ2kjQAPGfBeSk7oXFxcUrtg5nQeSlLhLJAK+C/xrJ54CbUrNkcHDwwNbhcwh5qYtEMkD4K6M/lGiCZwzfSzFx4UPS9k9CWy6RDRA1lAhnpnq93n7LigvH/Pz8fBNX+JXfL6dwtJFaHLEMkMCWSs9FXxx4taNsrcQ2QKL8GpkGbppVq9XbqrZPIgMkytZiErgLEWe/NLEBwtmJN5m/4IsLZzgOzbm5uQeqTi9SGTgNnHEDrcJfnQjmF7ZAUcwAAAAASUVORK5CYII=",
  • "name": "string",
  • "mime_type": "image/png",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z"
}

Get raw logo image by company ID and logo name

The name parameter is the name of your company logo.

path Parameters
company_id
required
string
name
required
string

Responses

Goods Receipt

Goods Receipts are used for receiving items on a Purchase Order. You may have multiple Goods Receipts per Purchase Order and can have multiple lines and quantities of products related to the Purchase Order.

Get a list of Goods Receipts

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
status
string (status)
Enum: "deleted" "new" "partial" "received" "all"
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "goods_receipt": [
    ]
}

Create a Goods Receipt

Request Body schema: application/json
po_id
required
string
goods_receipt_id
string
required
Array of objects (Goods Receipt Item Schema) [ items ]

Responses

Request samples

Content type
application/json
{
  • "po_id": "string",
  • "goods_receipt_id": "string",
  • "received_lines": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Delete a Goods Receipt by ID

path Parameters
goods_receipt_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Get a Goods Receipt by ID

path Parameters
goods_receipt_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Update a Goods Receipt by ID

path Parameters
goods_receipt_id
required
string
Request Body schema: application/json
goods_receipt_id
string
Array of objects (Goods Receipt Item Schema) [ items ]

Responses

Request samples

Content type
application/json
{
  • "goods_receipt_id": "string",
  • "received_lines": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Create a Goods Receipt Comment by ID

path Parameters
goods_receipt_id
required
string
Request Body schema: application/json
comment
required
string

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Update a Goods Receipt Line by Goods Receipt ID and Line ID

path Parameters
goods_receipt_id
required
string
goods_receipt_item_id
required
string
Request Body schema: application/json
quantity
required
number

Responses

Request samples

Content type
application/json
{
  • "quantity": 0
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "po_id": "string",
  • "po_status": "string",
  • "goods_receipt_id": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "received": "2019-08-24T14:15:22Z",
  • "_link": "string",
  • "items": [
    ],
  • "comments": [
    ]
}

Integration

Currently Ordoro offers one type of integration to QuickBooks Online. Orders can be exported from Ordoro to QuickBooks using the integration.

Get a list of integrations

Get list of integrations - current integrations include: QuickBooks Online, Stripe

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
vendor
string (vendor)
Enum: "quickbooks" "stripe"
type
string (type)
Enum: "financial" "payment"
all
boolean

allows inclusion of archived integrations

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "integration": [
    ]
}

Create an integration

Each integration vendor has unique requirements, so the schema will depend on the value of the vendor parameter.

Request Body schema: application/json
name
string

A unique name for the integration

vendor
required
string

The type of integration.

access_token
required
string
access_token_expiration
required
string
refresh_token
required
string
realm_id
required
string
refresh_token_expiration
required
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "string",
  • "vendor": "quickbooks",
  • "access_token": "string",
  • "access_token_expiration": "string",
  • "refresh_token": "string",
  • "realm_id": "string",
  • "refresh_token_expiration": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "quickbooks",
  • "vendor_display": "QuickBooks",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 0,
  • "archived_date": "string"
}

Get an integration by ID

path Parameters
integration_id
required
string

the id of the integration to be retrieved

Responses

Response samples

Content type
application/json
Example
{
  • "vendor": "quickbooks",
  • "vendor_display": "QuickBooks",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 0,
  • "archived_date": "string"
}

Update an integration

Each integration has unique requirements, so the schema will depend on the value of the existing integration's vendor parameter.

path Parameters
integration_id
required
string
Request Body schema: application/json
One of
name
string

The display name of this cart.

archived_date
string

date of the integration to be archived

access_token
required
string
access_token_expiration
required
string
refresh_token
required
string
realm_id
required
string
refresh_token_expiration
required
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "string",
  • "archived_date": "string",
  • "access_token": "string",
  • "access_token_expiration": "string",
  • "refresh_token": "string",
  • "realm_id": "string",
  • "refresh_token_expiration": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "quickbooks",
  • "vendor_display": "QuickBooks",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "id": 0,
  • "archived_date": "string"
}

Inventory Transfer

More information about Inventory Transfers coming soon.

Label

Labels can be retrieved in a raw image format using the Label endpoints. For order specific labels refer to the Orders section.

Get raw label data by ID

Get label data as stored from the carrier in its direct raw image form or converted from PDF

path Parameters
label_id
required
string

Responses

Delete label for an order

Delete label for an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
return
boolean
Default: false

A boolean value to delete a return label or a forward shipping label

notify_cart
boolean
Default: false

A boolean value designating whether or not to notify the sales channel about the cancellation

Responses

Request samples

Content type
application/json
{
  • "return": false,
  • "notify_cart": false
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "order_number": "string",
  • "barcode": "string",
  • "order_placed_date": "string",
  • "created_date": "string",
  • "updated_date": "string",
  • "cancelled_date": "string",
  • "status": "string",
  • "shippability": "string",
  • "shipping_address": {
    },
  • "billing_address": {
    },
  • "alternate_ship_from_address": {
    },
  • "label_infos": [
    ],
  • "lines": [
    ],
  • "weight": 0,
  • "notes_from_customer": "string",
  • "internal_notes": "string",
  • "requested_shipping_method": "string",
  • "deliver_by_date": "string",
  • "ship_by_date": "string",
  • "sales_channel": {
    },
  • "warehouse": {
    },
  • "shipping_info": {
    },
  • "return_shipping_info": {
    },
  • "dropshipping_info": {
    },
  • "comments": [
    ],
  • "tags": [
    ],
  • "financial": {
    },
  • "link": "string",
  • "additional_cart_info": {
    },
  • "is_order_parent": true,
  • "parent_order_number": "string",
  • "sibling_order_numbers": [
    ],
  • "audit_label": [
    ],
  • "return_order_reference_ids": [
    ],
  • "similar_open_addresses_count": 0,
  • "allocation_status": "string",
  • "batch_reference_id": "string",
  • "batch": { },
  • "has_revision": true,
  • "revision_locked_fields": [
    ]
}

Create an Endicia USPS label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
reference
string

package level customer reference value

Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

packing_list_id
integer

id for packing list for profile template associated with this label

contents_type
string

to be deprecated in favor of higher use reason_for_export

reason_for_export
string
contents_explanation
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "None"
Enum: "None" "DeliveryConfirmation" "SignatureConfirmation" "AdultSignature" "AdultSignatureRestrictedDelivery" "RestrictedDelivery"
hold_for_pickup
boolean
insurance_type
string
Enum: "discounted_insurance" "endicia"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from address zip code

nondelivery_option
string
Default: "Return"
Enum: "Return" "Abandon"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_id
string

Identifier for a Return Order

reference_number
string

Customer supplied internal reference for the order

return
boolean
ship_date
string <date-time>
shipper_id
required
integer
shipping_method
required
string
stealth
boolean
object (v1_address)
object (v1_address)
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "reference": "string",
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "contents_type": "string",
  • "reason_for_export": "string",
  • "contents_explanation": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "None",
  • "hold_for_pickup": true,
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "nondelivery_option": "Return",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_id": "string",
  • "reference_number": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "stealth": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{}

Create a FedEx label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
alcohol_shipment_license
string
object (v1_address)
object
declared_value
number

Package level Insured Value for Fedex

reference_number
string

Package level reference, not always necessarily a number

Array of objects <= 99 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "SERVICE_DEFAULT"
Enum: "NO_SIGNATURE_REQUIRED" "INDIRECT" "DIRECT" "ADULT" "SERVICE_DEFAULT"
delivery_instructions
string
dry_ice_weight
number
Default: 0

Weight in ounces.

duties_payment_type
string
duties_payment_account
string
object
insurance_type
string
Enum: "discounted_insurance" "fedex"
insured_value
number
Default: 0
label_type
string
Enum: "STOCK_4X85_TRAILING_DOC_TAB" "STOCK_4X105_TRAILING_DOC_TAB"

FedEx: option for Tire Loss labels with doc tab

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
payment_account
string
payment_type
string
pharmacy_delivery
boolean
Default: false
priority_alert
string
Enum: "PRIORITY_ALERT" "PRIORITY_ALERT_PLUS"
reason_for_export
string
Enum: "SOLD" "NOT_SOLD" "PERSONAL_EFFECTS" "GIFT" "REPAIR_AND_RETURN" "SAMPLE"
reason_for_export_explanation
string
recipient_address_is_residential
boolean
return
boolean
saturday_delivery
boolean
Default: false
ship_date
string <date-time>
shipper_id
required
integer
shipper_type
string
shipping_method
required
string
smart_post_ancillary_endorsement
string
Enum: "ADDRESS_CORRECTION" "CARRIER_LEAVE_IF_NO_RESPONSE" "CHANGE_SERVICE" "FORWARDING_SERVICE" "RETURN_SERVICE"

Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.

smart_post_hub
string
smart_post_indicia
string
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

dangerous_goods_option
string
dangerous_goods_regulation_type
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

etd_service
boolean
Array of objects[ items ]

for referencing previously uploaded ETD for shipment label

hold_at_location
boolean
hold_at_location_id
string
certificate_of_origin
boolean

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 12345,
  • "packages": [
    ],
  • "recipient_address_is_residential": false,
  • "delivery_confirmation": "NO_SIGNATURE_REQUIRED",
  • "shipping_method": "FEDEX_GROUND"
}

Response samples

Content type
application/json
{}

Create a Pitney USPS label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
object (v1_address)
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Enum: "DelCon" "Sig" "ADSIG" "ADSIGRD" "SigRD"
insurance_type
string
Value: "discounted_insurance"
insured_value
number
mailing_zip_code
string

mailing post office zip code if different than from address zip code

non_delivery
string
Enum: "return" "abandon" "redirect"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
Array of objects[ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

packing_list_id
integer

id for packing list for profile template associated with this label

pitney_rate_type
string
rate_cost
number
reason_for_export
string
Enum: "GIFT" "COMMERCIAL_SAMPLE" "MERCHANDISE" "DOCUMENTS" "RETURNED_GOODS" "OTHER"
reason_for_export_explanation
string
object (Tax Info Schema)
reference_id
string

Identifier for a Return Order

reference_number
string
return
boolean
ship_date
string <date-time>
object (v1_address)
object (v1_address)
shipper_id
required
integer
shipping_method
required
string (Pitney Shipping Methods)
Enum: "ALL" "FCM" "PM" "PMC" "EM" "STDPOST" "PRCLSEL" "MEDIA" "LIB" "FCMI" "FCPIS" "EMI" "PMI" "UGA"

USPS service types choices. ALL returns all available rates based on box type, dimensions, and addresses. other options include [FCM - First-Class Mail, PM - Priority Mail, PMC - Priority Mail Cubic, EM - Express Mail, STDPOST - Standard Post, PRCLSEL - Parcel Select Ground, MEDIA - Media Mail, LIB - Library Mail, FCMI - First-Class Mail International, FCPIS - First-Class Package International, EMI - Priority Mail Express International, PMI - Priority Mail International]

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 99999,
  • "shipping_method": "PM",
  • "packages": [
    ],
  • "delivery_confirmation": "DelCon"
}

Response samples

Content type
application/json
{}

Create a UPS label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
additional_handling
boolean
certificate_origin
boolean
Default: false
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string

['0' - None, '1' - Confirm, '2' - Signature, '3' - Adult Signature, '4' - USPS for use with Mail Innovations]

direct_delivery
boolean
dry_ice_regulation_set
string

indicates dry ice shipment option [CFR = For HazMat regulated by US Dept of Transportation within the U.S. or ground shipments to Canada, IATA = For Worldwide Air movement]

insurance_type
string
insured_value
number
Default: 0
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
box_shape
string

ups box options [01 - UPS Letter, 02 - Customer Supplied Package, 03 - Tube, 04 - PAK, 2a - Small Express Box, 2b - Medium Express Box, 2c - Large Express Box, 24 - UPS 25KG Box, 25 - UPS 10KG Box]

declared_value
number

Package level declared value for UPS

description
string

Package level description, required for return shipments

dry_ice_weight
number

Dry ice weight in ounces, required for dry ice shipments

height
number

Height in inches

length
number

Length in inches

weight
number

weight of the package in ounces

width
number

Width in inches

Array of objects <= 200 items [ items ]
package_bill_type
string
Enum: "02" "03" "04" "07"

required for shoptimeintransit rates: document, non-document, wwef pallet, or domestic pallet. describes the contents of the package.

packing_list_id
integer

id for packing list for profile template associated with this label

payment_type
string
Default: "BillShipper"

payor for the shipment [BillShipper, BillReceiver, BillThirdParty]

payment_account
string

account number for payment type

payment_zip
string

postal code of the payor, required for payment_type: BillThirdParty

payment_country
string

2 character country code of the payor, required for payment_type: BillThirdParty

duties_payment_type
string
Default: "BillShipper"

payor for the shipment [BillShipper, BillReceiver, BillThirdParty]

duties_payment_account
string

account number for payment type

duties_payment_zip
string

postal code of the payor, required for payment_type: BillThirdParty

duties_payment_country
string

2 character country code of the payor, required for payment_type: BillThirdParty

reason_for_export
string
object (Tax Info Schema)
recipient_address_is_residential
boolean
reference_number
string

Customer supplied internal reference for the order

return
boolean
saturday_delivery
boolean
Default: false
object (Tax Info Schema)
shipper_id
required
integer
shipper_type
string
shipping_method
required
string

options: ['01' - Next Day, '02' - Second Day, '03' - Ground, '07' - Worldwide Express, '08' - Worldwide Expedited, '11' - Standard, '12' - Three Day Select, '13' - Next Day Air Saver, '14' - Next Day AM, '54' - Worldwide Express Plus, '59' - Second Day AM, '65' - Saver, '92' - SurePost Less Than 1 lb, '93' - SurePost Greater Than 1lb, '94' - SurePost BPM, '95' - SurePost Media; The following service types are used with UPS Mail Innovations: 'M2' - USPS First Class Mail, 'M3' - USPS Priority Mail, 'M4' - Expedited Mail Innovations, 'M5' - Priority Mail Innovations, 'M6' - Economy Mail Innovations]

shipper_release
boolean
object (v1_address)
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

usps_endorsement
string

Required for UPS Mail Innovations shipments

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

cost_center
string <= 30 characters

The Cost Center code for UPS Mail Innovations shipments

Responses

Request samples

Content type
application/json
{
  • "additional_handling": true,
  • "certificate_origin": false,
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "direct_delivery": true,
  • "dry_ice_regulation_set": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "box_shape": "string",
  • "declared_value": 0,
  • "description": "string",
  • "dry_ice_weight": 0,
  • "height": 0,
  • "length": 0,
  • "weight": 0,
  • "width": 0,
  • "packages": [
    ],
  • "package_bill_type": "02",
  • "packing_list_id": 0,
  • "payment_type": "BillShipper",
  • "payment_account": "string",
  • "payment_zip": "string",
  • "payment_country": "string",
  • "duties_payment_type": "BillShipper",
  • "duties_payment_account": "string",
  • "duties_payment_zip": "string",
  • "duties_payment_country": "string",
  • "reason_for_export": "string",
  • "receiver_tax_info": {
    },
  • "recipient_address_is_residential": true,
  • "reference_number": "string",
  • "return": true,
  • "saturday_delivery": false,
  • "sender_tax_info": {
    },
  • "shipper_id": 0,
  • "shipper_type": "string",
  • "shipping_method": "string",
  • "shipper_release": true,
  • "shipper_return_to_address": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "usps_endorsement": "string",
  • "warehouse_id": 0,
  • "cost_center": "string"
}

Response samples

Content type
application/json
{}

Create an Australia Post label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
box_shape
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
insurance_type
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
required
Array of objects <= 200 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

reason_for_export
string
reference_id
string

Identifier for a Return Order

reference_number
string

Package level reference, not always necessarily a number

return
boolean
service_token
string

token for rate type received for a specific shipment, required if shipment_id is included

ship_date
string
object (v1_address)
object (v1_address)
shipment_id
string

id of shipment created by easypost

shipper_id
required
integer
shipping_method
string

Service type: unused if shipment_id and service_token are present.

Responses

Request samples

Content type
application/json
{
  • "shipment_id": "ship_1234",
  • "service_token": "service_1234",
  • "packages": [
    ]
}

Response samples

Content type
application/json
{}

Create a Canada Post label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_type
string

unused with maryann carrier implementation

shipper_id
required
integer
shipping_method
required
string

Domestic - [DOM.RP - Regular Parcel, DOM.EP - Expedited Parcel, DOM.XP - Xpresspost, DOM.PC - Priority], USA - [USA.PW.ENV - Priority Worldwide Envelope USA, USA.PW.PAK - Priority Worldwide pak USA, USA.PW.PARCEL - Priority Worldwide Parcel USA, USA.XP - Xpresspost USA, USA.EP - Expedited Parcel USA, USA.SP.AIR - Small Packet USA Air, USA.TP - Tracked Packet - USA], International - [INT.IP.AIR - International Parcel Air, INT.IP.SURF International Parcel Surface, INT.PW.ENV - Priority Worldwide Envelope Int'l, INT.PW.PAK - Priority Worldwide pak Int'l, INT.PW.PARCEL - Priority Worldwide parcel Int'l, INT.XP - Xpresspost International, INT.SP.AIR - Small Packet International Air, INT.SP.SURF - Small Packet International Surface, INT.TP - Tracked Packet - International]

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

reference_id
string

Identifier for a Return Order

reference_number
string

Customer supplied internal reference for the order

reason_for_export
string
Enum: "SOG" "DOC" "SAM" "REP" "OTH"
nondelivery_option
string
Enum: "RASE" "RTS" "ABAN"
delivery_confirmation
string
Enum: "SO" "PA18" "PA19"
service_option
string
insurance_type
string
Value: "canada_post"
insured_value
number
Default: 0
invoice_number
string <= 10 characters

Used for customs information: If required by customs at the destination, the commercial invoice number.

Array of objects (Customs Line Schema) [ items ]
object (v1_address)
object (v1_address)
return
boolean
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "shipper_type": "string",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "reference_id": "string",
  • "reference_number": "string",
  • "reason_for_export": "SOG",
  • "nondelivery_option": "RASE",
  • "delivery_confirmation": "SO",
  • "service_option": "string",
  • "insurance_type": "canada_post",
  • "insured_value": 0,
  • "invoice_number": "string",
  • "customs_info": [
    ],
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": true,
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{}

Create a DHL Express label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
weight
number

Weight in ounces

length
integer

Length in inches

width
integer

Width in inches

height
integer

Height in inches

box_shape
string
Enum: "FLY" "COY" "NCY" "PAL" "DBL" "BOX"

optional box type [FLY=Flyer/Smalls - pieces that are too small, thin or light to be sorted on a standard conveyor, or for which it makes sense to group pieces into larger units for sort purposes. COY=Parcels/Conveyables - pieces that can be handled onto a system, less than 31.5 kg and up to 6060120cm. NCY=Non-conveyables - Pieces that cannot on their own be sorted on standard conveyor. PAL=Pallets - large, irregular or heavy pieces, Palletized with weight upto 1000 KG. DBL=Double Pallets - large, irregular or heavy pieces, Palletized with weight upto 1000 KG. BOX=Parcels that are conveyable have the shape of a box. Up to 70kg.]

Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

Array of objects (Customs Line Schema) [ items ]
reason_for_export
string
Default: "P"

[P - Permanent, T - Temporary, R - Re-Export] It is required for dutiable shipment.

reason_for_export_explanation
string
declared_value
number

Shipment Level Declared Value for Dutiable International Shipments

insured_value
number
insurance_type
string
Value: "dhl"
shipping_method
required
string (DHL Express Global Product Code service types)
Enum: "0" "1" "2" "3" "4" "5" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"

options: [0 - LOGISTICS SERVICES, 1 - DOMESTIC EXPRESS 12:00, 2 - B2C, 3 - B2C, 4 - JETLINE, 5 - SPRINTLINE, 7 - EXPRESS EASY, 8 - EXPRESS EASY, 9 - EUROPACK, A - AUTO REVERSALS, B - BREAKBULK EXPRESS, C - MEDICAL EXPRESS, D - EXPRESS WORLDWIDE, E - EXPRESS 9:00, F - FREIGHT WORLDWIDE, G - DOMESTIC ECONOMY SELECT, H - ECONOMY SELECT, I - DOMESTIC EXPRESS 9:00, J - JUMBO BOX, K - EXPRESS 9:00, L - EXPRESS 10:30, M - EXPRESS 10:30, N - DOMESTIC EXPRESS, O - DOMESTIC EXPRESS 10:30, P - EXPRESS WORLDWIDE, Q - MEDICAL EXPRESS, R - GLOBALMAIL BUSINESS, S - SAME DAY, T - EXPRESS 12:00, U - EXPRESS WORLDWIDE, V - EUROPACK, W - ECONOMY SELECT, X - EXPRESS ENVELOPE, Y - EXPRESS 12:00, Z - Destination Charges]

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
ship_date
string <date-time>
pickup
string <date-time>

pickup date time to schedule for the carrier

signature_service
string
Value: "SX"

signature service option. Signature services are included in international shipments. Use SX for no signature required

nonstandard_day
string
Enum: "AA" "AB" "AC" "AD" "AG"

options are [AA - Saturday Delivery, AB - Saturday Pickup, AC - Holiday Delivery, AD - Holiday Pickup, AG - Domestic Saturday Delivery]

nonstandard_contents
string
Enum: "HB" "HC" "HD" "HE" "HG" "HH" "HI" "HK" "HL" "HM" "HN" "HV" "HW" "HY"

options are [HB - Lithium Ion PI965 Section II, HC - Dry Ice UN1845, HD - Lithium Ion PI965-966 Section II, HE - Dangerous Goods, HG - Perishable Cargo, HH - Excepted Quantity, HI - Spill Cleaning, HK - Consumer Commodities, HL - Limited Quantities ADR, HM - Lithium Metal PI969 Section II, HN - ADR Load Exemption, HV - Lithium Ion PI967-Section II, HW - Lithium Metal PI970-Section II, HY - Biological UN3373]

is_dutiable
boolean
Default: true
federal_tax_id
string <= 20 characters

Mandatory for domestic shipment of country code = BR

state_tax_id
string <= 20 characters

Mandatory for domestic shipment of country code = BR

duty_payment_type
string
Default: "R"
Enum: "S" "R" "T"

Duties may be paid via Shipper [S], Recipient [R], or Third Party [T]

reference_id
string

Identifier for a Return Order

reference_number
string
object
object
object (v1_address)
object (v1_address)
return
boolean
Default: false
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

shipping_payment_type
string
Default: "S"
Enum: "S" "R" "T"

Shipping may be paid via Shipper [S], Recipient [R], or Third Party [T]

shipping_payment_account
string

Shipment bill to account

duty_payment_account
string

Duty bill to account

foreign_trade_regulation
string
Enum: "30.2(d)(2)" "30.36" "30.37(a)" "30.37(b)" "30.37(e)" "30.37(f)" "30.37(g)" "30.37(h)" "30.37(i)" "30.37(k)" "30.37(o)" "30.37(q)" "30.37(r)" "30.39" "30.40(a)" "30.40(b)" "30.40(c)" "30.40(d)"

Foreign trade regulation code

internal_transaction_number
string 14 characters

Internal transaction number provided by the US Customs AES System

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "box_shape": "FLY",
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "customs_info": [
    ],
  • "reason_for_export": "P",
  • "reason_for_export_explanation": "string",
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl",
  • "shipping_method": "0",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "pickup": "2019-08-24T14:15:22Z",
  • "signature_service": "SX",
  • "nonstandard_day": "AA",
  • "nonstandard_contents": "HB",
  • "is_dutiable": true,
  • "federal_tax_id": "string",
  • "state_tax_id": "string",
  • "duty_payment_type": "S",
  • "reference_id": "string",
  • "reference_number": "string",
  • "sender_tax_info": {
    },
  • "receiver_tax_info": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": false,
  • "warehouse_id": 0,
  • "shipping_payment_type": "S",
  • "shipping_payment_account": "string",
  • "duty_payment_account": "string",
  • "foreign_trade_regulation": "30.2(d)(2)",
  • "internal_transaction_number": "stringstringst"
}

Response samples

Content type
application/json
{}

Create a DHL ecommerce label for an order

The order_number parameter is the identifier of the order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

dangerous_goods
string
delivery_confirmation
string
Enum: "DELCON" "SIGCON"
service_endorsement
string
Enum: "1" "2" "3" "4"

1 - Address Service Requested; 2 - Forwarding Service Requested; 3 - Change Service Requested; 4 - Return Service Requested

Array of objects (Customs Line Schema) [ items ]
declared_value
number
insured_value
number
insurance_type
string
Value: "dhl_ecommerce"
shipping_method
required
string
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_id
string

Identifier for a Return Order (RMA)

reference_number
string
ship_date
string <date-time>
object (Tax Info Schema)
object (v1_address)
object (v1_address)
return
boolean
Default: false
return_reason
string

reason for return if return is true

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "dangerous_goods": "string",
  • "delivery_confirmation": "DELCON",
  • "service_endorsement": "1",
  • "customs_info": [
    ],
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl_ecommerce",
  • "shipping_method": "string",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_id": "string",
  • "reference_number": "string",
  • "ship_date": "2019-08-24T14:15:22Z",
  • "receiver_tax_info": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": false,
  • "return_reason": "string"
}

Response samples

Content type
application/json
{
  • "delivery_confirmation": null,
  • "tracking_number": "string",
  • "package_tracking": "string",
  • "tracking_url": "string",
  • "cost": 0,
  • "transaction_fee": 0,
  • "link": "string",
  • "shipping_method": "string",
  • "display_shipping_method": "string",
  • "ship_date": "string",
  • "has_label": true,
  • "has_additional_docs": true,
  • "created_date": "string",
  • "carrier_name": "string",
  • "carrier": { },
  • "estimated_delivery_date": "string",
  • "box_shape": "string",
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "insurance": { },
  • "insured_value": 0,
  • "customs_info": [ ],
  • "ship_from": {
    },
  • "reference_number": "string",
  • "return_to": {
    },
  • "ship_to": {
    },
  • "status": "string",
  • "carrier_updated_date": "string",
  • "presets": [
    ],
  • "packages": [ ],
  • "packing_list_id": 0,
  • "print_date": "string",
  • "label_image_link": "string",
  • "void": true,
  • "zone": "string"
}

Get labels

Get labels for each order number passed in to the o parameter

query Parameters
o
required
any

The Order number. To retrieve multiple labels, pass in multiple "o" params

pdf_type
required
any

Specify the type of PDF label. Can be one of [additional_docs, canada_pdf, multi_page, single_page]

size
required
any

Set predefined or custom sizes. Can be one of [desktop, thermal, custom]

page_width
any

The page width in inches

page_height
any

The page height in inches

page_top_margin
any

The top margin in inches

page_left_margin
any

The left margin in inches

label_width
any

The label width, within the page, in inches

label_height
any

The label height, within the page, in inches

label_orientation
any

The label orientation. Can be one of [portrait, landscape]

label_rotation
any

The degree of rotation for the label. Can be one of [0, 90, 180, 270]

return
any

Get a return label or a forward label based on this boolean field

Responses

Response samples

Content type
application/json
{
  • "error_message": "string",
  • "params": "string"
}

Order

Orders are the main level of management in Ordoro. Orders have lines, warehouse associations and can be dropshipped or have labels created for them.

Get order status counts

Responses

Response samples

Content type
application/json
{
  • "awaiting_fulfillment": 3,
  • "cancelled": 0,
  • "dropshipment_requested": 0,
  • "shipped": 0,
  • "all": 3
}

Get parent order information

A parent order is left after an order is split, this information is view-only.

path Parameters
parent_order_number
required
any

A parent order number

Responses

Response samples

Content type
application/json
{
  • "order_number": "string",
  • "order_placed_date": "string",
  • "created_date": "string",
  • "updated_date": "string",
  • "status": "string",
  • "shippability": "string",
  • "shipping_address": {
    },
  • "billing_address": {
    },
  • "alternate_ship_from_address": {
    },
  • "lines": [
    ],
  • "notes_from_customer": "string",
  • "internal_notes": "string",
  • "requested_shipping_method": "string",
  • "sales_channel": {
    },
  • "comments": [
    ],
  • "tags": [
    ],
  • "financial": {
    },
  • "link": "string",
  • "child_order_numbers": [
    ],
  • "ready": true
}

Get a list of orders

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
barcode
string

will return an order with a matching barcode regardless of other filters

status
string
Enum: "all" "awaiting_fulfillment" "shipped" "cancelled" "dropshipment_requested"

can be one of [all, awaiting_fulfillment, dropshipment_requested, shipped, cancelled]

allocation_status
string
Enum: "could_not_allocate" "unallocated" "partial" "allocated" "overallocated"

can be one of [could_not_allocate, unallocated, could_not_allocate, partial, allocated]

allocatable
boolean
sales_channel
Array of integers[ items ]
cart_order_id
string
warehouse_id
Array of integers[ items ]
supplier
Array of integers[ items ]
shipper
Array of integers[ items ]
tag
Array of strings
untagged
string

filter the results to only orders that have no tags

sku
Array of strings
printed
string

including this parameter will filter the results to only orders that have labels that have been printed

has_similar_open_addresses
boolean
similar_address_to
string
ship_to_is_bill_to
boolean
ship_to_country
Array of strings
ship_to_status
string
Enum: "error" "unvalidated" "shipped" "cancelled" "validated"

can be one of [error, unvalidated, validated]

created_after
string
created_before
string
created_interval_type
string
created_interval_amount
number
created_interval_trunc
boolean
updated_after
string
updated_before
string
updated_interval_type
string
updated_interval_amount
number
updated_interval_trunc
boolean
order_placed_after
string
order_placed_before
string
order_placed_interval_type
string
order_placed_interval_amount
number
order_placed_interval_trunc
boolean
shipped_after
string
shipped_before
string
shipped_interval_type
string
shipped_interval_amount
number
shipped_interval_trunc
boolean
dropshipped_after
string
dropshipped_before
string
dropshipped_interval_type
string
dropshipped_interval_amount
number
dropshipped_interval_trunc
boolean
deliver_by_after
string
deliver_by_before
string
deliver_by_interval_type
string
deliver_by_interval_amount
number
deliver_by_interval_trunc
boolean
ship_by_after
string
ship_by_before
string
ship_by_interval_type
string
ship_by_interval_amount
number
ship_by_interval_trunc
boolean
cancelled_after
string
cancelled_before
string
cancelled_interval_type
string
cancelled_interval_amount
number
cancelled_interval_trunc
boolean
timezone
string
sort
string
Enum: "batch" "-batch" "order_placed_date" "-order_placed_date" "grand_total" "-grand_total" "order_number" "-order_number" "created_date" "-created_date" "updated_date" "-updated_date" "ship_date" "-ship_date" "dropship_date" "-dropship_date" "deliver_by_date" "-deliver_by_date" "ship_by_date" "-ship_by_date" "cancelled_date" "-cancelled_date" "shipping_method" "-shipping_method" "status" "-status" "billing_address_name" "-billing_address_name" "billing_address_zip" "-billing_address_zip" "shipping_address_name" "-shipping_address_name" "shipping_address_zip" "-shipping_address_zip" "sku" "-sku"

can be one of [(-)batch, (-)order_placed_date, (-)grand_total, (-)order_number, (-)created_date, (-)updated_date, (-)ship_date, (-)dropship_date, (-)deliver_by_date, (-)ship_by_date, (-)cancelled_date, (-)shipping_method, (-)status, (-)billing_address_name, (-)billing_address_zip, (-)shipping_address_name, (-)shipping_address_zip, (-)sku]

tag_filter_by
string
exclude_tags
Array of strings
batch_reference_id
string
has_revision
boolean
in_batch
boolean
carrier_error
boolean
batch_error
boolean

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Create an Order

Request Body schema: application/json

A legacy Order object

integer or null

id for cart

order_id
required
string

User defined identifier for an order. Will be prepended with a cart or sales channel index after creation

cart_order_id
string

distinct order id from cart or marketplace, useful when syncing tracking information back from Ordoro

warehouse_id
integer
order_date
string <date-time>
deliver_by_date
string <date-time>
ship_by_date
string <date-time>
status
string
Enum: "awaiting_fulfillment" "shipped"
shipping_type
string
notes_from_customer
string
internal_notes
string
product_amount
number
shipping_amount
number
tax_amount
number
grand_total
number
discount_amount
number
cart_shipment_id
string
credit_card_issuer
string
Array of objects[ items ]
required
object (v1_address)
required
object (v1_address)
object (v1_address)
required
Array of objects (Core API Order Line Schema) [ items ]
object

Responses

Request samples

Content type
application/json
{
  • "order_id": "i-want-my-order-1234",
  • "cart": 100,
  • "cart_order_id": "this-is-from-the-cart-1234",
  • "order_date": "2015-12-09T12:01:00.855700",
  • "shipping_address": {
    },
  • "billing_address": {
    },
  • "lines": [
    ],
  • "tags": [
    ],
  • "product_amount": 100.1,
  • "tax_amount": 1.23,
  • "grand_total": 123.45
}

Response samples

Content type
application/json
{
  • "updated_date": "2015-12-09T14:48:06.372425-06:00",
  • "status": "new",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": { },
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-09T13:37:36.884178-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Retrieve an Order

Example Request GET /order/M-order-1234

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Update an Order's information

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
notes_from_customer
string

Customer notes

internal_notes
string

Staff notes

batch_reference_id
string

Batch ID

Responses

Request samples

Content type
application/json
{
  • "weight": 10.5
}

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 10.5,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Cancel an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2015-12-17T19:08:46.876495-06:00",
  • "status": "cancelled",
  • "notes_from_customer": "None",
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": "None",
  • "tags": [
    ],
  • "shipping_info": { },
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-09T13:37:36.884178-06:00",
  • "warehouse": {
    },
  • "order_number": "my-order-13",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Uncancel an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2015-12-17T19:08:46.876495-06:00",
  • "status": "awaiting_fulfillment",
  • "notes_from_customer": "None",
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": "None",
  • "tags": [
    ],
  • "shipping_info": { },
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-09T13:37:36.884178-06:00",
  • "warehouse": {
    },
  • "order_number": "my-order-13",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Update an Order's financial information

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
string or null
number or null

Not calculated

number or null

Not calculated

number or null

Not calculated

number or null

Not calculated

number or null

Not calculated

Responses

Request samples

Content type
application/json
{
  • "grand_total": 123.45,
  • "tax_amount": 1.23,
  • "product_amount": 100.1,
  • "shipping_amount": 0,
  • "credit_card_issuer": "Veeza",
  • "discount_amount": 0
}

Response samples

Content type
application/json
{
  • "grand_total": 123.45,
  • "tax_amount": 1.23,
  • "product_amount": 100.1,
  • "shipping_amount": 0,
  • "credit_card_issuer": "Veeza",
  • "discount_amount": 0
}

Delete an Order's Shipping Information

Delete shipping_info from an order, changing order status to awaiting_fulfillment

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "order_number": "string",
  • "barcode": "string",
  • "order_placed_date": "string",
  • "created_date": "string",
  • "updated_date": "string",
  • "cancelled_date": "string",
  • "status": "string",
  • "shippability": "string",
  • "shipping_address": {
    },
  • "billing_address": {
    },
  • "alternate_ship_from_address": {
    },
  • "label_infos": [
    ],
  • "lines": [
    ],
  • "weight": 0,
  • "notes_from_customer": "string",
  • "internal_notes": "string",
  • "requested_shipping_method": "string",
  • "deliver_by_date": "string",
  • "ship_by_date": "string",
  • "sales_channel": {
    },
  • "warehouse": {
    },
  • "shipping_info": {
    },
  • "return_shipping_info": {
    },
  • "dropshipping_info": {
    },
  • "comments": [
    ],
  • "tags": [
    ],
  • "financial": {
    },
  • "link": "string",
  • "additional_cart_info": {
    },
  • "is_order_parent": true,
  • "parent_order_number": "string",
  • "sibling_order_numbers": [
    ],
  • "audit_label": [
    ],
  • "return_order_reference_ids": [
    ],
  • "similar_open_addresses_count": 0,
  • "allocation_status": "string",
  • "batch_reference_id": "string",
  • "batch": { },
  • "has_revision": true,
  • "revision_locked_fields": [
    ]
}

Update an Order's shipping information

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
tracking_number
required
string
package_tracking
string
cost
number
ship_date
required
string <date-time>
display_shipping_method
string
shipping_cost
number
shipping_method
string
carrier_name
required
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
notify_cart
boolean
Default: false
tracking_url
string
string or null

Responses

Request samples

Content type
application/json
{
  • "tracking_number": "1234-lkjd",
  • "cost": 7,
  • "ship_date": "2016-03-07T06:06:06.123456-06:00",
  • "shipping_method": "rail",
  • "carrier_name": "DHL",
  • "notify_bill_to": false,
  • "notify_ship_to": true,
  • "notify_cart": true
}

Response samples

Content type
application/json
{
  • "shipping_method": "rail",
  • "ship_date": "2016-03-07T06:06:06.123456-06:00",
  • "created_date": "2016-01-06T16:01:00.284745-06:00",
  • "tracking_number": "1234-lkjd",
  • "cost": 7,
  • "tracking_url": null,
  • "has_label": false,
  • "carrier_name": "DHL",
  • "carrier": null,
  • "box_shape": null,
  • "length": null,
  • "width": null,
  • "height": null
}

Add Shipping Information to an Order

Add Shipping Information to an Order and Mark it as Shipped

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
tracking_number
required
string
package_tracking
string
cost
number
ship_date
required
string <date-time>
display_shipping_method
string
shipping_cost
number
shipping_method
string
carrier_name
required
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
notify_cart
boolean
Default: false
tracking_url
string
string or null

Responses

Request samples

Content type
application/json
{
  • "tracking_number": "1234-lkjd",
  • "cost": 7,
  • "ship_date": "2016-03-07T06:06:06.123456-06:00",
  • "shipping_method": "rail",
  • "carrier_name": "DHL",
  • "notify_bill_to": false,
  • "notify_ship_to": true,
  • "notify_cart": true
}

Response samples

Content type
application/json
{
  • "shipping_method": "rail",
  • "ship_date": "2016-03-07T06:06:06.123456-06:00",
  • "created_date": "2016-01-06T16:01:00.284745-06:00",
  • "tracking_number": "1234-lkjd",
  • "cost": 7,
  • "tracking_url": null,
  • "has_label": false,
  • "carrier_name": "DHL",
  • "carrier": null,
  • "box_shape": null,
  • "length": null,
  • "width": null,
  • "height": null
}

Mark an order with a label as printed

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Add a preset to an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

preset_id
required
any

Responses

Response samples

Content type
application/json
{
  • "presets": [
    ]
}

Remove a preset from an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

preset_id
required
any

Responses

Response samples

Content type
application/json
{
  • "presets": [
    ]
}

Add a preset to an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

preset_id
required
any

Responses

Response samples

Content type
application/json
{
  • "presets": [
    ]
}

Remove a preset from an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

preset_id
required
any

Responses

Response samples

Content type
application/json
{
  • "presets": [
    ]
}

Split an Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
required
Array of objects >= 2 items [ items ]

Responses

Request samples

Content type
application/json
{
  • "split_orders": [
    ]
}

Response samples

Content type
application/json
[
  • "string",
  • "string"
]

Mark an order as shipped

This allows you to set an order status to shipped without adding tracking info or notifying cart

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Mark an order as dropshipped

This allows you to set the status of an Order to dropshipment_requested

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
supplier_id
required
integer
string or null
shipping_account
string
shipping_carrier
string
instructions
string
show_price
boolean
Default: false
show_ship_to_email
boolean
Default: false
packing_list_id
integer
override_shipping_mappings
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "supplier_id": 1234
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "order_number": "string",
  • "barcode": "string",
  • "order_placed_date": "string",
  • "created_date": "string",
  • "updated_date": "string",
  • "cancelled_date": "string",
  • "status": "string",
  • "shippability": "string",
  • "shipping_address": {
    },
  • "billing_address": {
    },
  • "alternate_ship_from_address": {
    },
  • "label_infos": [
    ],
  • "lines": [
    ],
  • "weight": 0,
  • "notes_from_customer": "string",
  • "internal_notes": "string",
  • "requested_shipping_method": "string",
  • "deliver_by_date": "string",
  • "ship_by_date": "string",
  • "sales_channel": {
    },
  • "warehouse": {
    },
  • "shipping_info": {
    },
  • "return_shipping_info": {
    },
  • "dropshipping_info": {
    },
  • "comments": [
    ],
  • "tags": [
    ],
  • "financial": {
    },
  • "link": "string",
  • "additional_cart_info": {
    },
  • "is_order_parent": true,
  • "parent_order_number": "string",
  • "sibling_order_numbers": [
    ],
  • "audit_label": [
    ],
  • "return_order_reference_ids": [
    ],
  • "similar_open_addresses_count": 0,
  • "allocation_status": "string",
  • "batch_reference_id": "string",
  • "batch": { },
  • "has_revision": true,
  • "revision_locked_fields": [
    ]
}

Get dropship request for an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
supplier_id
required
integer
string or null
shipping_account
string
shipping_carrier
string
instructions
string
show_price
boolean
Default: false
show_ship_to_email
boolean
Default: false
packing_list_id
integer
override_shipping_mappings
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "supplier_id": 0,
  • "shipping_method": "string",
  • "shipping_account": "string",
  • "shipping_carrier": "string",
  • "instructions": "string",
  • "show_price": false,
  • "show_ship_to_email": false,
  • "packing_list_id": 0,
  • "override_shipping_mappings": false
}

Response samples

Content type
application/json
"string"

Create dropship request for an order

When an order is drop shipped, an email may be sent to the assigned supplier.

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
supplier_id
required
integer
string or null
shipping_account
string
shipping_carrier
string
instructions
string
show_price
boolean
Default: false
show_ship_to_email
boolean
Default: false
packing_list_id
integer
override_shipping_mappings
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "supplier_id": 0,
  • "shipping_method": "string",
  • "shipping_account": "string",
  • "shipping_carrier": "string",
  • "instructions": "string",
  • "show_price": false,
  • "show_ship_to_email": false,
  • "packing_list_id": 0,
  • "override_shipping_mappings": false
}

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "dropshipment_requested",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": "Standard",
  • "tags": [
    ],
  • "shipping_info": { },
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": {
    },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": { },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Process dropshipments for an Order

Processing an order for drop shipping automatically may split an order based on it's order lines' supplier and product's automatic dropship status. An email may also be sent to a supplier using this method.

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Responses

Response samples

Content type
application/json
[
  • "string",
  • "string"
]

Update an Order's Billing Address

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Updated fields for an order's address

string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
validate
boolean
object (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "zip": "00000"
}

Response samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "company": null,
  • "street1": "101 W 6th St",
  • "street2": "",
  • "city": "Austin",
  • "state": "TX",
  • "zip": "00000",
  • "country": "US",
  • "phone": "8675309",
  • "email": null,
  • "validation": {
    }
}

Update an Order's Shipping Address

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Updated fields for an order's address

string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
validate
boolean
object (Validation status of an Address)

Responses

Request samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "zip": "00000"
}

Response samples

Content type
application/json
{
  • "name": "Tommy Tutone",
  • "company": null,
  • "street1": "101 W 6th St",
  • "street2": "",
  • "city": "Austin",
  • "state": "TX",
  • "zip": "00000",
  • "country": "US",
  • "phone": "8675309",
  • "email": null,
  • "validation": {
    }
}

Update an Order's Warehouse

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

Warehouse id

warehouse_id
required
integer
skip_cache
boolean
Default: false

Updates the order but does not add it to the Elasticsearch cache. Used internally during initial order processing. This will probably go away in the future.

Responses

Request samples

Content type
application/json
{
  • "warehouse_id": 1234
}

Response samples

Content type
application/json
{ }

Add a comment to an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json

The text you want to add to the order comment

comment
required
string

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
[
  • {
    }
]

Add an Order Line

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
quantity
integer
Default: 1
item_price
number
total_price
number
discount_amount
number
product_name
string
product_serial_numbers
Array of strings
sku
required
string
details
string
integer or null
cart_orderitem_id
string
cart_order_id
string
cart_shipment_id
string

Responses

Request samples

Content type
application/json
{
  • "sku": "phil-collins-skuskudio",
  • "quantity": 1,
  • "item_price": 1.23
}

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Update an Order Line

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

order_line_id
required
any

Id of the order line

Request Body schema: application/json
quantity
integer
item_price
number
total_price
number
discount_amount
number
string or null
product_serial_numbers
Array of strings

Responses

Request samples

Content type
application/json
{
  • "quantity": 3,
  • "item_price": 3.5,
  • "details": "Size:Small"
}

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Delete an Order Line

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

order_line_id
required
any

Id of the order line

Responses

Response samples

Content type
application/json
{
  • "updated_date": "2016-02-01T17:27:24.059091-06:00",
  • "status": "shipped",
  • "shippability": "shippable",
  • "notes_from_customer": null,
  • "billing_address": {
    },
  • "financial": {
    },
  • "requested_shipping_method": null,
  • "tags": [
    ],
  • "shipping_info": {},
  • "weight": 3,
  • "shipping_address": {
    },
  • "lines": [
    ],
  • "cart": {
    },
  • "dropshipping_info": { },
  • "order_placed_date": "2015-12-09T06:01:00.855700-06:00",
  • "return_shipping_info": { },
  • "created_date": "2015-12-15T11:35:46.284745-06:00",
  • "warehouse": {
    },
  • "order_number": "M-order-1234",
  • "barcode": "148191668853950",
  • "comments": [ ],
  • "link": "/order/M-order-1234"
}

Add a tag to an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

tag_id
required
any

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Remove tag from order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

tag_id
required
any

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List Order Tags

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10

Responses

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Create an Order Tag

Request Body schema: application/json
name
required
string
color
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Get an Order Tag By Name

Request Body schema: application/json
Any of
limit
integer [ 1 .. 100 ]
Default: 10
offset
integer
Default: 0

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Update an Order Tag

Request Body schema: application/json
name
string
color
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Delete an Order Tag

Responses

Manufacturing Order

Manufacturing Orders are used for creating and tracking Bill of Material orders. A Manufacturing Order is assigned to a warehouse and may have multiple lines and tags.

List Manufacturing Orders

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
any (manufacturing_order_sort)
Enum: "reference_id" "-reference_id" "status" "-status" "warehouse_name" "-warehouse_name" "created_date" "-created_date" "updated_date" "-updated_date"
status
string (manufacturing_order_status)
Enum: "cancelled" "initiated" "active" "finished"
tag
Array of strings

Filter by tag name. Can be repeated for multiple tags.

Note: Cannot be included if untagged is also passed.

tag_filter_by
string

Tag filtering logic:

  • or [default] return manufacturing orders that contain any of the supplied tags
  • and returns manufacturing orders containing ALL of the supplied tags
  • only returns manufacturing orders containing ONLY the supplied tags
  • not returns manufacturing orders that do not contain one or more of the supplied tags
untagged
boolean

Filter untagged manufacturing orders

Note: Cannot be included if tags are also passed.

reference_id
Array of strings
warehouse_id
Array of integers[ items ]

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "manufacturing_order": [
    ]
}

Create a Manufacturing Order

Request Body schema: application/json
reference_id
required
string
warehouse_id
integer
string or null
string or null
Array of objects[ items ]

Responses

Request samples

Content type
application/json
{
  • "reference_id": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ]
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Get Manufacturing Order by ID

Responses

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Update Manufacturing Order by ID

Request Body schema: application/json
status
string
Enum: "initiated" "active" "finished" "cancelled"
manufacturer_notes
string
internal_notes
string
warehouse_id
integer

Responses

Request samples

Content type
application/json
{
  • "status": "initiated",
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Get Manufacturing Order Counts

Request Body schema: application/json
group_by
Array of strings
Items Enum: "warehouse_id" "status"

Responses

Request samples

Content type
application/json
{
  • "group_by": [
    ]
}

Create a Manufacturing Order Tag

Request Body schema: application/json
name
required
string
color
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Get Manufacturing Order Tags

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Get Manufacturing Order Tag by Name

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Update a Manufacturing Order Tag by Name

Request Body schema: application/json
name
string
color
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Delete a Manufacturing Order Tag by Name

Responses

Apply a Manufacturing Order Tag to Manufacturing Order

Responses

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Remove a Manufacturing Order Tag from a Manufacturing Order

Responses

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Create a Manufacturing Order Comment by MO ID

Request Body schema: application/json
comment
required
string

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Create a Manufacturing Order line

Request Body schema: application/json
sku
required
string
requested_quantity
number
string or null
string or null

Responses

Request samples

Content type
application/json
{
  • "sku": "string",
  • "requested_quantity": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string"
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Update a Manufacturing Order line

Request Body schema: application/json
requested_quantity
number
finished_quantity
number
string or null
string or null

Responses

Request samples

Content type
application/json
{
  • "requested_quantity": 0,
  • "finished_quantity": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string"
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Remove a Manufacturing Order line from Manufacturing Order

Responses

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Mark a Manufacturing Order line as finished

Request Body schema: application/json
amount
required
integer

Responses

Request samples

Content type
application/json
{
  • "amount": 0
}

Response samples

Content type
application/json
{
  • "reference_id": "string",
  • "status": "string",
  • "warehouse_id": 0,
  • "manufacturer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ],
  • "comments": [
    ],
  • "tags": [
    ],
  • "created_date": "string",
  • "updated_date": "string"
}

Packing List

A company or account may have multple packing list formats to be saved, retrieved and used for printing Order information.

Get a list of packing lists

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
packing_list_id
string

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "packing_list": [
    ]
}

Create a packing list

Request Body schema: application/json
name
required
string
custom_text
string
email
string
phone
string
website
string
footer
string
return_email_subject
string
return_email_content
string
ship_from_alias_name
string
customer_notes_label
string
is_default
boolean
logo_hash
string
object

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "is_default": true,
  • "logo_hash": "string",
  • "logo": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "is_default": true,
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "logo_hash": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "archived_date": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "_linklogo": "string",
  • "_link": "string"
}

Delete a packing list by ID

path Parameters
packing_list_id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "is_default": true,
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "logo_hash": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "archived_date": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "_linklogo": "string",
  • "_link": "string"
}

Get a packing list by ID

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "is_default": true,
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "logo_hash": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "archived_date": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "_linklogo": "string",
  • "_link": "string"
}

Update a packing list by ID

path Parameters
packing_list_id
required
string
Request Body schema: application/json
name
string
custom_text
string
email
string
phone
string
website
string
footer
string
return_email_subject
string
return_email_content
string
ship_from_alias_name
string
customer_notes_label
string
logo_hash
string
object

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "logo_hash": "string",
  • "logo": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "is_default": true,
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "logo_hash": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "archived_date": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "_linklogo": "string",
  • "_link": "string"
}

Make a Packing List the Default by ID

Set this packing list as the default

path Parameters
packing_list_id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "is_default": true,
  • "custom_text": "string",
  • "email": "string",
  • "phone": "string",
  • "website": "string",
  • "footer": "string",
  • "logo_hash": "string",
  • "return_email_subject": "string",
  • "return_email_content": "string",
  • "ship_from_alias_name": "string",
  • "customer_notes_label": "string",
  • "archived_date": "string",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "_linklogo": "string",
  • "_link": "string"
}

Postage Account

Methods for retrieving postage account information to be used with USPS carriers.

Get balance for postage account

Responses

Response samples

Content type
application/json
{
  • "balance": 888
}

Add funds to postage account

This charges the company card on file with stripe and adds to the balance allowable for creating postage labels via USPS Pitney Bowes.

Request Body schema: application/json
amount
required
number <double>
description
required
string

Responses

Request samples

Content type
application/json
{
  • "amount": 42,
  • "description": "add funds for postage, low balance"
}

Response samples

Content type
application/json
{
  • "balance": 888
}

Preset

Product

List Products

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string (sort)
Enum: "name" "-name" "sku" "-sku" "created" "-created" "default_supplier" "-default_supplier" "total_committed" "-total_committed" "total_available" "-total_available" "total_on_hand" "-total_on_hand" "po_total_committed" "-po_total_committed"
fba
boolean

Filter products by sales channel FBA (Fulfilled By Amazon) status. This is only applicable for products tied to at least one Amazon sales channel.

  • true will include any products that are considred FBA by at least one sales channel
  • false will exclude any products that are considred FBA by at least one sales channel
fbm
boolean

Filter products by sales channel FBM (Fulfilled By Merchant) status. This is only applicable for products tied to at least one Amazon sales channel.

  • true will include any products that are considred FBM by at least one sales channel
  • false will exclude any products that are considred FBM by at least one sales channel
category
string

Filter by product category.

hs_code
string

Filter by product Harmonized System Code.

active
boolean

Filter by active true or inactive false products.

kit
boolean

Filter products that are true or are not false kit parents.

kit_component
boolean

Filter products that are true or are not false kit components.

dropship
boolean

Filter by dropship status.

  • true will return products that are either dropshippable or automatically dropshipped
  • false will return only products handled in house
needs_sync
boolean

Filter products who do true or do not false need have their inventory synced with one or more sales channels.

supplier
Array of integers[ items ]

Filter by supplier id.

Notes: The default behavior of this param is to filter by the product's assigned suppliers. However, if reordered=true is also passed, then this param will filter products that are listed on PO's assigned to the included supplier id.

sales_channel
Array of integers[ items ]

Filter by sales channel id. Can be repeated for multiple sales channels.

low_inventory
boolean

Filter products with true or without false low inventory.

to_be_shipped
boolean

Filter products with true or without false committed inventory.

oversold
boolean

Filter products that are true or are not false oversold.

reordered
boolean

Filter products that are true or are not false reordered. Can be refined by also including the warehouse_id param.

overallocated
boolean

Filter products that are true or are not false overallocated. Can be refined by also including the warehouse_id param.

tag
Array of strings

Filter by tag name. Can be repeated for multiple tags.

Note: Cannot be included if untagged is also passed.

untagged
boolean

Filter untagged products

Note: Cannot be included if tags are also passed.

tag_filter_by
string (tag_filter_by)
Enum: "or" "and" "only" "not"

Tag filtering logic:

  • or [default] return products that contain any of the supplied tags
  • and returns products containing ALL of the supplied tags
  • only returns products containing ONLY the supplied tags
  • not returns products that do not contain one or more of the supplied tags
warehouse_id
Array of integers[ items ]

Filter by warehouse id. Can be repeated for multiple warehouses.

updated_after
string <date-time>

Filter products updated after this date

updated_before
string <date-time>

Filter products updated before this date

cart
integer
Deprecated

Deprecated. Use sales_channel instead.

Responses

Response samples

Content type
application/json
{
  • "limit": 1,
  • "offset": 0,
  • "count": 46,
  • "products": [
    ]
}

Create a Product

Request Body schema: application/json
One of
object (Amazon Extra Info Schema)
sku
required
string
name
required
string
category
string
hs_code
string
country_of_origin
string
customs_description
string
price
number
weight
number
length
integer
width
integer
height
integer
taxable
string
cost
number
type
string
upc
string
asin
string
internal_notes
string
on_hand
number
location_in_warehouse
string
low_stock_threshold
number
out_of_stock_threshold
number
cart
integer
sync
boolean
original_sku
string
variant_sku
string
inventory_changed
boolean
max_export_qty
integer
Array of objects (Product Image Schema) [ items ]
Array of objects (V3 Tag Schema) [ items ]
property name*
any

Responses

Request samples

Content type
application/json
Example
{
  • "amazon_extra_info": {
    },
  • "sku": "string",
  • "name": "string",
  • "category": "string",
  • "hs_code": "string",
  • "country_of_origin": "string",
  • "customs_description": "string",
  • "price": 0,
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "taxable": "string",
  • "cost": 0,
  • "type": "string",
  • "upc": "string",
  • "asin": "string",
  • "internal_notes": "string",
  • "on_hand": 0,
  • "location_in_warehouse": "string",
  • "low_stock_threshold": 0,
  • "out_of_stock_threshold": 0,
  • "cart": 0,
  • "sync": true,
  • "original_sku": "string",
  • "variant_sku": "string",
  • "inventory_changed": true,
  • "max_export_qty": 0,
  • "images": [
    ],
  • "tags": [
    ]
}

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Get a product by SKU

path Parameters
sku
required
string

Responses

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Update a product by SKU

Update a product by SKU.

path Parameters
sku
required
string
Request Body schema: application/json
One of
object (Amazon Extra Info Schema)
name
string
category
string
hs_code
string
country_of_origin
string
customs_description
string
price
number
weight
number
length
integer
width
integer
height
integer
taxable
string
cost
number
type
string
upc
string
asin
string
internal_notes
string
cart
integer
sync
boolean
original_sku
string
variant_sku
string
inventory_changed
boolean
max_export_qty
integer
Array of objects (Product Image Schema) [ items ]
Array of objects (V3 Tag Schema) [ items ]
property name*
any

Responses

Request samples

Content type
application/json
Example
{
  • "amazon_extra_info": {
    },
  • "name": "string",
  • "category": "string",
  • "hs_code": "string",
  • "country_of_origin": "string",
  • "customs_description": "string",
  • "price": 0,
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "taxable": "string",
  • "cost": 0,
  • "type": "string",
  • "upc": "string",
  • "asin": "string",
  • "internal_notes": "string",
  • "cart": 0,
  • "sync": true,
  • "original_sku": "string",
  • "variant_sku": "string",
  • "inventory_changed": true,
  • "max_export_qty": 0,
  • "images": [
    ],
  • "tags": [
    ]
}

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Archive a product By SKU

path Parameters
sku
required
string

Responses

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Unarchive a product by SKU

path Parameters
sku
required
string

Responses

Update a Product's Fulfillment by SKU

path Parameters
sku
required
string
Request Body schema: application/json
fulfillment_type
required
string
Enum: "in_house" "dropshippable" "automatically_dropshipped"
default_supplier_id
integer

Responses

Request samples

Content type
application/json
{
  • "fulfillment_type": "in_house",
  • "default_supplier_id": 0
}

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Get a Product's Images by SKU

path Parameters
sku
required
string

Responses

Add Images to a product by SKU

path Parameters
sku
required
string
Request Body schema: application/json
One of
Array of objects (Product Image Schema) [ items ]

Responses

Request samples

Content type
application/json
Example
{
  • "images": [
    ]
}

Create a Product Kit Component by SKU

Add a child_sku as a kit component to the parent sku

path Parameters
sku
required
string
Request Body schema: application/json
child_sku
required
string
quantity
number

Responses

Request samples

Content type
application/json
{
  • "child_sku": "string",
  • "quantity": 0
}

Update a Product Kit Component by SKU

Update a child_sku of a parent sku

path Parameters
sku
required
string
Request Body schema: application/json
child_sku
required
string
quantity
number

Responses

Request samples

Content type
application/json
{
  • "child_sku": "string",
  • "quantity": 0
}

Delete a Product Kit Component by SKU

path Parameters
sku
required
string
query Parameters
child_sku
required
string

Responses

Get a Product's Kit Graph by SKU

path Parameters
sku
required
string
query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10

Responses

Update a Product Supplier by SKU and Supplier ID

path Parameters
sku
required
string
supplier_id
required
string
Request Body schema: application/json
supplier_price
required
number
is_default
required
boolean
supplier_sku
string
min_order_qty
integer

Responses

Request samples

Content type
application/json
{
  • "supplier_price": 0,
  • "is_default": true,
  • "supplier_sku": "string",
  • "min_order_qty": 0
}

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Delete a Product Supplier by SKU and Supplier ID

path Parameters
sku
required
string
supplier_id
required
string

Responses

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Delete a Product's Default Supplier by SKU

path Parameters
sku
required
string

Responses

Create a Product's Default Supplier by SKU and Supplier ID

path Parameters
sku
required
string
supplier_id
required
string

Responses

Get a Product Cart Bridge by SKU and Cart ID

path Parameters
sku
required
string
cart_id
required
string

Responses

Update a Product Cart Bridge by SKU and Cart ID

path Parameters
sku
required
string
cart_id
required
string
Request Body schema: application/json
sync
boolean
inventory_changed
boolean
reserve_export_qty
integer
percent_export_qty
integer
integer or null
integer or null
amazon_extra_info
any
walmart_extra_info
any

Responses

Request samples

Content type
application/json
{
  • "sync": true,
  • "inventory_changed": true,
  • "reserve_export_qty": 0,
  • "percent_export_qty": 0,
  • "max_export_qty": 0,
  • "min_export_qty": 0,
  • "amazon_extra_info": null,
  • "walmart_extra_info": null
}

Get a Product's Extra Info by SKU and Cart ID

path Parameters
sku
required
string
cart_id
required
string
query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string

Responses

Create a Product's Extra Info by SKU and Cart ID

path Parameters
sku
required
string
cart_id
required
string
Request Body schema: application/json
One of
item_is_marketplace
string
fulfillment_channel
string
Enum: "DEFAULT" "AMAZON_NA" "AMAZON_EU" "AMAZON_CA" "AMAZON_JP" "AMAZON_CN" "AMAZON_UK"
integer or null
pending_quantity
number
listing_id
string
asin
string
integer or null
category
string
item_note
string

Responses

Request samples

Content type
application/json
Example
{
  • "item_is_marketplace": "string",
  • "fulfillment_channel": "DEFAULT",
  • "fulfillment_latency": 0,
  • "pending_quantity": 0,
  • "listing_id": "string",
  • "asin": "string",
  • "item_condition": 0,
  • "category": "string",
  • "item_note": "string"
}

Update a Product's Extra Info by SKU/Cart ID/Extra Info ID

path Parameters
sku
required
string
cart_id
required
string
extra_info_id
required
string
Request Body schema: application/json
One of
item_is_marketplace
string
fulfillment_channel
string
Enum: "DEFAULT" "AMAZON_NA" "AMAZON_EU" "AMAZON_CA" "AMAZON_JP" "AMAZON_CN" "AMAZON_UK"
integer or null
pending_quantity
number
listing_id
string
asin
string
integer or null
category
string
item_note
string

Responses

Request samples

Content type
application/json
Example
{
  • "item_is_marketplace": "string",
  • "fulfillment_channel": "DEFAULT",
  • "fulfillment_latency": 0,
  • "pending_quantity": 0,
  • "listing_id": "string",
  • "asin": "string",
  • "item_condition": 0,
  • "category": "string",
  • "item_note": "string"
}

Add a tag to a product by SKU and Tag Name

path Parameters
sku
required
string
name
required
string

Responses

Delete a Product Tag by SKU and Tag Name

path Parameters
sku
required
string
name
required
string

Responses

Update a Product Warehouse by SKU and Warehouse ID

Update a product's warehouse by SKU and Warehouse ID. Use this endpoint to set inventory values.

path Parameters
sku
required
string
warehouse_id
required
string
Request Body schema: application/json
One of
on_hand
number
low_stock_threshold
number
out_of_stock_threshold
number
location_in_warehouse
string

Responses

Request samples

Content type
application/json
Example
{
  • "on_hand": 0,
  • "low_stock_threshold": 0,
  • "out_of_stock_threshold": 0,
  • "location_in_warehouse": "string"
}

Response samples

Content type
application/json
{
  • "type": "Tangible",
  • "cost": 4.95,
  • "id": 19551105,
  • "company_id": 1985,
  • "name": "Flux Capacitor",
  • "sku": "outa-time",
  • "taxable": "string",
  • "weight": 1.21,
  • "length": 12,
  • "width": 4,
  • "height": 8,
  • "price": 19.55,
  • "customer_text": "string",
  • "internal_notes": "Be sure to include the complimentary almanac",
  • "total_on_hand": 0,
  • "category": "misc-timetravel",
  • "is_kit_parent": false,
  • "archive_date": "string",
  • "hs_code": "string",
  • "country_of_origin": "US",
  • "customs_description": "string",
  • "created": "2015-10-26T15:44:17.993588-06:00",
  • "updated": "2020-01-01T17:54:05.158248-06:00",
  • "upc": "847509005811",
  • "asin": "B07WXJHZ1L",
  • "image_url": "string",
  • "default_image_id": "string",
  • "_link": "string",
  • "tags": [
    ],
  • "total_committed": 0,
  • "total_available": 0,
  • "total_allocated": 0,
  • "total_unallocated": 0,
  • "po_total_committed": 0,
  • "fulfillment_type": "in_house",
  • "warehouses": [
    ],
  • "kit_components": [
    ],
  • "carts": [
    ],
  • "suppliers": [
    ],
  • "to_be_shipped": 0,
  • "available_on_hand": 0,
  • "on_pos": 0
}

Delete a Product Default Dropshipper by SKU Deprecated

path Parameters
sku
required
string

Responses

Create a Product Default Dropshipper by SKU Deprecated

path Parameters
sku
required
string
supplier_id
required
string

Responses

Create a Purchase Order by SKU and Supplier ID

Order More of a product. This will create or update an existing Purchase Order

path Parameters
sku
required
string
supplier_id
required
string
Request Body schema: application/json
warehouse
required
integer
quantity
required
integer
unit_price
number
discount_amount
number
po_id
string

Responses

Request samples

Content type
application/json
{
  • "warehouse": 0,
  • "quantity": 0,
  • "unit_price": 0,
  • "discount_amount": 0,
  • "po_id": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

List Product Tags

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10

Responses

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Create a Product Tag

Request Body schema: application/json
name
required
string
color
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Get a Product Tag By Name

Request Body schema: application/json
Any of
limit
integer [ 1 .. 100 ]
Default: 10
offset
integer
Default: 0

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Update a Product Tag

Request Body schema: application/json
name
string
color
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Delete a Product Tag

Responses

Purchase Order

Create a Purchase Order by SKU and Supplier ID

Order More of a product. This will create or update an existing Purchase Order

path Parameters
sku
required
string
supplier_id
required
string
Request Body schema: application/json
warehouse
required
integer
quantity
required
integer
unit_price
number
discount_amount
number
po_id
string

Responses

Request samples

Content type
application/json
{
  • "warehouse": 0,
  • "quantity": 0,
  • "unit_price": 0,
  • "discount_amount": 0,
  • "po_id": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

List Purchase Orders

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string (purchase_order_sort)
Enum: "status" "-status" "po_id" "-po_id" "updated" "-updated" "supplier" "-supplier" "ship_to" "-ship_to" "estimated_delivery_date" "-estimated_delivery_date"
status
string (purchase_order_status)
Enum: "unsent" "sent" "partial" "received" "cancelled" "all"
sku
Array of strings
start_date
string
end_date
string
tag
Array of strings

Filter by tag name. Can be repeated for multiple tags.

Note: Cannot be included if untagged is also passed.

tag_filter_by
string

Tag filtering logic:

  • or [default] return purchase orders that contain any of the supplied tags
  • and returns purchase orders containing ALL of the supplied tags
  • only returns purchase orders containing ONLY the supplied tags
exclude_tags
Array of strings

Note: Cannot be included if untagged is also passed.

untagged
boolean

Filter untagged purchase orders

Note: Cannot be included if tags or exclude_tags are also passed.

Responses

Response samples

Content type
application/json
{
  • "limit": 1,
  • "offset": 0,
  • "count": 46,
  • "purchase_order": [
    ]
}

Create a Purchase Order

Request Body schema: application/json
supplier_id
required
integer
warehouse_id
integer
po_id
string
shipping_method
string
payment_method
string
instructions
string
estimated_delivery_date
string
shipping_amount
number
tax_amount
number
discount_amount
number
Array of objects (Purchase Order Item Schema) [ items ]

Responses

Request samples

Content type
application/json
{
  • "supplier_id": 0,
  • "warehouse_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "estimated_delivery_date": "string",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "items": [
    ]
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Get Purchase Order Counts

Responses

Response samples

Content type
application/json
{
  • "all": 0,
  • "unsent": 0,
  • "sent": 0,
  • "partial": 0,
  • "received": 0,
  • "cancelled": 0
}

Delete a Purchase Order by ID

Cancel a purchase order.

path Parameters
po_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Get a Purchase Order by ID

path Parameters
po_id
required
string
query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string (purchase_order_sort)
Enum: "status" "-status" "po_id" "-po_id" "updated" "-updated" "supplier" "-supplier" "ship_to" "-ship_to" "estimated_delivery_date" "-estimated_delivery_date"
status
string (purchase_order_status)
Enum: "unsent" "sent" "partial" "received" "cancelled" "all"
sku
Array of strings
start_date
string
end_date
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Update a Purchase Order by ID

path Parameters
po_id
required
string
Request Body schema: application/json
warehouse
string
supplier
string
po_id
string
shipping_method
string
instructions
string
sent
string <date-time>
estimated_delivery_date
string <date-time>
payment_method
string
discount_amount
number
shipping_amount
number
tax_amount
number

Responses

Request samples

Content type
application/json
{
  • "warehouse": "string",
  • "supplier": "string",
  • "po_id": "string",
  • "shipping_method": "string",
  • "instructions": "string",
  • "sent": "2019-08-24T14:15:22Z",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "payment_method": "string",
  • "discount_amount": 0,
  • "shipping_amount": 0,
  • "tax_amount": 0
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Create a Purchase Order Comment by PO ID

path Parameters
po_id
required
string
Request Body schema: application/json
comment
required
string

Responses

Request samples

Content type
application/json
{
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Create a Purchase Order Goods Receipt by PO ID

path Parameters
po_id
required
string
Request Body schema: application/json
goods_receipt_id
string

Responses

Request samples

Content type
application/json
{
  • "goods_receipt_id": "string"
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Create a Purchase Order Line by PO ID

path Parameters
po_id
required
string
Request Body schema: application/json
sku
required
string
quantity
integer
unit_price
number
discount_amount
number

Responses

Request samples

Content type
application/json
{
  • "sku": "string",
  • "quantity": 0,
  • "unit_price": 0,
  • "discount_amount": 0
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Delete a Purchase Order Line by PO ID and PO Line ID

path Parameters
po_id
required
string
po_item_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Update a Purchase Order Line by PO ID and PO Line ID

path Parameters
po_id
required
string
po_item_id
required
string
Request Body schema: application/json
quantity
integer
unit_price
number
discount_amount
number

Responses

Request samples

Content type
application/json
{
  • "quantity": 0,
  • "unit_price": 0,
  • "discount_amount": 0
}

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Preview a Purchase Order

path Parameters
po_id
required
string

Responses

Send a Purchase Order to the Supplier

path Parameters
po_id
required
string

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Create a Purchase Order Tag

Request Body schema: application/json
name
required
string
color
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Get Purchase Order Tags

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Get Purchase Order Tag by Name

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Update a Purchase Order Tag by Name

Request Body schema: application/json
name
string
color
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Delete a Purchase Order Tag by Name

Responses

Apply a Purchase Order Tag to Purchase Order

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Remove a Purchase Order Tag from a Purchase Order

Responses

Response samples

Content type
application/json
{
  • "status": "string",
  • "company_id": 0,
  • "po_id": "string",
  • "shipping_method": "string",
  • "payment_method": "string",
  • "instructions": "string",
  • "sent": "string",
  • "estimated_delivery_date": "2019-08-24T14:15:22Z",
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "shipping_amount": 0,
  • "tax_amount": 0,
  • "discount_amount": 0,
  • "_link": "string",
  • "items": [
    ],
  • "supplier": {
    },
  • "warehouse": {
    },
  • "comments": [
    ],
  • "goods_receipts": [
    ],
  • "tags": [
    ]
}

Rate

Rates are cost estimates or quotes provided by a shipping carrier or shipper. These can be retrieved per Order based on the order's package and address details.

Get Amazon SFP Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
integer
delivery_confirmation
required
string
Enum: "NoTracking" "DeliveryConfirmationWithoutSignature" "DeliveryConfirmationWithSignature" "DeliveryConfirmationWithAdultSignature"
weight
number

Weight in ounces

length
number

Length in inches

width
number

Width in inches

height
number

Height in inches

box_shape
string
Array of objects <= 1 items [ items ]
shipping_method
string
ship_date
string <date-time>
arrive_by_date
string <date-time>
carrier_pickup
boolean
object (v1_address)
insurance_type
string
Value: "amazon"
insured_value
number
Default: 0
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "delivery_confirmation": "NoTracking",
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "box_shape": "string",
  • "packages": [
    ],
  • "shipping_method": "string",
  • "ship_date": "2019-08-24T14:15:22Z",
  • "arrive_by_date": "2019-08-24T14:15:22Z",
  • "carrier_pickup": true,
  • "ship_from": {
    },
  • "insurance_type": "amazon",
  • "insured_value": 0,
  • "warehouse_id": 0
}

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Get Australia Post Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
box_shape
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
insurance_type
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
required
Array of objects <= 200 items [ items ]
reason_for_export
string
reference_number
string

Package level reference, not always necessarily a number

ship_date
string
object (v1_address)
object (v1_address)
shipper_id
required
integer
reference_id
string

Identifier for a Return Order

shipping_method
string

ignored for rate requests

property name*
any

Responses

Request samples

Content type
application/json
{
  • "box_shape": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "reason_for_export": "string",
  • "reference_number": "string",
  • "ship_date": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "shipper_id": 0,
  • "reference_id": "string",
  • "shipping_method": "string"
}

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Get Canada Post Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
reason_for_export
string
Enum: "SOG" "DOC" "SAM" "REP" "OTH"
nondelivery_option
string
Enum: "RASE" "RTS" "ABAN"
delivery_confirmation
string
Enum: "SO" "PA18" "PA19"
service_option
string
insurance_type
string
Value: "canada_post"
insured_value
number
Default: 0
shipper_id
required
integer
Array of objects <= 1 items [ items ]
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "reason_for_export": "SOG",
  • "nondelivery_option": "RASE",
  • "delivery_confirmation": "SO",
  • "service_option": "string",
  • "insurance_type": "canada_post",
  • "insured_value": 0,
  • "shipper_id": 0,
  • "packages": [
    ],
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "return": true,
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "info": [
    ]
}

Get DHL Express Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
Array of objects <= 1 items [ items ]
declared_value
number

Shipment Level Declared Value for Dutiable International Shipments

insured_value
number
insurance_type
string
Value: "dhl"
ship_date
string <date-time>
reference_number
string
pickup
string <date-time>

pickup date time to schedule for the carrier

signature_service
string
Value: "SX"

signature service option. Signature services are included in international shipments. Use SX for no signature required

nonstandard_day
string
Enum: "AA" "AB" "AC" "AD" "AG"

options are [AA - Saturday Delivery, AB - Saturday Pickup, AC - Holiday Delivery, AD - Holiday Pickup, AG - Domestic Saturday Delivery]

nonstandard_contents
string
Enum: "HB" "HC" "HD" "HE" "HG" "HH" "HI" "HK" "HL" "HM" "HN" "HV" "HW" "HY"

options are [HB - Lithium Ion PI965 Section II, HC - Dry Ice UN1845, HD - Lithium Ion PI965-966 Section II, HE - Dangerous Goods, HG - Perishable Cargo, HH - Excepted Quantity, HI - Spill Cleaning, HK - Consumer Commodities, HL - Limited Quantities ADR, HM - Lithium Metal PI969 Section II, HN - ADR Load Exemption, HV - Lithium Ion PI967-Section II, HW - Lithium Metal PI970-Section II, HY - Biological UN3373]

is_dutiable
boolean
Default: true
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

return
boolean
Default: false

For orders, determines whether the originating and destination addresses will be swapped for a return label request

warehouse_id
integer

DEPRECATED: ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "packages": [
    ],
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl",
  • "ship_date": "2019-08-24T14:15:22Z",
  • "reference_number": "string",
  • "pickup": "2019-08-24T14:15:22Z",
  • "signature_service": "SX",
  • "nonstandard_day": "AA",
  • "nonstandard_contents": "HB",
  • "is_dutiable": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "return": false,
  • "warehouse_id": 0
}

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Get DHL Ecommerce Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

dangerous_goods
string
delivery_confirmation
string
Enum: "DELCON" "SIGCON"
Array of objects (Customs Line Schema) [ items ]
declared_value
number
insured_value
number
insurance_type
string
Value: "dhl_ecommerce"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
ship_date
string <date-time>
object (Tax Info Schema)
reference_number
string
object (v1_address)
object (v1_address)
return
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "dangerous_goods": "string",
  • "delivery_confirmation": "DELCON",
  • "customs_info": [
    ],
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl_ecommerce",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "receiver_tax_info": {
    },
  • "reference_number": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": false
}

Response samples

Content type
application/json
{
  • "info": [
    ]
}

Get USPS Rate for Order via Endicia

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

contents_type
string

to be deprecated in favor of higher use reason_for_export

reason_for_export
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "None"
Enum: "None" "DeliveryConfirmation" "SignatureConfirmation" "AdultSignature" "AdultSignatureRestrictedDelivery" "RestrictedDelivery"
hold_for_pickup
boolean
insurance_type
string
Enum: "discounted_insurance" "endicia"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from address zip code

nondelivery_option
string
Default: "Return"
Enum: "Return" "Abandon"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_number
string

Customer supplied internal reference for an order

return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

ship_date
string <date-time>
shipper_id
required
integer
shipping_method
string
stealth
boolean

NOTE: Ignored for rates. Display indicia on the label

object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "packages": [
    ],
  • "contents_type": "string",
  • "reason_for_export": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "None",
  • "hold_for_pickup": true,
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "nondelivery_option": "Return",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_number": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "stealth": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "status": "0",
  • "info": [
    ]
}

Get FedEx Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
alcohol_shipment_license
string
declared_value
number

Package level Insured Value for Fedex

Array of objects <= 99 items [ items ]
object
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "SERVICE_DEFAULT"
Enum: "NO_SIGNATURE_REQUIRED" "INDIRECT" "DIRECT" "ADULT" "SERVICE_DEFAULT"
delivery_instructions
string
dry_ice_weight
number
Default: 0

Weight in ounces.

duties_payment_type
string
duties_payment_account
string
object
insurance_type
string
Enum: "discounted_insurance" "fedex"
insured_value
number
Default: 0
payment_account
string
payment_type
string
pharmacy_delivery
boolean
Default: false
priority_alert
string
Enum: "PRIORITY_ALERT" "PRIORITY_ALERT_PLUS"
reason_for_export
string
Enum: "SOLD" "NOT_SOLD" "PERSONAL_EFFECTS" "GIFT" "REPAIR_AND_RETURN" "SAMPLE"
reason_for_export_explanation
string
recipient_address_is_residential
boolean
reference_number
string
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

saturday_delivery
boolean
Default: false
ship_date
string <date-time>
shipper_id
required
integer
smart_post_ancillary_endorsement
string
Enum: "ADDRESS_CORRECTION" "CARRIER_LEAVE_IF_NO_RESPONSE" "CHANGE_SERVICE" "FORWARDING_SERVICE" "RETURN_SERVICE"

Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.

smart_post_hub
string
smart_post_indicia
string
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

dangerous_goods_option
string
dangerous_goods_regulation_type
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

etd_service
boolean
hold_at_location
boolean
hold_at_location_id
string
certificate_of_origin
boolean

Responses

Request samples

Content type
application/json
{
  • "alcohol_shipment_license": "string",
  • "declared_value": 0,
  • "packages": [
    ],
  • "cod": {
    },
  • "customs_info": [
    ],
  • "delivery_confirmation": "NO_SIGNATURE_REQUIRED",
  • "delivery_instructions": "string",
  • "dry_ice_weight": 0,
  • "duties_payment_type": "string",
  • "duties_payment_account": "string",
  • "importer_of_record": {
    },
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "payment_account": "string",
  • "payment_type": "string",
  • "pharmacy_delivery": false,
  • "priority_alert": "PRIORITY_ALERT",
  • "reason_for_export": "SOLD",
  • "reason_for_export_explanation": "string",
  • "recipient_address_is_residential": true,
  • "reference_number": "string",
  • "return": true,
  • "saturday_delivery": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "smart_post_ancillary_endorsement": "ADDRESS_CORRECTION",
  • "smart_post_hub": "string",
  • "smart_post_indicia": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "dangerous_goods_option": "string",
  • "dangerous_goods_regulation_type": "string",
  • "warehouse_id": 0,
  • "etd_service": true,
  • "hold_at_location": true,
  • "hold_at_location_id": "string",
  • "certificate_of_origin": true
}

Response samples

Content type
application/json
{
  • "status": "WARNING",
  • "info": [
    ]
}

Get USPS Rate for Order via Pitney Bowes

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
delivery_confirmation
string
Enum: "DelCon" "Sig" "ADSIG" "ADSIGRD" "SigRD"
insurance_type
string
Value: "discounted_insurance"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from_address zip code, ignored in rate request

non_delivery
string
Enum: "return" "abandon" "redirect"
Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

pitney_rate_type
string
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

ship_date
string <date-time>
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

shipper_id
required
integer
shipping_method
required
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Responses

Request samples

Content type
application/json
{
  • "delivery_confirmation": "DelCon",
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "non_delivery": "return",
  • "packages": [
    ],
  • "pitney_rate_type": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "status": "Success",
  • "info": [
    ]
}

Get UPS Rate for Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
additional_handling
boolean
certificate_origin
boolean
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string

['0' - None, '1' - Confirm, '2' - Signature, '3' - Adult Signature]

direct_delivery
boolean
dry_ice_regulation_set
string

indicates dry ice shipment option [CFR = For HazMat regulated by US Dept of Transportation within the U.S. or ground shipments to Canada, IATA = For Worldwide Air movement]

insurance_type
string
insured_value
number
box_shape
string

DEPRECATED: USE PACKAGES. ups box options [01 - UPS Letter, 02 - Customer Supplied Package, 03 - Tube, 04 - PAK, 2a - Small Express Box, 2b - Medium Express Box, 2c - Large Express Box, 24 - UPS 25KG Box, 25 - UPS 10KG Box]

declared_value
number

DEPRECATED: USE PACKAGES. Package level declared value for UPS

description
string

DEPRECATED: USE PACKAGES. Package level description, required for return label creation

dry_ice_weight
number

DEPRECATED: USE PACKAGES. Dry ice weight in ounces, required for dry ice shipments

reference_number
string

Package level reference, not always necessarily a number

weight
number

DEPRECATED: USE PACKAGES. Weight in ounces

length
number

DEPRECATED: USE PACKAGES. Length in inches

width
number

DEPRECATED: USE PACKAGES. Width in inches

height
number

DEPRECATED: USE PACKAGES. Height in inches

Array of objects <= 200 items [ items ]
package_bill_type
string
Enum: "02" "03" "04" "07"

required for shoptimeintransit rates: document, non-document, wwef pallet, or domestic pallet. describes the contents of the package.

payment_type
string
payment_account
string
payment_zip
string
payment_country
string
duties_payment_type
string
duties_payment_account
string
duties_payment_zip
string
duties_payment_country
string
reason_for_export
string
object (Tax Info Schema)
recipient_address_is_residential
boolean
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

saturday_delivery
boolean
object (Tax Info Schema)
shipper_id
required
integer
shipping_method
string
shipper_release
boolean
object (v1_address)
usps_endorsement
string

Required for UPS Mail Innovations shipments

object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

cost_center
string

The Cost Center code for UPS Mail Innovations shipments

Responses

Request samples

Content type
application/json
{
  • "additional_handling": true,
  • "certificate_origin": true,
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "direct_delivery": true,
  • "dry_ice_regulation_set": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "box_shape": "string",
  • "declared_value": 0,
  • "description": "string",
  • "dry_ice_weight": 0,
  • "reference_number": "string",
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "packages": [
    ],
  • "package_bill_type": "02",
  • "payment_type": "string",
  • "payment_account": "string",
  • "payment_zip": "string",
  • "payment_country": "string",
  • "duties_payment_type": "string",
  • "duties_payment_account": "string",
  • "duties_payment_zip": "string",
  • "duties_payment_country": "string",
  • "reason_for_export": "string",
  • "receiver_tax_info": {
    },
  • "recipient_address_is_residential": true,
  • "return": true,
  • "saturday_delivery": true,
  • "sender_tax_info": {
    },
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "shipper_release": true,
  • "shipper_return_to_address": {
    },
  • "usps_endorsement": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "warehouse_id": 0,
  • "cost_center": "string"
}

Response samples

Content type
application/json
{
  • "status": "Success",
  • "info": [
    ]
}

Return Label

Get a list of Return Labels Deprecated

Get a list of return labels by using the s parameter for shipments

query Parameters
s
string
type
string (type2)
Enum: "single_page" "additional_docs" "multi_page" "canada_pdf"
default
string (default)
Enum: "desktop" "thermal"
page_width
required
number <double>
page_height
required
number <double>
orientation
string (orientation)
Enum: "portrait" "landscape"
top_margin
required
number <double>
left_margin
required
number <double>
width
required
number <double>
height
required
number <double>
rotation
required
integer (rotation)
Enum: 0 90 180 270
Example: rotation=0

Responses

Get return label PDFs Deprecated

Get a list of return label PDFs by type and shipment

query Parameters
s
string
type
string (type2)
Enum: "single_page" "additional_docs" "multi_page" "canada_pdf"
default
string (default)
Enum: "desktop" "thermal"
page_width
required
number <double>
page_height
required
number <double>
orientation
string (orientation)
Enum: "portrait" "landscape"
top_margin
required
number <double>
left_margin
required
number <double>
width
required
number <double>
height
required
number <double>
rotation
required
integer (rotation)
Enum: 0 90 180 270
Example: rotation=0

Responses

Get a raw label image

Get a raw label image by label id

path Parameters
label_id
required
string

Responses

Return Tracking

Get a list of Return Trackings

These are for companies that do not use the Return Order (RMA) feature

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
shipper_id
required
number <double>
ship_date
string
tracking
string
void
boolean

Responses

Get a Return Tracking by ID

path Parameters
return_tracking_id
required
string

Responses

Rule

Get a list of Rules

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
latch
string (latch)
Value: "order_created"
active
boolean

Responses

Create a Rule

Rules are used by the Automation Rules process in Ordoro. An index value determines where in the list the rule takes place. Rules have inner logic for determining an IF and THEN clause. Rules may only be run as an order_created latch at this time. The logic is obscured internally and this may be difficult to do via the API. We would suggest that you use the UI to make any updates to Rules

Responses

Change rule indexes

Since rules are run sequentially, you may use this endpoint to reorder a set of rules and their respective indices to alter the order in which they are run.

Responses

Delete a Rule by ID

path Parameters
rule_id
required
string

Responses

Get a Rule by ID

path Parameters
rule_id
required
string
query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
latch
string (latch)
Value: "order_created"
active
boolean

Responses

Update a Rule by ID

This may be used to alter the condition or action of a rule. The logic is obscured internally and this may be difficult to do via the API. We would suggest that you use the UI to make any updates to Rules.

path Parameters
rule_id
required
string

Responses

Shipper

A shipper or carrier account can be created and used to get quotes and generate labels for orders.

Get a list of Shippers

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
all
boolean

Allows for retrieval of archived shippers as well

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "shipper": [
    ]
}

Create a Shipper

Each shipper has unique authentication requirements, so the schema depends on the value of the vendor parameter.

Request Body schema: application/json
vendor
required
string

The vendor of shipper.

hidden_shipping_methods
Array of any[ items ]

A list of shipping methods per shipper type that can be excluded from retrieved rates

name
string

The display name of this shipper.

cart_id
string

Amazon Cart id in Ordoro

cart_name
string

Amazon Cart name in Ordoro

Responses

Request samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "hidden_shipping_methods": [
    ],
  • "name": "string",
  • "cart_id": "string",
  • "cart_name": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "hidden_shipping_methods": [
    ],
  • "id": 1,
  • "archive_date": "string"
}

Archive a Shipper

Set an archive date on a Shipper and hide it from responses

path Parameters
shipper_id
required
string

Get a Shipper by Id

path Parameters
shipper_id
required
string

Responses

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "hidden_shipping_methods": [
    ],
  • "id": 1,
  • "archive_date": "string"
}

Update Shipper

Each shipper has unique authentication requirements, so the schema depends on the value of the vendor parameter.

path Parameters
shipper_id
required
string
Request Body schema: application/json
One of
hidden_shipping_methods
Array of any[ items ]

A list of shipping methods per shipper type that can be excluded from retrieved rates

name
string

The display name of this shipper.

cart_id
string

Amazon Cart id in Ordoro

cart_name
string

Amazon Cart name in Ordoro

Responses

Request samples

Content type
application/json
Example
{
  • "hidden_shipping_methods": [
    ],
  • "name": "string",
  • "cart_id": "string",
  • "cart_name": "string"
}

Response samples

Content type
application/json
Example
{
  • "vendor": "amazon",
  • "vendor_config": {
    },
  • "_link": "string",
  • "name": "string",
  • "hidden_shipping_methods": [
    ],
  • "id": 1,
  • "archive_date": "string"
}

Get balance for shipper's postage

A single USPS Pitney Bowes shipper may have a balance

path Parameters
shipper_id
required
any

Responses

Response samples

Content type
application/json
{
  • "postage_balance": 888
}

Add balance for shipper's postage

Add balance for shipper's postage

path Parameters
shipper_id
required
any
Request Body schema: application/json
amount
required
number <double> >= 10

Responses

Request samples

Content type
application/json
{
  • "amount": 10
}

Response samples

Content type
application/json
{
  • "postage_balance": 0,
  • "postage_printed": 0
}

Create a Pitney carrier

This creates a USPS Pitney Bowes Shipper in the account and sets up a postage account within Ordoro to use for label creation.

Responses

Response samples

Content type
application/json
{
  • "id": 13751,
  • "link": "/carrier/13751"
}

Schedule a UPS pickup

Request Body schema: application/json
shipper_id
required
integer
close_time
required
string
overweight_packages
boolean
Default: false
pickup_address_same_as_account
required
boolean
pickup_datetime
required
string <date-time>
required
Array of objects[ items ]
shipper_country
string
warehouse_id
required
integer

warehouse for the pickup address

Responses

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "close_time": "string",
  • "overweight_packages": false,
  • "pickup_address_same_as_account": true,
  • "pickup_datetime": "2019-08-24T14:15:22Z",
  • "pickup_pieces": [
    ],
  • "shipper_country": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "pickup_number": "1234",
  • "carrier": "ups"
}

Schedule a FedEx pickup

Request Body schema: application/json
close_time
required
string
pickup_address_same_as_account
boolean

Deprecated: Indicates whether to use the address associated with the Fedex account, or a different address

oversize_package_count
integer
Default: 0
pickup_datetime
required
string
pickup_date_type
string
Enum: "SAME_DAY" "FUTURE_DAY"
quantity
required
integer
total_weight
required
number

total weight of packages in pounds (LB)

service_category
string
Enum: "SAME_DAY" "SAME_DAY_CITY" "FEDEX_DISTANCE_DEFERRED" "FEDEX_NEXT_DAY_EARLY_MORNING" "FEDEX_NEXT_DAY_MID_MORNING" "FEDEX_NEXT_DAY_AFTERNOON" "FEDEX_NEXT_DAY_END_OF_DAY" "FEDEX_NEXT_DAY_FREIGHT"
carrier_code
required
string
Enum: "FDXG" "FDXE"

Describes the fedex carrier for the pickup: ['FDXG' - Fedex Ground, 'FDXE' - Fedex Express]

remarks
required
string

Identifies comments the customer wants to convey to the FedEx courier regarding the package pickup.

shipper_id
required
integer
warehouse_id
integer

warehouse for the pickup address

commodity_description
string

Provides area for any additional commodity description

domestic_or_international
string
Default: "DOMESTIC"
Enum: "DOMESTIC" "INTERNATIONAL"

Describes the country relationship (domestic and/or international) among the shipments being picked up

Responses

Request samples

Content type
application/json
{
  • "close_time": "string",
  • "pickup_address_same_as_account": true,
  • "oversize_package_count": 0,
  • "pickup_datetime": "string",
  • "pickup_date_type": "SAME_DAY",
  • "quantity": 0,
  • "total_weight": 0,
  • "service_category": "SAME_DAY",
  • "carrier_code": "FDXG",
  • "remarks": "string",
  • "shipper_id": 0,
  • "warehouse_id": 0,
  • "commodity_description": "string",
  • "domestic_or_international": "DOMESTIC"
}

Response samples

Content type
application/json
{
  • "pickup_number": "1234",
  • "carrier": "fedex"
}

Supplier

Get a list of Suppliers

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "supplier": [
    ],
  • "limit": 10,
  • "offset": 0
}

Create a New Supplier

Request Body schema: application/json
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
string or null
string or null
object or null (Validation status of an Address)
automatically_show_ship_to_email
boolean
automatically_show_supplier_price
boolean
dropship_prefer_cart_order_line_names
boolean
default_shipping_method
string
default_shipping_account
string
default_shipping_carrier
string
warehouse_id
integer

Responses

Request samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { },
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": true,
  • "default_shipping_method": "string",
  • "default_shipping_account": "string",
  • "default_shipping_carrier": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "warehouse_id": 0,
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "archive_date": "string",
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": 0,
  • "address": {
    },
  • "vendor_config": { },
  • "default_shipping_method": "string",
  • "shipping_method_maps": [
    ]
}

Get Supplier by ID

path Parameters
supplier_id
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "warehouse_id": 0,
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "archive_date": "string",
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": 0,
  • "address": {
    },
  • "vendor_config": { },
  • "default_shipping_method": "string",
  • "shipping_method_maps": [
    ]
}

Update Supplier by ID

path Parameters
supplier_id
required
string
Request Body schema: application/json
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
required
string or null
string or null
string or null
object or null (Validation status of an Address)
automatically_show_ship_to_email
boolean
automatically_show_supplier_price
boolean
dropship_prefer_cart_order_line_names
boolean
default_shipping_method
string
default_shipping_account
string
default_shipping_carrier
string
warehouse_id
integer

Responses

Request samples

Content type
application/json
{
  • "name": "Jimmy McGill",
  • "company": "Hamlin, Hamlin & McGill",
  • "street1": "100 Constitution Ave",
  • "street2": "string",
  • "city": "Albuquerque",
  • "state": "NM",
  • "zip": "87109",
  • "country": "US",
  • "email": "slippin-jimmy@saul-good.man",
  • "phone": "555-867-5309",
  • "fax": "string",
  • "cart_address_id": "string",
  • "validation": { },
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": true,
  • "default_shipping_method": "string",
  • "default_shipping_account": "string",
  • "default_shipping_carrier": "string",
  • "warehouse_id": 0
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "warehouse_id": 0,
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "archive_date": "string",
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": 0,
  • "address": {
    },
  • "vendor_config": { },
  • "default_shipping_method": "string",
  • "shipping_method_maps": [
    ]
}

Archive a Supplier

path Parameters
supplier_id
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "warehouse_id": 0,
  • "created": "2019-08-24T14:15:22Z",
  • "updated": "2019-08-24T14:15:22Z",
  • "archive_date": "string",
  • "automatically_show_ship_to_email": true,
  • "automatically_show_supplier_price": true,
  • "dropship_prefer_cart_order_line_names": 0,
  • "address": {
    },
  • "vendor_config": { },
  • "default_shipping_method": "string",
  • "shipping_method_maps": [
    ]
}

Get Supplier Shipping Method Mappings

path Parameters
supplier_id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add Supplier Shipping Method Mappings

path Parameters
supplier_id
required
string
Request Body schema: application/json
active
boolean
required
string or null
Default: ""

The requested shipping method on an Order to be mapped to a determinate shipping method

mapped_shipping_method
required
string

For FBA, must be one of the following: ['Expedited', 'Priority', 'Standard']

string or null
string or null

Responses

Request samples

Content type
application/json
{
  • "active": true,
  • "requested_shipping_method": "",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string"
}

Response samples

Content type
application/json
{
  • "active": true,
  • "created": "string",
  • "id": 0,
  • "requested_shipping_method": "",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string",
  • "supplier_id": 0,
  • "updated": "string"
}

Delete Supplier Shipping Method Mapping

path Parameters
supplier_id
required
string
shipping_method_map_id
required
string

Responses

Response samples

Content type
application/json
{
  • "active": true,
  • "created": "string",
  • "id": 0,
  • "requested_shipping_method": "",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string",
  • "supplier_id": 0,
  • "updated": "string"
}

Get Supplier Shipping Method Mapping by Id

path Parameters
supplier_id
required
string
shipping_method_map_id
required
string

Responses

Response samples

Content type
application/json
{
  • "active": true,
  • "created": "string",
  • "id": 0,
  • "requested_shipping_method": "",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string",
  • "supplier_id": 0,
  • "updated": "string"
}

Update Supplier Shipping Method Mapping

path Parameters
supplier_id
required
string
shipping_method_map_id
required
string
Request Body schema: application/json
active
boolean
requested_shipping_method
string

The requested shipping method on an Order to be mapped to a determinate shipping method

mapped_shipping_method
string

For FBA, must be one of the following: ['Expedited', 'Priority', 'Standard']

string or null
string or null

Responses

Request samples

Content type
application/json
{
  • "active": true,
  • "requested_shipping_method": "string",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string"
}

Response samples

Content type
application/json
{
  • "active": true,
  • "created": "string",
  • "id": 0,
  • "requested_shipping_method": "",
  • "mapped_shipping_method": "string",
  • "mapped_shipping_account": "string",
  • "mapped_shipping_carrier": "string",
  • "supplier_id": 0,
  • "updated": "string"
}

Tag

Add a tag to an order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

tag_id
required
any

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Remove tag from order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

tag_id
required
any

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get a list of Order tags

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10

Responses

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Create an Order Tag

Request Body schema: application/json
color
required
string
text
required
string

Responses

Request samples

Content type
application/json
{
  • "color": "string",
  • "text": "string"
}

Response samples

Content type
application/json
{
  • "color": "purple",
  • "text": "mytag",
  • "link": "/tag/1",
  • "id": 1
}

Get an Order Tag by ID

path Parameters
tag_id
required
any

Responses

Response samples

Content type
application/json
{
  • "color": "#ff0",
  • "text": "Unpaid",
  • "link": "/tag/3",
  • "id": 3
}

Update an Order Tag

path Parameters
tag_id
required
any
Request Body schema: application/json
color
string
text
string

Responses

Request samples

Content type
application/json
{
  • "color": "string",
  • "text": "string"
}

Response samples

Content type
application/json
{
  • "color": "#fff0",
  • "text": "Unpaid",
  • "link": "/tag/3",
  • "id": 3
}

Delete an Order Tag

path Parameters
tag_id
required
any

Responses

Tracking

Tracking_GET

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string
shipper_id
required
number <double>
warehouse_id
required
number <double>
ship_date
string
tracking
string
void
boolean

Responses

TrackingByTrackingId_GET

path Parameters
tracking_id
required
string

Responses

User

Get a list of Users

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "user": [
    ]
}

Create a User

Request Body schema: application/json
name
string <= 60 characters

Full Name

email
required
string <email> <= 75 characters

Email Address

password
string [ 8 .. 128 ] characters

Password

warehouse_ids
Array of numbers[ items ]

Assigned Warehouses

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "email": "user@example.com",
  • "password": "stringst",
  • "warehouse_ids": [
    ]
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "email": "string",
  • "is_active": true,
  • "is_api_user": true,
  • "last_login": "2019-08-24T14:15:22Z",
  • "date_joined": "string",
  • "email_verified": "string",
  • "permissions": { },
  • "settings": { }
}

Get Currently Authenticated User

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "email": "string",
  • "is_active": true,
  • "is_api_user": true,
  • "last_login": "2019-08-24T14:15:22Z",
  • "date_joined": "string",
  • "email_verified": "string",
  • "permissions": { },
  • "settings": { }
}

Get User by ID

path Parameters
user_id
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "email": "string",
  • "is_active": true,
  • "is_api_user": true,
  • "last_login": "2019-08-24T14:15:22Z",
  • "date_joined": "string",
  • "email_verified": "string",
  • "permissions": { },
  • "settings": { }
}

Update User by ID

path Parameters
user_id
required
string
Request Body schema: application/json
name
string <= 60 characters

Full Name

email
string <email> <= 75 characters

Email Address

password
string [ 8 .. 128 ] characters

Password

warehouse_ids
Array of numbers[ items ]

Assigned Warehouses

object

Permissions

object

Settings

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "email": "user@example.com",
  • "password": "stringst",
  • "warehouse_ids": [
    ],
  • "permissions": {
    },
  • "settings": { }
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "company_id": 0,
  • "name": "string",
  • "email": "string",
  • "is_active": true,
  • "is_api_user": true,
  • "last_login": "2019-08-24T14:15:22Z",
  • "date_joined": "string",
  • "email_verified": "string",
  • "permissions": { },
  • "settings": { }
}

Warehouse

List Warehouses

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
sort
string (Warehouse Sort)
Enum: "name" "-name"

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "count": 0,
  • "warehouse": [
    ]
}

Create a Warehouse

Request Body schema: application/json
required
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
cart_id
integer

Responses

Request samples

Content type
application/json
{
  • "name": "Hangar 51",
  • "street1": "123 Secret Street",
  • "street2": "string",
  • "city": "Roswell",
  • "state": "NM",
  • "zip": "88201",
  • "country": "US",
  • "email": "indiana@drjones.com",
  • "phone": "555-867-5309",
  • "cart_id": 0
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "address": {
    },
  • "cart": "string",
  • "is_configured_for_shipping": true,
  • "is_default_location": true
}

Get a Warehouse by ID

path Parameters
warehouse_id
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "address": {
    },
  • "cart": "string",
  • "is_configured_for_shipping": true,
  • "is_default_location": true
}

Update a Warehouse by ID

path Parameters
warehouse_id
required
string
Request Body schema: application/json
required
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
string or null
cart_id
integer

Responses

Request samples

Content type
application/json
{
  • "name": "Hangar 51",
  • "street1": "123 Secret Street",
  • "street2": "string",
  • "city": "Roswell",
  • "state": "NM",
  • "zip": "88201",
  • "country": "US",
  • "email": "indiana@drjones.com",
  • "phone": "555-867-5309",
  • "cart_id": 0
}

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "address": {
    },
  • "cart": "string",
  • "is_configured_for_shipping": true,
  • "is_default_location": true
}

Set a Warehouse to the Default by ID

path Parameters
warehouse_id
required
string

Responses

Response samples

Content type
application/json
{
  • "_link": "string",
  • "id": 0,
  • "address": {
    },
  • "cart": "string",
  • "is_configured_for_shipping": true,
  • "is_default_location": true
}

Return Order

Get a list of return_orders

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10
search
string
status
string

can be one of [all, awaiting_fulfillment, dropshipment_requested, shipped, cancelled]

tag
any
untagged
string

filter the results to only return_orders that have no tags

sort
string

can be one of [(-)reference_id, (-)status, (-)warehouse_name, (-)created_date, (-)updated_date

tag_filter_by
any

Responses

Response samples

Content type
application/json
{
  • "limit": 10,
  • "offset": 0,
  • "count": 0,
  • "return_order": [
    ]
}

Create a return_order

Request Body schema: application/json

A Return Order object

reference_id
required
string
original_order_number
string
warehouse_id
integer
required
object (v1_address)
object (v1_address)
customer_notes
string
internal_notes
string
required
Array of objects[ items ]

Responses

Request samples

Content type
application/json
{
  • "reference_id": "string",
  • "original_order_number": "string",
  • "warehouse_id": 0,
  • "customer_address": {
    },
  • "return_to_address": {
    },
  • "customer_notes": "string",
  • "internal_notes": "string",
  • "lines": [
    ]
}

Response samples

Content type
application/json
{
  • "customer_address": {
    },
  • "customer_notes": "from the customer",
  • "internal_notes": "for our eyes",
  • "lines": [
    ],
  • "original_order_number": "this-is-from-the-cart-1234",
  • "reference_id": "i-want-my-return_order-1234",
  • "return_to_address": {
    },
  • "warehouse_id": 1234
}

List Return Order Tags

query Parameters
offset
integer >= 0
Default: 0
limit
integer [ 1 .. 100 ]
Default: 10

Responses

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Create a Return Order Tag

Request Body schema: application/json
name
required
string
color
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Get a Return Order Tag By Name

Request Body schema: application/json
Any of
limit
integer [ 1 .. 100 ]
Default: 10
offset
integer
Default: 0

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "count": 2,
  • "tag": [
    ],
  • "limit": 10,
  • "offset": 0
}

Update a Return Order Tag

Request Body schema: application/json
name
string
color
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Delete a Return Order Tag

Responses

Return Order Label

Get Australia Post Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
box_shape
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
insurance_type
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
required
Array of objects <= 200 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

reason_for_export
string
reference_id
string

Identifier for a Return Order

reference_number
string

Package level reference, not always necessarily a number

return
boolean
service_token
string

token for rate type received for a specific shipment, required if shipment_id is included

ship_date
string
object (v1_address)
object (v1_address)
shipment_id
string

id of shipment created by easypost

shipper_id
required
integer
shipping_method
string

Service type: unused if shipment_id and service_token are present.

Request samples

Content type
application/json
{
  • "box_shape": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "reason_for_export": "string",
  • "reference_id": "string",
  • "reference_number": "string",
  • "return": true,
  • "service_token": "string",
  • "ship_date": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "shipment_id": "string",
  • "shipper_id": 0,
  • "shipping_method": "string"
}

Get Canada Post Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_type
string

unused with maryann carrier implementation

shipper_id
required
integer
shipping_method
required
string

Domestic - [DOM.RP - Regular Parcel, DOM.EP - Expedited Parcel, DOM.XP - Xpresspost, DOM.PC - Priority], USA - [USA.PW.ENV - Priority Worldwide Envelope USA, USA.PW.PAK - Priority Worldwide pak USA, USA.PW.PARCEL - Priority Worldwide Parcel USA, USA.XP - Xpresspost USA, USA.EP - Expedited Parcel USA, USA.SP.AIR - Small Packet USA Air, USA.TP - Tracked Packet - USA], International - [INT.IP.AIR - International Parcel Air, INT.IP.SURF International Parcel Surface, INT.PW.ENV - Priority Worldwide Envelope Int'l, INT.PW.PAK - Priority Worldwide pak Int'l, INT.PW.PARCEL - Priority Worldwide parcel Int'l, INT.XP - Xpresspost International, INT.SP.AIR - Small Packet International Air, INT.SP.SURF - Small Packet International Surface, INT.TP - Tracked Packet - International]

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

reference_id
string

Identifier for a Return Order

reference_number
string

Customer supplied internal reference for the order

reason_for_export
string
Enum: "SOG" "DOC" "SAM" "REP" "OTH"
nondelivery_option
string
Enum: "RASE" "RTS" "ABAN"
delivery_confirmation
string
Enum: "SO" "PA18" "PA19"
service_option
string
insurance_type
string
Value: "canada_post"
insured_value
number
Default: 0
invoice_number
string <= 10 characters

Used for customs information: If required by customs at the destination, the commercial invoice number.

Array of objects (Customs Line Schema) [ items ]
object (v1_address)
object (v1_address)
return
boolean
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "shipper_type": "string",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "reference_id": "string",
  • "reference_number": "string",
  • "reason_for_export": "SOG",
  • "nondelivery_option": "RASE",
  • "delivery_confirmation": "SO",
  • "service_option": "string",
  • "insurance_type": "canada_post",
  • "insured_value": 0,
  • "invoice_number": "string",
  • "customs_info": [
    ],
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": true,
  • "warehouse_id": 0
}

Get DHL Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
weight
number

Weight in ounces

length
integer

Length in inches

width
integer

Width in inches

height
integer

Height in inches

box_shape
string
Enum: "FLY" "COY" "NCY" "PAL" "DBL" "BOX"

optional box type [FLY=Flyer/Smalls - pieces that are too small, thin or light to be sorted on a standard conveyor, or for which it makes sense to group pieces into larger units for sort purposes. COY=Parcels/Conveyables - pieces that can be handled onto a system, less than 31.5 kg and up to 6060120cm. NCY=Non-conveyables - Pieces that cannot on their own be sorted on standard conveyor. PAL=Pallets - large, irregular or heavy pieces, Palletized with weight upto 1000 KG. DBL=Double Pallets - large, irregular or heavy pieces, Palletized with weight upto 1000 KG. BOX=Parcels that are conveyable have the shape of a box. Up to 70kg.]

Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

Array of objects (Customs Line Schema) [ items ]
reason_for_export
string
Default: "P"

[P - Permanent, T - Temporary, R - Re-Export] It is required for dutiable shipment.

reason_for_export_explanation
string
declared_value
number

Shipment Level Declared Value for Dutiable International Shipments

insured_value
number
insurance_type
string
Value: "dhl"
shipping_method
required
string (DHL Express Global Product Code service types)
Enum: "0" "1" "2" "3" "4" "5" "7" "8" "9" "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"

options: [0 - LOGISTICS SERVICES, 1 - DOMESTIC EXPRESS 12:00, 2 - B2C, 3 - B2C, 4 - JETLINE, 5 - SPRINTLINE, 7 - EXPRESS EASY, 8 - EXPRESS EASY, 9 - EUROPACK, A - AUTO REVERSALS, B - BREAKBULK EXPRESS, C - MEDICAL EXPRESS, D - EXPRESS WORLDWIDE, E - EXPRESS 9:00, F - FREIGHT WORLDWIDE, G - DOMESTIC ECONOMY SELECT, H - ECONOMY SELECT, I - DOMESTIC EXPRESS 9:00, J - JUMBO BOX, K - EXPRESS 9:00, L - EXPRESS 10:30, M - EXPRESS 10:30, N - DOMESTIC EXPRESS, O - DOMESTIC EXPRESS 10:30, P - EXPRESS WORLDWIDE, Q - MEDICAL EXPRESS, R - GLOBALMAIL BUSINESS, S - SAME DAY, T - EXPRESS 12:00, U - EXPRESS WORLDWIDE, V - EUROPACK, W - ECONOMY SELECT, X - EXPRESS ENVELOPE, Y - EXPRESS 12:00, Z - Destination Charges]

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
ship_date
string <date-time>
pickup
string <date-time>

pickup date time to schedule for the carrier

signature_service
string
Value: "SX"

signature service option. Signature services are included in international shipments. Use SX for no signature required

nonstandard_day
string
Enum: "AA" "AB" "AC" "AD" "AG"

options are [AA - Saturday Delivery, AB - Saturday Pickup, AC - Holiday Delivery, AD - Holiday Pickup, AG - Domestic Saturday Delivery]

nonstandard_contents
string
Enum: "HB" "HC" "HD" "HE" "HG" "HH" "HI" "HK" "HL" "HM" "HN" "HV" "HW" "HY"

options are [HB - Lithium Ion PI965 Section II, HC - Dry Ice UN1845, HD - Lithium Ion PI965-966 Section II, HE - Dangerous Goods, HG - Perishable Cargo, HH - Excepted Quantity, HI - Spill Cleaning, HK - Consumer Commodities, HL - Limited Quantities ADR, HM - Lithium Metal PI969 Section II, HN - ADR Load Exemption, HV - Lithium Ion PI967-Section II, HW - Lithium Metal PI970-Section II, HY - Biological UN3373]

is_dutiable
boolean
Default: true
federal_tax_id
string <= 20 characters

Mandatory for domestic shipment of country code = BR

state_tax_id
string <= 20 characters

Mandatory for domestic shipment of country code = BR

duty_payment_type
string
Default: "R"
Enum: "S" "R" "T"

Duties may be paid via Shipper [S], Recipient [R], or Third Party [T]

reference_id
string

Identifier for a Return Order

reference_number
string
object
object
object (v1_address)
object (v1_address)
return
boolean
Default: false
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

shipping_payment_type
string
Default: "S"
Enum: "S" "R" "T"

Shipping may be paid via Shipper [S], Recipient [R], or Third Party [T]

shipping_payment_account
string

Shipment bill to account

duty_payment_account
string

Duty bill to account

foreign_trade_regulation
string
Enum: "30.2(d)(2)" "30.36" "30.37(a)" "30.37(b)" "30.37(e)" "30.37(f)" "30.37(g)" "30.37(h)" "30.37(i)" "30.37(k)" "30.37(o)" "30.37(q)" "30.37(r)" "30.39" "30.40(a)" "30.40(b)" "30.40(c)" "30.40(d)"

Foreign trade regulation code

internal_transaction_number
string 14 characters

Internal transaction number provided by the US Customs AES System

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "box_shape": "FLY",
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "customs_info": [
    ],
  • "reason_for_export": "P",
  • "reason_for_export_explanation": "string",
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl",
  • "shipping_method": "0",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "pickup": "2019-08-24T14:15:22Z",
  • "signature_service": "SX",
  • "nonstandard_day": "AA",
  • "nonstandard_contents": "HB",
  • "is_dutiable": true,
  • "federal_tax_id": "string",
  • "state_tax_id": "string",
  • "duty_payment_type": "S",
  • "reference_id": "string",
  • "reference_number": "string",
  • "sender_tax_info": {
    },
  • "receiver_tax_info": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": false,
  • "warehouse_id": 0,
  • "shipping_payment_type": "S",
  • "shipping_payment_account": "string",
  • "duty_payment_account": "string",
  • "foreign_trade_regulation": "30.2(d)(2)",
  • "internal_transaction_number": "stringstringst"
}

Get DHL Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
Array of objects <= 1 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

dangerous_goods
string
delivery_confirmation
string
Enum: "DELCON" "SIGCON"
service_endorsement
string
Enum: "1" "2" "3" "4"

1 - Address Service Requested; 2 - Forwarding Service Requested; 3 - Change Service Requested; 4 - Return Service Requested

Array of objects (Customs Line Schema) [ items ]
declared_value
number
insured_value
number
insurance_type
string
Value: "dhl_ecommerce"
shipping_method
required
string
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_id
string

Identifier for a Return Order (RMA)

reference_number
string
ship_date
string <date-time>
object (Tax Info Schema)
object (v1_address)
object (v1_address)
return
boolean
Default: false
return_reason
string

reason for return if return is true

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "dangerous_goods": "string",
  • "delivery_confirmation": "DELCON",
  • "service_endorsement": "1",
  • "customs_info": [
    ],
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl_ecommerce",
  • "shipping_method": "string",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_id": "string",
  • "reference_number": "string",
  • "ship_date": "2019-08-24T14:15:22Z",
  • "receiver_tax_info": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "return": false,
  • "return_reason": "string"
}

Get Endicia Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
reference
string

package level customer reference value

Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

packing_list_id
integer

id for packing list for profile template associated with this label

contents_type
string

to be deprecated in favor of higher use reason_for_export

reason_for_export
string
contents_explanation
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "None"
Enum: "None" "DeliveryConfirmation" "SignatureConfirmation" "AdultSignature" "AdultSignatureRestrictedDelivery" "RestrictedDelivery"
hold_for_pickup
boolean
insurance_type
string
Enum: "discounted_insurance" "endicia"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from address zip code

nondelivery_option
string
Default: "Return"
Enum: "Return" "Abandon"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_id
string

Identifier for a Return Order

reference_number
string

Customer supplied internal reference for the order

return
boolean
ship_date
string <date-time>
shipper_id
required
integer
shipping_method
required
string
stealth
boolean
object (v1_address)
object (v1_address)
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "reference": "string",
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "contents_type": "string",
  • "reason_for_export": "string",
  • "contents_explanation": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "None",
  • "hold_for_pickup": true,
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "nondelivery_option": "Return",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_id": "string",
  • "reference_number": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "stealth": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "warehouse_id": 0
}

Get Fedex Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
alcohol_shipment_license
string
object (v1_address)
object
declared_value
number

Package level Insured Value for Fedex

reference_number
string

Package level reference, not always necessarily a number

Array of objects <= 99 items [ items ]
packing_list_id
integer

id for packing list for profile template associated with this label

Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "SERVICE_DEFAULT"
Enum: "NO_SIGNATURE_REQUIRED" "INDIRECT" "DIRECT" "ADULT" "SERVICE_DEFAULT"
delivery_instructions
string
dry_ice_weight
number
Default: 0

Weight in ounces.

duties_payment_type
string
duties_payment_account
string
object
insurance_type
string
Enum: "discounted_insurance" "fedex"
insured_value
number
Default: 0
label_type
string
Enum: "STOCK_4X85_TRAILING_DOC_TAB" "STOCK_4X105_TRAILING_DOC_TAB"

FedEx: option for Tire Loss labels with doc tab

notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
payment_account
string
payment_type
string
pharmacy_delivery
boolean
Default: false
priority_alert
string
Enum: "PRIORITY_ALERT" "PRIORITY_ALERT_PLUS"
reason_for_export
string
Enum: "SOLD" "NOT_SOLD" "PERSONAL_EFFECTS" "GIFT" "REPAIR_AND_RETURN" "SAMPLE"
reason_for_export_explanation
string
recipient_address_is_residential
boolean
return
boolean
saturday_delivery
boolean
Default: false
ship_date
string <date-time>
shipper_id
required
integer
shipper_type
string
shipping_method
required
string
smart_post_ancillary_endorsement
string
Enum: "ADDRESS_CORRECTION" "CARRIER_LEAVE_IF_NO_RESPONSE" "CHANGE_SERVICE" "FORWARDING_SERVICE" "RETURN_SERVICE"

Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.

smart_post_hub
string
smart_post_indicia
string
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

dangerous_goods_option
string
dangerous_goods_regulation_type
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

etd_service
boolean
Array of objects[ items ]

for referencing previously uploaded ETD for shipment label

hold_at_location
boolean
hold_at_location_id
string
certificate_of_origin
boolean

Request samples

Content type
application/json
{
  • "alcohol_shipment_license": "string",
  • "alternate_return_to_address": {
    },
  • "cod": {
    },
  • "declared_value": 0,
  • "reference_number": "string",
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "customs_info": [
    ],
  • "delivery_confirmation": "NO_SIGNATURE_REQUIRED",
  • "delivery_instructions": "string",
  • "dry_ice_weight": 0,
  • "duties_payment_type": "string",
  • "duties_payment_account": "string",
  • "importer_of_record": {
    },
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "label_type": "STOCK_4X85_TRAILING_DOC_TAB",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "payment_account": "string",
  • "payment_type": "string",
  • "pharmacy_delivery": false,
  • "priority_alert": "PRIORITY_ALERT",
  • "reason_for_export": "SOLD",
  • "reason_for_export_explanation": "string",
  • "recipient_address_is_residential": true,
  • "return": true,
  • "saturday_delivery": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "shipper_type": "string",
  • "shipping_method": "string",
  • "smart_post_ancillary_endorsement": "ADDRESS_CORRECTION",
  • "smart_post_hub": "string",
  • "smart_post_indicia": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "dangerous_goods_option": "string",
  • "dangerous_goods_regulation_type": "string",
  • "warehouse_id": 0,
  • "etd_service": true,
  • "etd_preshipment_docs": [
    ],
  • "hold_at_location": true,
  • "hold_at_location_id": "string",
  • "certificate_of_origin": true
}

Get Pitney Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
object (v1_address)
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Enum: "DelCon" "Sig" "ADSIG" "ADSIGRD" "SigRD"
insurance_type
string
Value: "discounted_insurance"
insured_value
number
mailing_zip_code
string

mailing post office zip code if different than from address zip code

non_delivery
string
Enum: "return" "abandon" "redirect"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
Array of objects[ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

packing_list_id
integer

id for packing list for profile template associated with this label

pitney_rate_type
string
rate_cost
number
reason_for_export
string
Enum: "GIFT" "COMMERCIAL_SAMPLE" "MERCHANDISE" "DOCUMENTS" "RETURNED_GOODS" "OTHER"
reason_for_export_explanation
string
object (Tax Info Schema)
reference_id
string

Identifier for a Return Order

reference_number
string
return
boolean
ship_date
string <date-time>
object (v1_address)
object (v1_address)
shipper_id
required
integer
shipping_method
required
string (Pitney Shipping Methods)
Enum: "ALL" "FCM" "PM" "PMC" "EM" "STDPOST" "PRCLSEL" "MEDIA" "LIB" "FCMI" "FCPIS" "EMI" "PMI" "UGA"

USPS service types choices. ALL returns all available rates based on box type, dimensions, and addresses. other options include [FCM - First-Class Mail, PM - Priority Mail, PMC - Priority Mail Cubic, EM - Express Mail, STDPOST - Standard Post, PRCLSEL - Parcel Select Ground, MEDIA - Media Mail, LIB - Library Mail, FCMI - First-Class Mail International, FCPIS - First-Class Package International, EMI - Priority Mail Express International, PMI - Priority Mail International]

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "alternate_return_to_address": {
    },
  • "customs_info": [
    ],
  • "delivery_confirmation": "DelCon",
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "non_delivery": "return",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "packing_list_id": 0,
  • "pitney_rate_type": "string",
  • "rate_cost": 0,
  • "reason_for_export": "GIFT",
  • "reason_for_export_explanation": "string",
  • "sender_tax_info": {
    },
  • "reference_id": "string",
  • "reference_number": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "shipper_id": 0,
  • "shipping_method": "ALL",
  • "warehouse_id": 0
}

Get UPS Label for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
additional_handling
boolean
certificate_origin
boolean
Default: false
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string

['0' - None, '1' - Confirm, '2' - Signature, '3' - Adult Signature, '4' - USPS for use with Mail Innovations]

direct_delivery
boolean
dry_ice_regulation_set
string

indicates dry ice shipment option [CFR = For HazMat regulated by US Dept of Transportation within the U.S. or ground shipments to Canada, IATA = For Worldwide Air movement]

insurance_type
string
insured_value
number
Default: 0
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
box_shape
string

ups box options [01 - UPS Letter, 02 - Customer Supplied Package, 03 - Tube, 04 - PAK, 2a - Small Express Box, 2b - Medium Express Box, 2c - Large Express Box, 24 - UPS 25KG Box, 25 - UPS 10KG Box]

declared_value
number

Package level declared value for UPS

description
string

Package level description, required for return shipments

dry_ice_weight
number

Dry ice weight in ounces, required for dry ice shipments

height
number

Height in inches

length
number

Length in inches

weight
number

weight of the package in ounces

width
number

Width in inches

Array of objects <= 200 items [ items ]
package_bill_type
string
Enum: "02" "03" "04" "07"

required for shoptimeintransit rates: document, non-document, wwef pallet, or domestic pallet. describes the contents of the package.

packing_list_id
integer

id for packing list for profile template associated with this label

payment_type
string
Default: "BillShipper"

payor for the shipment [BillShipper, BillReceiver, BillThirdParty]

payment_account
string

account number for payment type

payment_zip
string

postal code of the payor, required for payment_type: BillThirdParty

payment_country
string

2 character country code of the payor, required for payment_type: BillThirdParty

duties_payment_type
string
Default: "BillShipper"

payor for the shipment [BillShipper, BillReceiver, BillThirdParty]

duties_payment_account
string

account number for payment type

duties_payment_zip
string

postal code of the payor, required for payment_type: BillThirdParty

duties_payment_country
string

2 character country code of the payor, required for payment_type: BillThirdParty

reason_for_export
string
object (Tax Info Schema)
recipient_address_is_residential
boolean
reference_number
string

Customer supplied internal reference for the order

return
boolean
saturday_delivery
boolean
Default: false
object (Tax Info Schema)
shipper_id
required
integer
shipper_type
string
shipping_method
required
string

options: ['01' - Next Day, '02' - Second Day, '03' - Ground, '07' - Worldwide Express, '08' - Worldwide Expedited, '11' - Standard, '12' - Three Day Select, '13' - Next Day Air Saver, '14' - Next Day AM, '54' - Worldwide Express Plus, '59' - Second Day AM, '65' - Saver, '92' - SurePost Less Than 1 lb, '93' - SurePost Greater Than 1lb, '94' - SurePost BPM, '95' - SurePost Media; The following service types are used with UPS Mail Innovations: 'M2' - USPS First Class Mail, 'M3' - USPS Priority Mail, 'M4' - Expedited Mail Innovations, 'M5' - Priority Mail Innovations, 'M6' - Economy Mail Innovations]

shipper_release
boolean
object (v1_address)
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

usps_endorsement
string

Required for UPS Mail Innovations shipments

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

cost_center
string <= 30 characters

The Cost Center code for UPS Mail Innovations shipments

Request samples

Content type
application/json
{
  • "additional_handling": true,
  • "certificate_origin": false,
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "direct_delivery": true,
  • "dry_ice_regulation_set": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "box_shape": "string",
  • "declared_value": 0,
  • "description": "string",
  • "dry_ice_weight": 0,
  • "height": 0,
  • "length": 0,
  • "weight": 0,
  • "width": 0,
  • "packages": [
    ],
  • "package_bill_type": "02",
  • "packing_list_id": 0,
  • "payment_type": "BillShipper",
  • "payment_account": "string",
  • "payment_zip": "string",
  • "payment_country": "string",
  • "duties_payment_type": "BillShipper",
  • "duties_payment_account": "string",
  • "duties_payment_zip": "string",
  • "duties_payment_country": "string",
  • "reason_for_export": "string",
  • "receiver_tax_info": {
    },
  • "recipient_address_is_residential": true,
  • "reference_number": "string",
  • "return": true,
  • "saturday_delivery": false,
  • "sender_tax_info": {
    },
  • "shipper_id": 0,
  • "shipper_type": "string",
  • "shipping_method": "string",
  • "shipper_release": true,
  • "shipper_return_to_address": {
    },
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "usps_endorsement": "string",
  • "warehouse_id": 0,
  • "cost_center": "string"
}

Return Order Rate

Get Australia Post Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
box_shape
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
insurance_type
string
insured_value
number
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
required
Array of objects <= 200 items [ items ]
reason_for_export
string
reference_number
string

Package level reference, not always necessarily a number

ship_date
string
object (v1_address)
object (v1_address)
shipper_id
required
integer
reference_id
string

Identifier for a Return Order

shipping_method
string

ignored for rate requests

property name*
any

Request samples

Content type
application/json
{
  • "box_shape": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "packages": [
    ],
  • "reason_for_export": "string",
  • "reference_number": "string",
  • "ship_date": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "shipper_id": 0,
  • "reference_id": "string",
  • "shipping_method": "string"
}

Get Canada Post Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
reason_for_export
string
Enum: "SOG" "DOC" "SAM" "REP" "OTH"
nondelivery_option
string
Enum: "RASE" "RTS" "ABAN"
delivery_confirmation
string
Enum: "SO" "PA18" "PA19"
service_option
string
insurance_type
string
Value: "canada_post"
insured_value
number
Default: 0
shipper_id
required
integer
Array of objects <= 1 items [ items ]
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "reason_for_export": "SOG",
  • "nondelivery_option": "RASE",
  • "delivery_confirmation": "SO",
  • "service_option": "string",
  • "insurance_type": "canada_post",
  • "insured_value": 0,
  • "shipper_id": 0,
  • "packages": [
    ],
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "return": true,
  • "warehouse_id": 0
}

Get DHL Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
shipper_id
required
integer
Array of objects <= 1 items [ items ]
declared_value
number

Shipment Level Declared Value for Dutiable International Shipments

insured_value
number
insurance_type
string
Value: "dhl"
ship_date
string <date-time>
reference_number
string
pickup
string <date-time>

pickup date time to schedule for the carrier

signature_service
string
Value: "SX"

signature service option. Signature services are included in international shipments. Use SX for no signature required

nonstandard_day
string
Enum: "AA" "AB" "AC" "AD" "AG"

options are [AA - Saturday Delivery, AB - Saturday Pickup, AC - Holiday Delivery, AD - Holiday Pickup, AG - Domestic Saturday Delivery]

nonstandard_contents
string
Enum: "HB" "HC" "HD" "HE" "HG" "HH" "HI" "HK" "HL" "HM" "HN" "HV" "HW" "HY"

options are [HB - Lithium Ion PI965 Section II, HC - Dry Ice UN1845, HD - Lithium Ion PI965-966 Section II, HE - Dangerous Goods, HG - Perishable Cargo, HH - Excepted Quantity, HI - Spill Cleaning, HK - Consumer Commodities, HL - Limited Quantities ADR, HM - Lithium Metal PI969 Section II, HN - ADR Load Exemption, HV - Lithium Ion PI967-Section II, HW - Lithium Metal PI970-Section II, HY - Biological UN3373]

is_dutiable
boolean
Default: true
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

return
boolean
Default: false

For orders, determines whether the originating and destination addresses will be swapped for a return label request

warehouse_id
integer

DEPRECATED: ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "shipper_id": 0,
  • "packages": [
    ],
  • "declared_value": 0,
  • "insured_value": 0,
  • "insurance_type": "dhl",
  • "ship_date": "2019-08-24T14:15:22Z",
  • "reference_number": "string",
  • "pickup": "2019-08-24T14:15:22Z",
  • "signature_service": "SX",
  • "nonstandard_day": "AA",
  • "nonstandard_contents": "HB",
  • "is_dutiable": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "return": false,
  • "warehouse_id": 0
}

Get Endicia Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

contents_type
string

to be deprecated in favor of higher use reason_for_export

reason_for_export
string
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "None"
Enum: "None" "DeliveryConfirmation" "SignatureConfirmation" "AdultSignature" "AdultSignatureRestrictedDelivery" "RestrictedDelivery"
hold_for_pickup
boolean
insurance_type
string
Enum: "discounted_insurance" "endicia"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from address zip code

nondelivery_option
string
Default: "Return"
Enum: "Return" "Abandon"
notify_bill_to
boolean
Default: false
notify_ship_to
boolean
Default: false
reference_number
string

Customer supplied internal reference for an order

return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

ship_date
string <date-time>
shipper_id
required
integer
shipping_method
string
stealth
boolean

NOTE: Ignored for rates. Display indicia on the label

object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "packages": [
    ],
  • "contents_type": "string",
  • "reason_for_export": "string",
  • "customs_info": [
    ],
  • "delivery_confirmation": "None",
  • "hold_for_pickup": true,
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "nondelivery_option": "Return",
  • "notify_bill_to": false,
  • "notify_ship_to": false,
  • "reference_number": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "stealth": true,
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "warehouse_id": 0
}

Get Fedex Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
alcohol_shipment_license
string
declared_value
number

Package level Insured Value for Fedex

Array of objects <= 99 items [ items ]
object
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string
Default: "SERVICE_DEFAULT"
Enum: "NO_SIGNATURE_REQUIRED" "INDIRECT" "DIRECT" "ADULT" "SERVICE_DEFAULT"
delivery_instructions
string
dry_ice_weight
number
Default: 0

Weight in ounces.

duties_payment_type
string
duties_payment_account
string
object
insurance_type
string
Enum: "discounted_insurance" "fedex"
insured_value
number
Default: 0
payment_account
string
payment_type
string
pharmacy_delivery
boolean
Default: false
priority_alert
string
Enum: "PRIORITY_ALERT" "PRIORITY_ALERT_PLUS"
reason_for_export
string
Enum: "SOLD" "NOT_SOLD" "PERSONAL_EFFECTS" "GIFT" "REPAIR_AND_RETURN" "SAMPLE"
reason_for_export_explanation
string
recipient_address_is_residential
boolean
reference_number
string
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

saturday_delivery
boolean
Default: false
ship_date
string <date-time>
shipper_id
required
integer
smart_post_ancillary_endorsement
string
Enum: "ADDRESS_CORRECTION" "CARRIER_LEAVE_IF_NO_RESPONSE" "CHANGE_SERVICE" "FORWARDING_SERVICE" "RETURN_SERVICE"

Required for Presorted Standard but not for returns or parcel select. They are not all usable for all ancillary endorsements.

smart_post_hub
string
smart_post_indicia
string
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

dangerous_goods_option
string
dangerous_goods_regulation_type
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

etd_service
boolean
hold_at_location
boolean
hold_at_location_id
string
certificate_of_origin
boolean

Request samples

Content type
application/json
{
  • "alcohol_shipment_license": "string",
  • "declared_value": 0,
  • "packages": [
    ],
  • "cod": {
    },
  • "customs_info": [
    ],
  • "delivery_confirmation": "NO_SIGNATURE_REQUIRED",
  • "delivery_instructions": "string",
  • "dry_ice_weight": 0,
  • "duties_payment_type": "string",
  • "duties_payment_account": "string",
  • "importer_of_record": {
    },
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "payment_account": "string",
  • "payment_type": "string",
  • "pharmacy_delivery": false,
  • "priority_alert": "PRIORITY_ALERT",
  • "reason_for_export": "SOLD",
  • "reason_for_export_explanation": "string",
  • "recipient_address_is_residential": true,
  • "reference_number": "string",
  • "return": true,
  • "saturday_delivery": false,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "shipper_id": 0,
  • "smart_post_ancillary_endorsement": "ADDRESS_CORRECTION",
  • "smart_post_hub": "string",
  • "smart_post_indicia": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "dangerous_goods_option": "string",
  • "dangerous_goods_regulation_type": "string",
  • "warehouse_id": 0,
  • "etd_service": true,
  • "hold_at_location": true,
  • "hold_at_location_id": "string",
  • "certificate_of_origin": true
}

Get USPS Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
delivery_confirmation
string
Enum: "DelCon" "Sig" "ADSIG" "ADSIGRD" "SigRD"
insurance_type
string
Value: "discounted_insurance"
insured_value
number
Default: 0
mailing_zip_code
string

mailing post office zip code if different than from_address zip code, ignored in rate request

non_delivery
string
Enum: "return" "abandon" "redirect"
Array of objects <= 1 items [ items ]

This should always be an array of 1, as USPS does not allow for multiple package shipments at this time

pitney_rate_type
string
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

ship_date
string <date-time>
object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

shipper_id
required
integer
shipping_method
required
string
warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

Request samples

Content type
application/json
{
  • "delivery_confirmation": "DelCon",
  • "insurance_type": "discounted_insurance",
  • "insured_value": 0,
  • "mailing_zip_code": "string",
  • "non_delivery": "return",
  • "packages": [
    ],
  • "pitney_rate_type": "string",
  • "return": true,
  • "ship_date": "2019-08-24T14:15:22Z",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "warehouse_id": 0
}

Get UPS Rate for Return Order

path Parameters
order_number
required
string

Unique identifier for an Order that includes a cart index prefix

Request Body schema: application/json
additional_handling
boolean
certificate_origin
boolean
Array of objects (Customs Line Schema) [ items ]
delivery_confirmation
string

['0' - None, '1' - Confirm, '2' - Signature, '3' - Adult Signature]

direct_delivery
boolean
dry_ice_regulation_set
string

indicates dry ice shipment option [CFR = For HazMat regulated by US Dept of Transportation within the U.S. or ground shipments to Canada, IATA = For Worldwide Air movement]

insurance_type
string
insured_value
number
box_shape
string

DEPRECATED: USE PACKAGES. ups box options [01 - UPS Letter, 02 - Customer Supplied Package, 03 - Tube, 04 - PAK, 2a - Small Express Box, 2b - Medium Express Box, 2c - Large Express Box, 24 - UPS 25KG Box, 25 - UPS 10KG Box]

declared_value
number

DEPRECATED: USE PACKAGES. Package level declared value for UPS

description
string

DEPRECATED: USE PACKAGES. Package level description, required for return label creation

dry_ice_weight
number

DEPRECATED: USE PACKAGES. Dry ice weight in ounces, required for dry ice shipments

reference_number
string

Package level reference, not always necessarily a number

weight
number

DEPRECATED: USE PACKAGES. Weight in ounces

length
number

DEPRECATED: USE PACKAGES. Length in inches

width
number

DEPRECATED: USE PACKAGES. Width in inches

height
number

DEPRECATED: USE PACKAGES. Height in inches

Array of objects <= 200 items [ items ]
package_bill_type
string
Enum: "02" "03" "04" "07"

required for shoptimeintransit rates: document, non-document, wwef pallet, or domestic pallet. describes the contents of the package.

payment_type
string
payment_account
string
payment_zip
string
payment_country
string
duties_payment_type
string
duties_payment_account
string
duties_payment_zip
string
duties_payment_country
string
reason_for_export
string
object (Tax Info Schema)
recipient_address_is_residential
boolean
return
boolean

For orders, determines whether the originating and destination addresses will be swapped for a return label request

saturday_delivery
boolean
object (Tax Info Schema)
shipper_id
required
integer
shipping_method
string
shipper_release
boolean
object (v1_address)
usps_endorsement
string

Required for UPS Mail Innovations shipments

object (v1_address)
object (v1_address)
reference_id
string

Identifier for a Return Order

warehouse_id
integer

Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.

cost_center
string

The Cost Center code for UPS Mail Innovations shipments

Request samples

Content type
application/json
{
  • "additional_handling": true,
  • "certificate_origin": true,
  • "customs_info": [
    ],
  • "delivery_confirmation": "string",
  • "direct_delivery": true,
  • "dry_ice_regulation_set": "string",
  • "insurance_type": "string",
  • "insured_value": 0,
  • "box_shape": "string",
  • "declared_value": 0,
  • "description": "string",
  • "dry_ice_weight": 0,
  • "reference_number": "string",
  • "weight": 0,
  • "length": 0,
  • "width": 0,
  • "height": 0,
  • "packages": [
    ],
  • "package_bill_type": "02",
  • "payment_type": "string",
  • "payment_account": "string",
  • "payment_zip": "string",
  • "payment_country": "string",
  • "duties_payment_type": "string",
  • "duties_payment_account": "string",
  • "duties_payment_zip": "string",
  • "duties_payment_country": "string",
  • "reason_for_export": "string",
  • "receiver_tax_info": {
    },
  • "recipient_address_is_residential": true,
  • "return": true,
  • "saturday_delivery": true,
  • "sender_tax_info": {
    },
  • "shipper_id": 0,
  • "shipping_method": "string",
  • "shipper_release": true,
  • "shipper_return_to_address": {
    },
  • "usps_endorsement": "string",
  • "ship_from": {
    },
  • "ship_to": {
    },
  • "reference_id": "string",
  • "warehouse_id": 0,
  • "cost_center": "string"
}