ShipHero
App · 23 actions
Manage ShipHero orders, products, stock, shipments, returns and purchase orders in your warehouses.
Actions
| Action | What it does |
|---|---|
| Add order note | Add a note to an order's history. |
| Add order tags | Add tags to an order, keeping its others. |
| Add stock | Add units of a product to a warehouse's stock. |
| Cancel order | Cancel an order. |
| Create order | Create an order to fulfill, with its ship-to address and line items. |
| Create product | Create a product and stock it in one warehouse. |
| Delete product | Delete a product from every warehouse. |
| Get account | Read the connected ShipHero account and its warehouses. |
| Get order | Read one order with its address, line items, holds and tags. |
| Get product | Read one product by its SKU, with its stock in each warehouse. |
| Get purchase order | Read one purchase order by its PO number. |
| List orders | List orders with filters for order number, status, SKU, email, store, warehouse and dates. |
| List products | List products with their stock in each warehouse, optionally by SKU or when they were created or changed. |
| List purchase orders | List purchase orders with their items, optionally by SKU, warehouse or date. |
| List returns | List returns (RMAs) with their items and status, for one order, one warehouse or a span of dates. |
| List shipments | List shipments with their labels and tracking numbers, for one order or a span of dates. |
| List stock changes | List changes to on-hand stock, with who made each and why. |
| List stock levels | List stock by warehouse: on hand, available, allocated and backordered for each SKU. |
| Remove stock | Take units of a product out of a warehouse's stock. |
| Set stock | Set how many of a product a warehouse has on hand. |
| Update order | Change an order's notes, ship-by or hold-until date, or priority. |
| Update order status | Change an order's fulfillment status, such as to fulfilled or a status of your own. |
| Update product | Change a product's name, barcode, tariff code, tags or packer note. |
Add order note
Add a note to an order's history.
Inputs
- Order
order_idtextRequired - The order in ShipHero.
- Note
messagetextRequired - 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
- Order
order_idtextRequired - The order in ShipHero.
- Tags
tagslistRequired - 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
- Product
skutextRequired - The product's SKU.
- Warehouse
warehouse_idtextRequired - The warehouse.
- Quantity
quantitynumberRequired - How many.At least 0.
- Reason
reasontext - Why the stock changed, shown in its history.
- Location ID
location_idtext - The bin location, for a warehouse that uses dynamic slotting.
- Customer account ID
customer_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
- Order
order_idtextRequired - The order in ShipHero.
- Reason
reasontext - Why the order is cancelled.
- Cancel in the store too
void_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 number
order_numbertextRequired - Your order number.
- Line items
line_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 name
first_nametextRequired - Ship-to first name.
- Last name
last_nametext - Ship-to last name.
- Company
companytext - Ship-to company.
- Address line 1
address1textRequired - Ship-to street.
- Address line 2
address2text - Ship-to street line 2.
- City
citytextRequired - Ship-to city.
- State
statetext - Ship-to state or province, such as `CA`.
- ZIP or postal code
ziptext - Ship-to ZIP or postal code.
- Country
countrytextRequired - Ship-to country as a two-letter code, such as `US`.
- Phone
phonetext - Ship-to phone.
- Email
emailtext - The customer's email.
- Store
shop_nametext - The store the order came from, as named in ShipHero.
- Shipping method
shipping_methodtext - The shipping method to show, such as `Ground`.
- Shipping price
shipping_pricenumber - What the customer paid for shipping.
- Fulfillment status
fulfillment_statustext - The order's status. ShipHero uses `pending` when empty.
- Order date
order_datedate and time - When the order was placed.
- Total
total_pricenumber - The order's total.
- Subtotal
subtotalnumber - The order's subtotal.
- Tax
total_taxnumber - The tax on the order.
- Tags
tagslist - Tags to add to the order.
- Packing note
packing_notetext - A note for the packer.
- Gift note
gift_notetext - A gift message printed for the customer.
- Ship by
required_ship_datedate and time - The date the order must ship by.
- Hold until
hold_until_datedate and time - Hold the order until this date.
- Priority
priority_flagtrue/false - Flag the order as a priority.
- Customer account ID
customer_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
- Name
nametextRequired - The product's name.
- SKU
skutextRequired - The product's SKU, unique in ShipHero.
- Warehouse
warehouse_idtextRequired - The warehouse to stock it in.
- On hand
on_handnumber - How many are in that warehouse now. 0 when empty.At least 0.
- Price
pricenumber - The selling price.
- Value
valuenumber - What one costs you.
- Barcode
barcodetext - The barcode.
- Tariff code
tariff_codetext - The customs tariff (HS) code.
- Country of manufacture
country_of_manufacturetext - Where it is made, as a two-letter code, such as `US`.
- Tags
tagslist - Tags for the product.
- Customer account ID
customer_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
- Product
skutextRequired - 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
- Order
order_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
- Product
skutextRequired - 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 number
po_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 number
order_numbertext - Only the order with this number.
- Fulfillment status
fulfillment_statustext - Only orders in this fulfillment status, such as `pending`, `fulfilled` or `canceled`, or one of your own.
- SKU
skutext - Only orders containing this SKU.
- Email
emailtext - Only orders from this customer email.
- Store
shop_nametext - Only orders from this store, by its name in ShipHero.
- Warehouse
warehouse_idtext - Only orders for this warehouse.
- Placed after
order_date_fromdate and time - Only orders placed on or after this time.
- Placed before
order_date_todate and time - Only orders placed on or before this time.
- Updated after
updated_fromdate and time - Only orders changed on or after this time.
- Updated before
updated_todate and time - Only orders changed on or before this time.
- Customer account ID
customer_account_idtext - For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- SKU
skutext - Only the product with this SKU.
- Created after
created_fromdate and time - Only products created on or after this time.
- Created before
created_todate and time - Only products created on or before this time.
- Updated after
updated_fromdate and time - Only products changed on or after this time.
- Updated before
updated_todate and time - Only products changed on or before this time.
- Customer account ID
customer_account_idtext - For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- SKU
skutext - Only purchase orders for this SKU.
- Warehouse
warehouse_idtext - Only purchase orders for this warehouse.
- Created after
created_fromdate and time - Only purchase orders created on or after this time.
- Created before
created_todate and time - Only purchase orders created on or before this time.
- Customer account ID
customer_account_idtext - For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- Order
order_idtext - Only returns of this order.
- Warehouse
warehouse_idtext - Only returns to this warehouse.
- From
date_fromdate and time - Only returns made on or after this time.
- To
date_todate and time - Only returns made on or before this time.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- Order
order_idtext - Only shipments of this order.
- From
date_fromdate and time - Only shipments made on or after this time.
- To
date_todate and time - Only shipments made on or before this time.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- SKU
skutext - Only changes to this SKU.
- Warehouse
warehouse_idtext - Only changes in this warehouse.
- From
date_fromdate and time - Only changes on or after this time.
- To
date_todate and time - Only changes on or before this time.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- Warehouse
warehouse_idtext - Only this warehouse.
- SKU
skutext - Only this SKU.
- Active
activetrue/false - Active products only (or inactive only, when off).
- Updated after
updated_fromdate and time - Only stock changed on or after this time.
- Customer account ID
customer_account_idtext - For a 3PL account: the customer account the record belongs to. Leave empty otherwise.
- Limit
limitnumber - 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. - Cursor
cursortext - 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
- Product
skutextRequired - The product's SKU.
- Warehouse
warehouse_idtextRequired - The warehouse.
- Quantity
quantitynumberRequired - How many.At least 0.
- Reason
reasontext - Why the stock changed, shown in its history.
- Location ID
location_idtext - The bin location, for a warehouse that uses dynamic slotting.
- Customer account ID
customer_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
- Product
skutextRequired - The product's SKU.
- Warehouse
warehouse_idtextRequired - The warehouse.
- Quantity
quantitynumberRequired - How many.At least 0.
- Reason
reasontext - Why the stock changed, shown in its history.
- Location ID
location_idtext - The bin location, for a warehouse that uses dynamic slotting.
- Customer account ID
customer_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
- Order
order_idtextRequired - The order in ShipHero.
- Packing note
packing_notetext - A note for the packer.
- Gift note
gift_notetext - A gift message printed for the customer.
- Ship by
required_ship_datedate and time - The date the order must ship by.
- Hold until
hold_until_datedate and time - Hold the order until this date.
- Priority
priority_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
- Order
order_idtextRequired - The order in ShipHero.
- Fulfillment status
fulfillment_statustextRequired - The new status, such as `pending`, `fulfilled` or one of your own.
- Reason
reasontext - Why the status changed.
- Remove inventory
remove_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
- Product
skutextRequired - The product's SKU.
- Name
nametext - The product's name.
- Barcode
barcodetext - The barcode.
- Tariff code
tariff_codetext - The customs tariff (HS) code.
- Packer note
packer_notetext - A note shown to packers.
- Tags
tagslist - 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"
}
]
}
}