ShipHero

App · 23 actions

Manage ShipHero orders, products, stock, shipments, returns and purchase orders in your warehouses.

Actions

ActionWhat it does
Add order noteAdd a note to an order's history.
Add order tagsAdd tags to an order, keeping its others.
Add stockAdd units of a product to a warehouse's stock.
Cancel orderCancel an order.
Create orderCreate an order to fulfill, with its ship-to address and line items.
Create productCreate a product and stock it in one warehouse.
Delete productDelete a product from every warehouse.
Get accountRead the connected ShipHero account and its warehouses.
Get orderRead one order with its address, line items, holds and tags.
Get productRead one product by its SKU, with its stock in each warehouse.
Get purchase orderRead one purchase order by its PO number.
List ordersList orders with filters for order number, status, SKU, email, store, warehouse and dates.
List productsList products with their stock in each warehouse, optionally by SKU or when they were created or changed.
List purchase ordersList purchase orders with their items, optionally by SKU, warehouse or date.
List returnsList returns (RMAs) with their items and status, for one order, one warehouse or a span of dates.
List shipmentsList shipments with their labels and tracking numbers, for one order or a span of dates.
List stock changesList changes to on-hand stock, with who made each and why.
List stock levelsList stock by warehouse: on hand, available, allocated and backordered for each SKU.
Remove stockTake units of a product out of a warehouse's stock.
Set stockSet how many of a product a warehouse has on hand.
Update orderChange an order's notes, ship-by or hold-until date, or priority.
Update order statusChange an order's fulfillment status, such as to fulfilled or a status of your own.
Update productChange a product's name, barcode, tariff code, tags or packer note.

Add order note

Add a note to an order's history.

Inputs

Orderorder_idtextRequired
The order in ShipHero.
NotemessagetextRequired
The note.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Add order tags

Add tags to an order, keeping its others.

Inputs

Orderorder_idtextRequired
The order in ShipHero.
TagstagslistRequired
The tags to add.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Add stock

Add units of a product to a warehouse's stock.

Inputs

ProductskutextRequired
The product's SKU.
Warehousewarehouse_idtextRequired
The warehouse.
QuantityquantitynumberRequired
How many.At least 0.
Reasonreasontext
Why the stock changed, shown in its history.
Location IDlocation_idtext
The bin location, for a warehouse that uses dynamic slotting.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "allocated": 1,
    "available": 1,
    "backorder": 1,
    "id": "example",
    "inventory_bin": "example",
    "on_hand": 1,
    "price": "example",
    "reorder_level": 1,
    "reserve_inventory": 1,
    "sku": "example",
    "updated_at": "example",
    "value": "example",
    "warehouse_id": "example",
    "warehouse_identifier": "example"
  }
}

Cancel order

Cancel an order.

Inputs

Orderorder_idtextRequired
The order in ShipHero.
Reasonreasontext
Why the order is cancelled.
Cancel in the store toovoid_on_platformtrue/false
Also cancel the order in the store it came from.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Create order

Create an order to fulfill, with its ship-to address and line items.

Inputs

Order numberorder_numbertextRequired
Your order number.
Line itemsline_itemslistRequired
The products ordered: each with its `sku`, `quantity` and `price`, and optionally `product_name`. Each line gets an ID made from the order number when it has no `partner_line_item_id`.
First namefirst_nametextRequired
Ship-to first name.
Last namelast_nametext
Ship-to last name.
Companycompanytext
Ship-to company.
Address line 1address1textRequired
Ship-to street.
Address line 2address2text
Ship-to street line 2.
CitycitytextRequired
Ship-to city.
Statestatetext
Ship-to state or province, such as `CA`.
ZIP or postal codeziptext
Ship-to ZIP or postal code.
CountrycountrytextRequired
Ship-to country as a two-letter code, such as `US`.
Phonephonetext
Ship-to phone.
Emailemailtext
The customer's email.
Storeshop_nametext
The store the order came from, as named in ShipHero.
Shipping methodshipping_methodtext
The shipping method to show, such as `Ground`.
Shipping priceshipping_pricenumber
What the customer paid for shipping.
Fulfillment statusfulfillment_statustext
The order's status. ShipHero uses `pending` when empty.
Order dateorder_datedate and time
When the order was placed.
Totaltotal_pricenumber
The order's total.
Subtotalsubtotalnumber
The order's subtotal.
Taxtotal_taxnumber
The tax on the order.
Tagstagslist
Tags to add to the order.
Packing notepacking_notetext
A note for the packer.
Gift notegift_notetext
A gift message printed for the customer.
Ship byrequired_ship_datedate and time
The date the order must ship by.
Hold untilhold_until_datedate and time
Hold the order until this date.
Prioritypriority_flagtrue/false
Flag the order as a priority.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Create product

