Skip to content

Developer Resources

ShipHero GraphQL Public API

ShipHero’s public API provides access to platform data and operations for custom integrations. It is built on GraphQL, allowing clients to request exactly the fields they need for each workflow.

Quick Access

Need help with your integration? Visit our Troubleshooting guide for common issues and solutions.

Latest Changes

Added dangerous_goods_code to Product and LineItem. It returns the DangerousGoodsCode classification configured for the product, with its id, legacy_id and name, or null when none is configured. On line items it reflects the product’s current setting, not a snapshot taken when the order was created. See the Product and Order examples.

Added last_login to User and AuthenticatedUser. It returns the stored last login timestamp as an ISO-8601 datetime, or null when none is stored. Users can set this value, so it may be missing or stale. In addition, the account_pin argument of the user query now rejects non-null values: use id or email instead. See the User example.

Changed wholesale_order_create to validate staging_location_id before the order is created. The location must be one your account can access and a staging location that is empty and not in use. When the line items specify a warehouse_id, it must also be in that warehouse. A value that fails returns an error and no order is created. See the Wholesale Order Create example.

Changed shipment_create and shipment_create_shipping_label to validate the label URLs in CreateLabelResourceInput. pdf_location, paper_pdf_location, thermal_pdf_location and image_location must be http or https URLs that include a host, with no embedded credentials, quotes, whitespace or control characters. pdf_location accepts up to 8,192 characters and the other three up to 255; image_location also accepts a JSON list of image URLs within those 255 characters. See the Shipment example.

Deprecated inventory_subtract in favor of inventory_remove. Both take the same input and return the same output, so switching only means renaming the mutation. inventory_subtract keeps working for existing integrations. See the Inventory example.

Added the experimental cheapest_profiles query for listing the RateShop+ profiles of your account, with their assigned clients and their shipping methods grouped by carrier. See Cheapest Profiles Query.

Added inbound_shipment_delete to soft-delete inbound shipments in PENDING_ARRIVAL or ARRIVED status. See the Inbound Shipments flow.

Added updated_at to WholesaleOrder. It returns the last update of the wholesale order record in UTC, the same timestamp that updated_from and updated_to on wholesale_orders filter on. Changes confined to related records, such as the underlying order, line items or shipping details, may not move it. For the underlying order’s timestamp, select order.updated_at. See Filter by update time.

Changed bill_update to look bills up only within the authenticated account before checking their status. A bill that doesn’t exist, or that belongs to another account, now returns Bill not found with code 9 regardless of its status. An id that matched no bill used to return Unexpected Error with code 22. Status transitions and their errors for your own bills are unchanged. This applies to bill_update only. See Billing errors.

Changed updated_from and updated_to on wholesale_orders to filter on the wholesale order’s last update instead of the underlying order’s, so status changes such as Warehouse Complete now show up even before fulfillment. updated_to is exclusive. To track changes to the underlying order, use orders. See Filter by update time.