Create a product and stock it in one warehouse.

Inputs

NamenametextRequired
The product's name.
SKUskutextRequired
The product's SKU, unique in ShipHero.
Warehousewarehouse_idtextRequired
The warehouse to stock it in.
On handon_handnumber
How many are in that warehouse now. 0 when empty.At least 0.
Pricepricenumber
The selling price.
Valuevaluenumber
What one costs you.
Barcodebarcodetext
The barcode.
Tariff codetariff_codetext
The customs tariff (HS) code.
Country of manufacturecountry_of_manufacturetext
Where it is made, as a two-letter code, such as `US`.
Tagstagslist
Tags for the product.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "barcode": "example",
    "country_of_manufacture": "example",
    "created_at": "example",
    "dimensions": {
      "height": "example",
      "length": "example",
      "weight": "example",
      "width": "example"
    },
    "dropship": true,
    "final_sale": true,
    "id": "example",
    "images": [
      {
        "position": 1,
        "src": "example"
      }
    ],
    "kit": true,
    "legacy_id": 1,
    "name": "example",
    "product_note": "example",
    "sku": "example",
    "tags": [
      "example"
    ],
    "tariff_code": "example",
    "updated_at": "example",
    "virtual": true,
    "warehouse_products": [
      {
        "active": true,
        "allocated": 1,
        "available": 1,
        "backorder": 1,
        "id": "example",
        "inventory_bin": "example",
        "on_hand": 1,
        "price": "example",
        "reorder_level": 1,
        "reserve_inventory": 1,
        "sku": "example",
        "updated_at": "example",
        "value": "example",
        "warehouse_id": "example",
        "warehouse_identifier": "example"
      }
    ]
  }
}

Delete product

Delete a product from every warehouse.

Inputs

ProductskutextRequired
The product's SKU.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "complexity": 1,
    "request_id": "example"
  }
}

Get account

Read the connected ShipHero account and its warehouses.

Inputs

None.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "id": "example",
    "is_3pl": true,
    "is_multi_warehouse": true,
    "legacy_id": 1,
    "status": "example",
    "username": "example",
    "warehouses": [
      {
        "address": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "country": "example",
          "name": "example",
          "phone": "example",
          "state": "example",
          "zip": "example"
        },
        "company_name": "example",
        "id": "example",
        "identifier": "example",
        "legacy_id": 1,
        "phone_number": "example"
      }
    ]
  }
}

Get order

Read one order with its address, line items, holds and tags.

Inputs

Orderorder_idtextRequired
The order in ShipHero.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Get product

Read one product by its SKU, with its stock in each warehouse.

Inputs

ProductskutextRequired
The product's SKU.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "barcode": "example",
    "country_of_manufacture": "example",
    "created_at": "example",
    "dimensions": {
      "height": "example",
      "length": "example",
      "weight": "example",
      "width": "example"
    },
    "dropship": true,
    "final_sale": true,
    "id": "example",
    "images": [
      {
        "position": 1,
        "src": "example"
      }
    ],
    "kit": true,
    "legacy_id": 1,
    "name": "example",
    "product_note": "example",
    "sku": "example",
    "tags": [
      "example"
    ],
    "tariff_code": "example",
    "updated_at": "example",
    "virtual": true,
    "warehouse_products": [
      {
        "active": true,
        "allocated": 1,
        "available": 1,
        "backorder": 1,
        "id": "example",
        "inventory_bin": "example",
        "on_hand": 1,
        "price": "example",
        "reorder_level": 1,
        "reserve_inventory": 1,
        "sku": "example",
        "updated_at": "example",
        "value": "example",
        "warehouse_id": "example",
        "warehouse_identifier": "example"
      }
    ]
  }
}

Get purchase order

Read one purchase order by its PO number.

Inputs

PO numberpo_numbertextRequired
The purchase order's number.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "arrived_at": "example",
    "created_at": "example",
    "date_closed": "example",
    "description": "example",
    "fulfillment_status": "example",
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "fulfillment_status": "example",
            "id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_received": 1,
            "quantity_rejected": 1,
            "sku": "example"
          }
        }
      ]
    },
    "po_date": "example",
    "po_note": "example",
    "po_number": "example",
    "shipping_price": "example",
    "subtotal": "example",
    "tax": "example",
    "total_price": "example",
    "tracking_number": "example",
    "vendor_id": "example",
    "warehouse_id": "example"
  }
}

List orders

List orders with filters for order number, status, SKU, email, store, warehouse and dates.

Inputs

Order numberorder_numbertext
Only the order with this number.
Fulfillment statusfulfillment_statustext
Only orders in this fulfillment status, such as `pending`, `fulfilled` or `canceled`, or one of your own.
SKUskutext
Only orders containing this SKU.
Emailemailtext
Only orders from this customer email.
Storeshop_nametext
Only orders from this store, by its name in ShipHero.
Warehousewarehouse_idtext
Only orders for this warehouse.
Placed afterorder_date_fromdate and time
Only orders placed on or after this time.
Placed beforeorder_date_todate and time
Only orders placed on or before this time.
Updated afterupdated_fromdate and time
Only orders changed on or after this time.
Updated beforeupdated_todate and time
Only orders changed on or before this time.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
Limitlimitnumber
How many orders to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "email": "example",
        "fulfillment_status": "example",
        "gift_note": "example",
        "hold_until_date": "example",
        "holds": {
          "address_hold": true,
          "client_hold": true,
          "fraud_hold": true,
          "operator_hold": true,
          "payment_hold": true,
          "shipping_method_hold": true
        },
        "id": "example",
        "legacy_id": 1,
        "line_items": {
          "edges": [
            {
              "node": {
                "backorder_quantity": 1,
                "fulfillment_status": "example",
                "id": "example",
                "partner_line_item_id": "example",
                "price": "example",
                "product_name": "example",
                "quantity": 1,
                "quantity_allocated": 1,
                "quantity_shipped": 1,
                "sku": "example"
              }
            }
          ]
        },
        "order_date": "example",
        "order_number": "example",
        "packing_note": "example",
        "partner_order_id": "example",
        "priority_flag": true,
        "profile": "example",
        "required_ship_date": "example",
        "shipping_address": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "company": "example",
          "country": "example",
          "country_code": "example",
          "email": "example",
          "first_name": "example",
          "last_name": "example",
          "phone": "example",
          "state": "example",
          "state_code": "example",
          "zip": "example"
        },
        "shipping_lines": {
          "carrier": "example",
          "method": "example",
          "price": "example",
          "title": "example"
        },
        "shop_name": "example",
        "subtotal": "example",
        "tags": [
          "example"
        ],
        "total_discounts": "example",
        "total_price": "example",
        "total_tax": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List products

List products with their stock in each warehouse, optionally by SKU or when they were created or changed.

Inputs

SKUskutext
Only the product with this SKU.
Created aftercreated_fromdate and time
Only products created on or after this time.
Created beforecreated_todate and time
Only products created on or before this time.
Updated afterupdated_fromdate and time
Only products changed on or after this time.
Updated beforeupdated_todate and time
Only products changed on or before this time.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
Limitlimitnumber
How many products to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "active": true,
        "barcode": "example",
        "country_of_manufacture": "example",
        "created_at": "example",
        "dimensions": {
          "height": "example",
          "length": "example",
          "weight": "example",
          "width": "example"
        },
        "dropship": true,
        "final_sale": true,
        "id": "example",
        "images": [
          {
            "position": 1,
            "src": "example"
          }
        ],
        "kit": true,
        "legacy_id": 1,
        "name": "example",
        "product_note": "example",
        "sku": "example",
        "tags": [
          "example"
        ],
        "tariff_code": "example",
        "updated_at": "example",
        "virtual": true,
        "warehouse_products": [
          {
            "active": true,
            "allocated": 1,
            "available": 1,
            "backorder": 1,
            "id": "example",
            "inventory_bin": "example",
            "on_hand": 1,
            "price": "example",
            "reorder_level": 1,
            "reserve_inventory": 1,
            "sku": "example",
            "updated_at": "example",
            "value": "example",
            "warehouse_id": "example",
            "warehouse_identifier": "example"
          }
        ]
      }
    ],
    "next_cursor": "example"
  }
}

List purchase orders

List purchase orders with their items, optionally by SKU, warehouse or date.

Inputs

SKUskutext
Only purchase orders for this SKU.
Warehousewarehouse_idtext
Only purchase orders for this warehouse.
Created aftercreated_fromdate and time
Only purchase orders created on or after this time.
Created beforecreated_todate and time
Only purchase orders created on or before this time.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
Limitlimitnumber
How many purchase orders to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "arrived_at": "example",
        "created_at": "example",
        "date_closed": "example",
        "description": "example",
        "fulfillment_status": "example",
        "id": "example",
        "legacy_id": 1,
        "line_items": {
          "edges": [
            {
              "node": {
                "fulfillment_status": "example",
                "id": "example",
                "price": "example",
                "product_name": "example",
                "quantity": 1,
                "quantity_received": 1,
                "quantity_rejected": 1,
                "sku": "example"
              }
            }
          ]
        },
        "po_date": "example",
        "po_note": "example",
        "po_number": "example",
        "shipping_price": "example",
        "subtotal": "example",
        "tax": "example",
        "total_price": "example",
        "tracking_number": "example",
        "vendor_id": "example",
        "warehouse_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List returns

List returns (RMAs) with their items and status, for one order, one warehouse or a span of dates.

Inputs

Orderorder_idtext
Only returns of this order.
Warehousewarehouse_idtext
Only returns to this warehouse.
Fromdate_fromdate and time
Only returns made on or after this time.
Todate_todate and time
Only returns made on or before this time.
Limitlimitnumber
How many returns to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "address": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "country": "example",
          "name": "example",
          "phone": "example",
          "state": "example",
          "zip": "example"
        },
        "cost_to_customer": "example",
        "created_at": "example",
        "id": "example",
        "label_cost": "example",
        "legacy_id": 1,
        "line_items": [
          {
            "condition": "example",
            "id": "example",
            "line_item_id": "example",
            "quantity": 1,
            "quantity_received": 1,
            "reason": "example",
            "restock": 1
          }
        ],
        "order_id": "example",
        "partner_id": "example",
        "reason": "example",
        "shipping_carrier": "example",
        "shipping_method": "example",
        "status": "example",
        "total_items_expected": 1,
        "total_items_received": 1,
        "total_items_restocked": 1
      }
    ],
    "next_cursor": "example"
  }
}

List shipments

List shipments with their labels and tracking numbers, for one order or a span of dates.

Inputs

Orderorder_idtext
Only shipments of this order.
Fromdate_fromdate and time
Only shipments made on or after this time.
Todate_todate and time
Only shipments made on or before this time.
Limitlimitnumber
How many shipments to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "address": {
          "address1": "example",
          "address2": "example",
          "city": "example",
          "country": "example",
          "name": "example",
          "phone": "example",
          "state": "example",
          "zip": "example"
        },
        "completed": true,
        "created_date": "example",
        "delivered": true,
        "id": "example",
        "legacy_id": 1,
        "order_id": "example",
        "picked_up": true,
        "refunded": true,
        "shipped_off_shiphero": true,
        "shipping_labels": [
          {
            "carrier": "example",
            "cost": "example",
            "created_date": "example",
            "id": "example",
            "shipping_method": "example",
            "shipping_name": "example",
            "status": "example",
            "tracking_number": "example"
          }
        ],
        "warehouse_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List stock changes

List changes to on-hand stock, with who made each and why.

Inputs

SKUskutext
Only changes to this SKU.
Warehousewarehouse_idtext
Only changes in this warehouse.
Fromdate_fromdate and time
Only changes on or after this time.
Todate_todate and time
Only changes on or before this time.
Limitlimitnumber
How many changes to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "change_in_on_hand": 1,
        "created_at": "example",
        "cycle_counted": true,
        "location_id": "example",
        "previous_on_hand": 1,
        "reason": "example",
        "sku": "example",
        "user_id": "example",
        "warehouse_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List stock levels

List stock by warehouse: on hand, available, allocated and backordered for each SKU.

Inputs

Warehousewarehouse_idtext
Only this warehouse.
SKUskutext
Only this SKU.
Activeactivetrue/false
Active products only (or inactive only, when off).
Updated afterupdated_fromdate and time
Only stock changed on or after this time.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
Limitlimitnumber
How many stock records to return, up to 100. ShipHero charges query credits per record, so smaller pages go further.From 1 to 100. Default: 25.
Cursorcursortext
To read the next page, the next_cursor a previous list step returned.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "count": 1,
    "items": [
      {
        "active": true,
        "allocated": 1,
        "available": 1,
        "backorder": 1,
        "id": "example",
        "inventory_bin": "example",
        "on_hand": 1,
        "price": "example",
        "reorder_level": 1,
        "reserve_inventory": 1,
        "sku": "example",
        "updated_at": "example",
        "value": "example",
        "warehouse_id": "example",
        "warehouse_identifier": "example"
      }
    ],
    "next_cursor": "example"
  }
}

Remove stock

Take units of a product out of a warehouse's stock.

Inputs

ProductskutextRequired
The product's SKU.
Warehousewarehouse_idtextRequired
The warehouse.
QuantityquantitynumberRequired
How many.At least 0.
Reasonreasontext
Why the stock changed, shown in its history.
Location IDlocation_idtext
The bin location, for a warehouse that uses dynamic slotting.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "allocated": 1,
    "available": 1,
    "backorder": 1,
    "id": "example",
    "inventory_bin": "example",
    "on_hand": 1,
    "price": "example",
    "reorder_level": 1,
    "reserve_inventory": 1,
    "sku": "example",
    "updated_at": "example",
    "value": "example",
    "warehouse_id": "example",
    "warehouse_identifier": "example"
  }
}

Set stock

Set how many of a product a warehouse has on hand.

Inputs

ProductskutextRequired
The product's SKU.
Warehousewarehouse_idtextRequired
The warehouse.
QuantityquantitynumberRequired
How many.At least 0.
Reasonreasontext
Why the stock changed, shown in its history.
Location IDlocation_idtext
The bin location, for a warehouse that uses dynamic slotting.
Customer account IDcustomer_account_idtext
For a 3PL account: the customer account the record belongs to. Leave empty otherwise.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "allocated": 1,
    "available": 1,
    "backorder": 1,
    "id": "example",
    "inventory_bin": "example",
    "on_hand": 1,
    "price": "example",
    "reorder_level": 1,
    "reserve_inventory": 1,
    "sku": "example",
    "updated_at": "example",
    "value": "example",
    "warehouse_id": "example",
    "warehouse_identifier": "example"
  }
}

Update order

Change an order's notes, ship-by or hold-until date, or priority.

Inputs

Orderorder_idtextRequired
The order in ShipHero.
Packing notepacking_notetext
A note for the packer.
Gift notegift_notetext
A gift message printed for the customer.
Ship byrequired_ship_datedate and time
The date the order must ship by.
Hold untilhold_until_datedate and time
Hold the order until this date.
Prioritypriority_flagtrue/false
Flag the order as a priority.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Update order status

Change an order's fulfillment status, such as to fulfilled or a status of your own.

Inputs

Orderorder_idtextRequired
The order in ShipHero.
Fulfillment statusfulfillment_statustextRequired
The new status, such as `pending`, `fulfilled` or one of your own.
Reasonreasontext
Why the status changed.
Remove inventoryremove_inventorytrue/false
Take the items out of stock when marking the order fulfilled.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "email": "example",
    "fulfillment_status": "example",
    "gift_note": "example",
    "hold_until_date": "example",
    "holds": {
      "address_hold": true,
      "client_hold": true,
      "fraud_hold": true,
      "operator_hold": true,
      "payment_hold": true,
      "shipping_method_hold": true
    },
    "id": "example",
    "legacy_id": 1,
    "line_items": {
      "edges": [
        {
          "node": {
            "backorder_quantity": 1,
            "fulfillment_status": "example",
            "id": "example",
            "partner_line_item_id": "example",
            "price": "example",
            "product_name": "example",
            "quantity": 1,
            "quantity_allocated": 1,
            "quantity_shipped": 1,
            "sku": "example"
          }
        }
      ]
    },
    "order_date": "example",
    "order_number": "example",
    "packing_note": "example",
    "partner_order_id": "example",
    "priority_flag": true,
    "profile": "example",
    "required_ship_date": "example",
    "shipping_address": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "company": "example",
      "country": "example",
      "country_code": "example",
      "email": "example",
      "first_name": "example",
      "last_name": "example",
      "phone": "example",
      "state": "example",
      "state_code": "example",
      "zip": "example"
    },
    "shipping_lines": {
      "carrier": "example",
      "method": "example",
      "price": "example",
      "title": "example"
    },
    "shop_name": "example",
    "subtotal": "example",
    "tags": [
      "example"
    ],
    "total_discounts": "example",
    "total_price": "example",
    "total_tax": "example"
  }
}

Update product

Change a product's name, barcode, tariff code, tags or packer note.

Inputs

ProductskutextRequired
The product's SKU.
Namenametext
The product's name.
Barcodebarcodetext
The barcode.
Tariff codetariff_codetext
The customs tariff (HS) code.
Packer notepacker_notetext
A note shown to packers.
Tagstagslist
The product's tags, replacing its current ones.

Outputs

dataobject
The response from ShipHero.
Example output
{
  "data": {
    "active": true,
    "barcode": "example",
    "country_of_manufacture": "example",
    "created_at": "example",
    "dimensions": {
      "height": "example",
      "length": "example",
      "weight": "example",
      "width": "example"
    },
    "dropship": true,
    "final_sale": true,
    "id": "example",
    "images": [
      {
        "position": 1,
        "src": "example"
      }
    ],
    "kit": true,
    "legacy_id": 1,
    "name": "example",
    "product_note": "example",
    "sku": "example",
    "tags": [
      "example"
    ],
    "tariff_code": "example",
    "updated_at": "example",
    "virtual": true,
    "warehouse_products": [
      {
        "active": true,
        "allocated": 1,
        "available": 1,
        "backorder": 1,
        "id": "example",
        "inventory_bin": "example",
        "on_hand": 1,
        "price": "example",
        "reorder_level": 1,
        "reserve_inventory": 1,
        "sku": "example",
        "updated_at": "example",
        "value": "example",
        "warehouse_id": "example",
        "warehouse_identifier": "example"
      }
    ]
  }
}

On this page