ShipHero GraphQL API

ShipHero's public API documentation.

API Endpoints
https://public-api.shiphero.com/graphql/
Headers
# Your API token from the dashboard. Must be included in all API calls.
Authorization: Bearer <YOUR_TOKEN_HERE>

Queries

account

Response

Returns an AccountQueryResult

Arguments
Name Description
analyze - Boolean

Example

Query
query account($analyze: Boolean) {
  account(analyze: $analyze) {
    request_id
    complexity
    data {
      ...AccountFragment
    }
  }
}
Variables
{"analyze": true}
Response
{
  "data": {
    "account": {
      "request_id": "abc123",
      "complexity": 123,
      "data": Account
    }
  }
}

bill

Response

Returns a BillQueryResult

Arguments
Name Description
id - String!
analyze - Boolean

Example

Query
query bill(
  $id: String!,
  $analyze: Boolean
) {
  bill(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...BillFragment
    }
  }
}
Variables
{"id": "xyz789", "analyze": false}
Response
{
  "data": {
    "bill": {
      "request_id": "abc123",
      "complexity": 987,
      "data": Bill
    }
  }
}

bills

Response

Returns a BillsQueryResult

Arguments
Name Description
from_date - ISODateTime
to_date - ISODateTime
status - String
analyze - Boolean

Example

Query
query bills(
  $from_date: ISODateTime,
  $to_date: ISODateTime,
  $status: String,
  $analyze: Boolean
) {
  bills(
    from_date: $from_date,
    to_date: $to_date,
    status: $status,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...BillConnectionFragment
    }
  }
}
Variables
{
  "from_date": ISODateTime,
  "to_date": ISODateTime,
  "status": "xyz789",
  "analyze": true
}
Response
{
  "data": {
    "bills": {
      "request_id": "abc123",
      "complexity": 123,
      "data": BillConnection
    }
  }
}

expiration_lots

Response

Returns a LotsQueryResult

Arguments
Name Description
sku - String
po_id - String
analyze - Boolean

Example

Query
query expiration_lots(
  $sku: String,
  $po_id: String,
  $analyze: Boolean
) {
  expiration_lots(
    sku: $sku,
    po_id: $po_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LotConnectionFragment
    }
  }
}
Variables
{
  "sku": "xyz789",
  "po_id": "xyz789",
  "analyze": false
}
Response
{
  "data": {
    "expiration_lots": {
      "request_id": "abc123",
      "complexity": 123,
      "data": LotConnection
    }
  }
}

fulfillment_invoice

Response

Returns a FulfillmentInvoiceQueryResult

Arguments
Name Description
id - String
analyze - Boolean

Example

Query
query fulfillment_invoice(
  $id: String,
  $analyze: Boolean
) {
  fulfillment_invoice(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...FulfillmentInvoiceFragment
    }
  }
}
Variables
{"id": "xyz789", "analyze": true}
Response
{
  "data": {
    "fulfillment_invoice": {
      "request_id": "abc123",
      "complexity": 987,
      "data": FulfillmentInvoice
    }
  }
}

fulfillment_invoices

Response

Returns a FulfillmentInvoicesQueryResult

Arguments
Name Description
date_from - ISODateTime
date_to - ISODateTime
analyze - Boolean

Example

Query
query fulfillment_invoices(
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  fulfillment_invoices(
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...FulfillmentInvoiceConnectionFragment
    }
  }
}
Variables
{
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "analyze": false
}
Response
{
  "data": {
    "fulfillment_invoices": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": FulfillmentInvoiceConnection
    }
  }
}

inventory_changes

Response

Returns an InventoryChangesQueryResult

Arguments
Name Description
sku - String
warehouse_id - String
location_id - String
location_name - String
date_from - ISODateTime
date_to - ISODateTime
customer_account_id - String
reason - String It performs a contains / like search and requires a date range, with a maximum of 60 days
analyze - Boolean

Example

Query
query inventory_changes(
  $sku: String,
  $warehouse_id: String,
  $location_id: String,
  $location_name: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $customer_account_id: String,
  $reason: String,
  $analyze: Boolean
) {
  inventory_changes(
    sku: $sku,
    warehouse_id: $warehouse_id,
    location_id: $location_id,
    location_name: $location_name,
    date_from: $date_from,
    date_to: $date_to,
    customer_account_id: $customer_account_id,
    reason: $reason,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InventoryChangeConnectionFragment
    }
  }
}
Variables
{
  "sku": "abc123",
  "warehouse_id": "xyz789",
  "location_id": "abc123",
  "location_name": "xyz789",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "customer_account_id": "xyz789",
  "reason": "xyz789",
  "analyze": true
}
Response
{
  "data": {
    "inventory_changes": {
      "request_id": "abc123",
      "complexity": 987,
      "data": InventoryChangeConnection
    }
  }
}

inventory_snapshot

Response

Returns an InventorySnapshotQueryResult

Arguments
Name Description
snapshot_id - String!
analyze - Boolean

Example

Query
query inventory_snapshot(
  $snapshot_id: String!,
  $analyze: Boolean
) {
  inventory_snapshot(
    snapshot_id: $snapshot_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    snapshot {
      ...InventorySnapshotFragment
    }
  }
}
Variables
{"snapshot_id": "abc123", "analyze": true}
Response
{
  "data": {
    "inventory_snapshot": {
      "request_id": "xyz789",
      "complexity": 987,
      "snapshot": InventorySnapshot
    }
  }
}

inventory_snapshots

Response

Returns an InventorySnapshotsQueryResult

Arguments
Name Description
warehouse_id - String
customer_account_id - String
status - String

Any of the following statuses:

pending: Request received

enqueued: Queued for processing

processing: Being processed

success: Finished successfully

error: Terminated early due to an exception

aborted: Aborted by the user

Multiple statuses can be combined using: , e.g. status: "pending,processing"

One or more statuses can be excluded using: ! e.g. status: "!error_all,error_partial"

analyze - Boolean

Example

Query
query inventory_snapshots(
  $warehouse_id: String,
  $customer_account_id: String,
  $status: String,
  $analyze: Boolean
) {
  inventory_snapshots(
    warehouse_id: $warehouse_id,
    customer_account_id: $customer_account_id,
    status: $status,
    analyze: $analyze
  ) {
    request_id
    complexity
    snapshots {
      ...InventorySnapshotConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "xyz789",
  "customer_account_id": "abc123",
  "status": "abc123",
  "analyze": true
}
Response
{
  "data": {
    "inventory_snapshots": {
      "request_id": "xyz789",
      "complexity": 123,
      "snapshots": InventorySnapshotConnection
    }
  }
}

inventory_sync_items_status

Response

Returns an InventorySyncRowsQueryResult

Arguments
Name Description
id - String!
status - String

Any of the following statuses:

pending: Queued for processing

processing: Being processed

success: Finished successfully

error: Matches all error states below

error_unknown: Unknown error occurred

error_not_found: Product was not found

Multiple statuses can be combined using: , e.g. status: "pending,processing"

One or more statuses can be excluded using: ! e.g. status: "!error_not_found"

analyze - Boolean

Example

Query
query inventory_sync_items_status(
  $id: String!,
  $status: String,
  $analyze: Boolean
) {
  inventory_sync_items_status(
    id: $id,
    status: $status,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InventorySyncItemStatusConnectionFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "status": "xyz789",
  "analyze": false
}
Response
{
  "data": {
    "inventory_sync_items_status": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": InventorySyncItemStatusConnection
    }
  }
}

inventory_sync_status

Response

Returns an InventorySyncBatchQueryResult

Arguments
Name Description
id - String
analyze - Boolean

Example

Query
query inventory_sync_status(
  $id: String,
  $analyze: Boolean
) {
  inventory_sync_status(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InventorySyncStatusFragment
    }
  }
}
Variables
{"id": "xyz789", "analyze": true}
Response
{
  "data": {
    "inventory_sync_status": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": InventorySyncStatus
    }
  }
}

inventory_sync_statuses

Response

Returns an InventorySyncBatchesQueryResult

Arguments
Name Description
warehouse_id - String
customer_account_id - String
status - String

Any of the following statuses:

pending: Queued for processing

processing: Being processed

success: Finished successfully

error: Matches all error states below

error_all: All rows failed

error_partial: Some rows failed

error_unknown: Terminated early due to an error

aborted: Aborted by the user

Multiple statuses can be combined using: , e.g. status: "pending,processing"

One or more statuses can be excluded using: ! e.g. status: "!error_all,error_partial"

analyze - Boolean

Example

Query
query inventory_sync_statuses(
  $warehouse_id: String,
  $customer_account_id: String,
  $status: String,
  $analyze: Boolean
) {
  inventory_sync_statuses(
    warehouse_id: $warehouse_id,
    customer_account_id: $customer_account_id,
    status: $status,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...InventorySyncStatusConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "xyz789",
  "customer_account_id": "abc123",
  "status": "abc123",
  "analyze": false
}
Response
{
  "data": {
    "inventory_sync_statuses": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": InventorySyncStatusConnection
    }
  }
}

lakehero_data_export

Response

Returns a LakeheroDataExportQueryResult

Arguments
Name Description
date - String Date in YYYY-MM-DD format
analyze - Boolean

Example

Query
query lakehero_data_export(
  $date: String,
  $analyze: Boolean
) {
  lakehero_data_export(
    date: $date,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LakeheroDataExportFragment
    }
  }
}
Variables
{"date": "abc123", "analyze": false}
Response
{
  "data": {
    "lakehero_data_export": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": LakeheroDataExport
    }
  }
}

location

Response

Returns a LocationQueryResult

Arguments
Name Description
id - String
name - String
analyze - Boolean

Example

Query
query location(
  $id: String,
  $name: String,
  $analyze: Boolean
) {
  location(
    id: $id,
    name: $name,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LocationFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "name": "xyz789",
  "analyze": false
}
Response
{
  "data": {
    "location": {
      "request_id": "abc123",
      "complexity": 123,
      "data": Location
    }
  }
}

locations

Response

Returns a LocationsQueryResult

Arguments
Name Description
warehouse_id - String
sku - String
name - String
pickable - Boolean
sellable - Boolean
analyze - Boolean

Example

Query
query locations(
  $warehouse_id: String,
  $sku: String,
  $name: String,
  $pickable: Boolean,
  $sellable: Boolean,
  $analyze: Boolean
) {
  locations(
    warehouse_id: $warehouse_id,
    sku: $sku,
    name: $name,
    pickable: $pickable,
    sellable: $sellable,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LocationConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "abc123",
  "sku": "abc123",
  "name": "xyz789",
  "pickable": true,
  "sellable": true,
  "analyze": true
}
Response
{
  "data": {
    "locations": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": LocationConnection
    }
  }
}

me

Response

Returns a CurrentUserQueryResult

Arguments
Name Description
analyze - Boolean

Example

Query
query me($analyze: Boolean) {
  me(analyze: $analyze) {
    request_id
    complexity
    data {
      ...UserFragment
    }
  }
}
Variables
{"analyze": true}
Response
{
  "data": {
    "me": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": User
    }
  }
}

mergeable_orders

Response

Returns a MergeableOrdersQueryResult

Arguments
Name Description
analyze - Boolean

Example

Query
query mergeable_orders($analyze: Boolean) {
  mergeable_orders(analyze: $analyze) {
    request_id
    complexity
    data {
      ...MergeableOrderConnectionFragment
    }
  }
}
Variables
{"analyze": true}
Response
{
  "data": {
    "mergeable_orders": {
      "request_id": "abc123",
      "complexity": 987,
      "data": MergeableOrderConnection
    }
  }
}

node

Response

Returns a Node

Arguments
Name Description
id - ID! The ID of the object

Example

Query
query node($id: ID!) {
  node(id: $id) {
    id
  }
}
Variables
{"id": "4"}
Response
{"data": {"node": {"id": "4"}}}

order

Response

Returns an OrderQueryResult

Arguments
Name Description
id - String!
analyze - Boolean

Example

Query
query order(
  $id: String!,
  $analyze: Boolean
) {
  order(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...OrderFragment
    }
  }
}
Variables
{"id": "abc123", "analyze": true}
Response
{
  "data": {
    "order": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": Order
    }
  }
}

order_history

Response

Returns an OrderHistoryQueryResult

Arguments
Name Description
order_id - String
user_id - String
order_number - String
username - String
date_from - Date
date_to - Date
analyze - Boolean

Example

Query
query order_history(
  $order_id: String,
  $user_id: String,
  $order_number: String,
  $username: String,
  $date_from: Date,
  $date_to: Date,
  $analyze: Boolean
) {
  order_history(
    order_id: $order_id,
    user_id: $user_id,
    order_number: $order_number,
    username: $username,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...OrderHistoryConnectionFragment
    }
  }
}
Variables
{
  "order_id": "abc123",
  "user_id": "xyz789",
  "order_number": "xyz789",
  "username": "abc123",
  "date_from": "2007-12-03",
  "date_to": "2007-12-03",
  "analyze": true
}
Response
{
  "data": {
    "order_history": {
      "request_id": "abc123",
      "complexity": 987,
      "data": OrderHistoryConnection
    }
  }
}

orders

Response

Returns an OrdersQueryResult

Arguments
Name Description
shop_name - String
partner_order_id - String
order_number - String
warehouse_id - String
allocated_warehouse_id - String
fulfillment_status - String
sku - String
email - String
updated_from - ISODateTime
updated_to - ISODateTime
order_date_from - ISODateTime
order_date_to - ISODateTime
customer_account_id - String If you are a 3PL you can specify one of your customer's account
has_hold - Boolean
operator_hold - Boolean
address_hold - Boolean
payment_hold - Boolean
fraud_hold - Boolean
ready_to_ship - Boolean
profile - String
tag - String
has_backorder - Boolean
is_wholesale_order - Boolean
analyze - Boolean

Example

Query
query orders(
  $shop_name: String,
  $partner_order_id: String,
  $order_number: String,
  $warehouse_id: String,
  $allocated_warehouse_id: String,
  $fulfillment_status: String,
  $sku: String,
  $email: String,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $order_date_from: ISODateTime,
  $order_date_to: ISODateTime,
  $customer_account_id: String,
  $has_hold: Boolean,
  $operator_hold: Boolean,
  $address_hold: Boolean,
  $payment_hold: Boolean,
  $fraud_hold: Boolean,
  $ready_to_ship: Boolean,
  $profile: String,
  $tag: String,
  $has_backorder: Boolean,
  $is_wholesale_order: Boolean,
  $analyze: Boolean
) {
  orders(
    shop_name: $shop_name,
    partner_order_id: $partner_order_id,
    order_number: $order_number,
    warehouse_id: $warehouse_id,
    allocated_warehouse_id: $allocated_warehouse_id,
    fulfillment_status: $fulfillment_status,
    sku: $sku,
    email: $email,
    updated_from: $updated_from,
    updated_to: $updated_to,
    order_date_from: $order_date_from,
    order_date_to: $order_date_to,
    customer_account_id: $customer_account_id,
    has_hold: $has_hold,
    operator_hold: $operator_hold,
    address_hold: $address_hold,
    payment_hold: $payment_hold,
    fraud_hold: $fraud_hold,
    ready_to_ship: $ready_to_ship,
    profile: $profile,
    tag: $tag,
    has_backorder: $has_backorder,
    is_wholesale_order: $is_wholesale_order,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...OrderConnectionFragment
    }
  }
}
Variables
{
  "shop_name": "xyz789",
  "partner_order_id": "xyz789",
  "order_number": "abc123",
  "warehouse_id": "abc123",
  "allocated_warehouse_id": "xyz789",
  "fulfillment_status": "abc123",
  "sku": "xyz789",
  "email": "abc123",
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "order_date_from": ISODateTime,
  "order_date_to": ISODateTime,
  "customer_account_id": "xyz789",
  "has_hold": true,
  "operator_hold": true,
  "address_hold": true,
  "payment_hold": true,
  "fraud_hold": false,
  "ready_to_ship": true,
  "profile": "abc123",
  "tag": "abc123",
  "has_backorder": true,
  "is_wholesale_order": true,
  "analyze": true
}
Response
{
  "data": {
    "orders": {
      "request_id": "abc123",
      "complexity": 987,
      "data": OrderConnection
    }
  }
}

packs_per_day

Description

Gets the detail of each shipment's package between the specified dates.Results are sorted by date, warehouse and user, but they can be filteredby warehouse_id if only interested in the packages from a particular warehouse.The sorting can be overriden by specifying any other field or list of fields from the output type.

Response

Returns a PacksPerDayQueryResult

Arguments
Name Description
warehouse_id - String
user_id - String
order_id - String
order_number - String
date_from - ISODateTime
date_to - ISODateTime
analyze - Boolean

Example

Query
query packs_per_day(
  $warehouse_id: String,
  $user_id: String,
  $order_id: String,
  $order_number: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  packs_per_day(
    warehouse_id: $warehouse_id,
    user_id: $user_id,
    order_id: $order_id,
    order_number: $order_number,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...PackageConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "abc123",
  "user_id": "xyz789",
  "order_id": "xyz789",
  "order_number": "xyz789",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "analyze": false
}
Response
{
  "data": {
    "packs_per_day": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": PackageConnection
    }
  }
}

picks_per_day

Description

Gets the detail of each line item picked between the specified dates.Results are sorted by date, warehouse and user, but they can be filteredby warehouse_id if only interested in the picks from a particular warehouse.The sorting can be overriden by specifying any other field or list of fields from the output type.

Response

Returns a PicksPerDayQueryResult

Arguments
Name Description
warehouse_id - String
date_from - ISODateTime
date_to - ISODateTime
analyze - Boolean

Example

Query
query picks_per_day(
  $warehouse_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  picks_per_day(
    warehouse_id: $warehouse_id,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...PickConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "xyz789",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "analyze": true
}
Response
{
  "data": {
    "picks_per_day": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": PickConnection
    }
  }
}

product

Response

Returns a ProductQueryResult

Arguments
Name Description
id - String
sku - String
barcode - String
customer_account_id - String If you are a 3PL you can specify one of your customer's account
analyze - Boolean

Example

Query
query product(
  $id: String,
  $sku: String,
  $barcode: String,
  $customer_account_id: String,
  $analyze: Boolean
) {
  product(
    id: $id,
    sku: $sku,
    barcode: $barcode,
    customer_account_id: $customer_account_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ProductFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "sku": "xyz789",
  "barcode": "xyz789",
  "customer_account_id": "xyz789",
  "analyze": false
}
Response
{
  "data": {
    "product": {
      "request_id": "abc123",
      "complexity": 123,
      "data": Product
    }
  }
}

products

Response

Returns a ProductsQueryResult

Arguments
Name Description
sku - String
created_from - ISODateTime
created_to - ISODateTime
updated_from - ISODateTime
updated_to - ISODateTime
customer_account_id - String If you are a 3PL you can specify one of your customer's account
has_kits - Boolean
analyze - Boolean

Example

Query
query products(
  $sku: String,
  $created_from: ISODateTime,
  $created_to: ISODateTime,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $customer_account_id: String,
  $has_kits: Boolean,
  $analyze: Boolean
) {
  products(
    sku: $sku,
    created_from: $created_from,
    created_to: $created_to,
    updated_from: $updated_from,
    updated_to: $updated_to,
    customer_account_id: $customer_account_id,
    has_kits: $has_kits,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ProductConnectionFragment
    }
  }
}
Variables
{
  "sku": "abc123",
  "created_from": ISODateTime,
  "created_to": ISODateTime,
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "customer_account_id": "xyz789",
  "has_kits": false,
  "analyze": true
}
Response
{
  "data": {
    "products": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": ProductConnection
    }
  }
}

purchase_order

Response

Returns a PurchaseOrderQueryResult

Arguments
Name Description
id - String
po_number - String
analyze - Boolean

Example

Query
query purchase_order(
  $id: String,
  $po_number: String,
  $analyze: Boolean
) {
  purchase_order(
    id: $id,
    po_number: $po_number,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{
  "id": "xyz789",
  "po_number": "abc123",
  "analyze": false
}
Response
{
  "data": {
    "purchase_order": {
      "request_id": "abc123",
      "complexity": 123,
      "data": PurchaseOrder
    }
  }
}

purchase_orders

Response

Returns a PurchaseOrdersQueryResult

Arguments
Name Description
sku - String
warehouse_id - String
created_from - ISODateTime
created_to - ISODateTime
updated_from - DateTime Based on updates to the Purchase Order Line Items
updated_to - DateTime Based on updates to the Purchase Order Line Items
po_date_from - ISODateTime
po_date_to - ISODateTime
customer_account_id - String If you are a 3PL you can specify one of your customer's account
date_closed_from - ISODateTime
date_closed_to - ISODateTime
fulfillment_status - String
po_number - String
analyze - Boolean

Example

Query
query purchase_orders(
  $sku: String,
  $warehouse_id: String,
  $created_from: ISODateTime,
  $created_to: ISODateTime,
  $updated_from: DateTime,
  $updated_to: DateTime,
  $po_date_from: ISODateTime,
  $po_date_to: ISODateTime,
  $customer_account_id: String,
  $date_closed_from: ISODateTime,
  $date_closed_to: ISODateTime,
  $fulfillment_status: String,
  $po_number: String,
  $analyze: Boolean
) {
  purchase_orders(
    sku: $sku,
    warehouse_id: $warehouse_id,
    created_from: $created_from,
    created_to: $created_to,
    updated_from: $updated_from,
    updated_to: $updated_to,
    po_date_from: $po_date_from,
    po_date_to: $po_date_to,
    customer_account_id: $customer_account_id,
    date_closed_from: $date_closed_from,
    date_closed_to: $date_closed_to,
    fulfillment_status: $fulfillment_status,
    po_number: $po_number,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...PurchaseOrderConnectionFragment
    }
  }
}
Variables
{
  "sku": "abc123",
  "warehouse_id": "xyz789",
  "created_from": ISODateTime,
  "created_to": ISODateTime,
  "updated_from": "2007-12-03T10:15:30Z",
  "updated_to": "2007-12-03T10:15:30Z",
  "po_date_from": ISODateTime,
  "po_date_to": ISODateTime,
  "customer_account_id": "xyz789",
  "date_closed_from": ISODateTime,
  "date_closed_to": ISODateTime,
  "fulfillment_status": "xyz789",
  "po_number": "abc123",
  "analyze": false
}
Response
{
  "data": {
    "purchase_orders": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": PurchaseOrderConnection
    }
  }
}

return

Response

Returns a ReturnQueryResult

Arguments
Name Description
id - String!
analyze - Boolean

Example

Query
query return(
  $id: String!,
  $analyze: Boolean
) {
  return(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ReturnFragment
    }
  }
}
Variables
{"id": "abc123", "analyze": false}
Response
{
  "data": {
    "return": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": Return
    }
  }
}

return_exchange

Response

Returns a ReturnExchangeQueryResult

Arguments
Name Description
id - String!
analyze - Boolean

Example

Query
query return_exchange(
  $id: String!,
  $analyze: Boolean
) {
  return_exchange(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ReturnExchangeFragment
    }
  }
}
Variables
{"id": "xyz789", "analyze": true}
Response
{
  "data": {
    "return_exchange": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": ReturnExchange
    }
  }
}

returns

Response

Returns a ReturnsQueryResult

Arguments
Name Description
order_id - String
warehouse_id - String
date_from - ISODateTime
date_to - ISODateTime
customer_account_id - String If you are a 3PL you can specify one of your customer's account
tracking_number - String
analyze - Boolean

Example

Query
query returns(
  $order_id: String,
  $warehouse_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $customer_account_id: String,
  $tracking_number: String,
  $analyze: Boolean
) {
  returns(
    order_id: $order_id,
    warehouse_id: $warehouse_id,
    date_from: $date_from,
    date_to: $date_to,
    customer_account_id: $customer_account_id,
    tracking_number: $tracking_number,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ReturnConnectionFragment
    }
  }
}
Variables
{
  "order_id": "xyz789",
  "warehouse_id": "xyz789",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "customer_account_id": "abc123",
  "tracking_number": "xyz789",
  "analyze": true
}
Response
{
  "data": {
    "returns": {
      "request_id": "abc123",
      "complexity": 987,
      "data": ReturnConnection
    }
  }
}

shipment

Response

Returns a ShipmentQueryResult

Arguments
Name Description
id - String
analyze - Boolean

Example

Query
query shipment(
  $id: String,
  $analyze: Boolean
) {
  shipment(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShipmentFragment
    }
  }
}
Variables
{"id": "xyz789", "analyze": true}
Response
{
  "data": {
    "shipment": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": Shipment
    }
  }
}

shipments

Response

Returns a ShipmentsQueryResult

Arguments
Name Description
customer_account_id - String If you are a 3PL you can specify one of your customer's account
order_id - String
date_from - ISODateTime
date_to - ISODateTime
order_date_from - ISODateTime
order_date_to - ISODateTime
tracking_number - String
alternate_tracking_id - String
voided - Boolean
analyze - Boolean

Example

Query
query shipments(
  $customer_account_id: String,
  $order_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $order_date_from: ISODateTime,
  $order_date_to: ISODateTime,
  $tracking_number: String,
  $alternate_tracking_id: String,
  $voided: Boolean,
  $analyze: Boolean
) {
  shipments(
    customer_account_id: $customer_account_id,
    order_id: $order_id,
    date_from: $date_from,
    date_to: $date_to,
    order_date_from: $order_date_from,
    order_date_to: $order_date_to,
    tracking_number: $tracking_number,
    alternate_tracking_id: $alternate_tracking_id,
    voided: $voided,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShipmentConnectionFragment
    }
  }
}
Variables
{
  "customer_account_id": "xyz789",
  "order_id": "abc123",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "order_date_from": ISODateTime,
  "order_date_to": ISODateTime,
  "tracking_number": "abc123",
  "alternate_tracking_id": "abc123",
  "voided": true,
  "analyze": false
}
Response
{
  "data": {
    "shipments": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": ShipmentConnection
    }
  }
}

shipping_container

Response

Returns a ShippingContainerQueryResult

Arguments
Name Description
id - String
analyze - Boolean

Example

Query
query shipping_container(
  $id: String,
  $analyze: Boolean
) {
  shipping_container(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShippingContainerFragment
    }
  }
}
Variables
{"id": "abc123", "analyze": false}
Response
{
  "data": {
    "shipping_container": {
      "request_id": "abc123",
      "complexity": 987,
      "data": ShippingContainer
    }
  }
}

shipping_containers

Response

Returns a ShippingContainersQueryResult

Arguments
Name Description
warehouse_id - String
carrier - String
shipping_method - String
created_from - ISODateTime
created_to - ISODateTime
updated_from - ISODateTime
updated_to - ISODateTime
shipped_date_from - ISODateTime
shipped_date_to - ISODateTime
analyze - Boolean

Example

Query
query shipping_containers(
  $warehouse_id: String,
  $carrier: String,
  $shipping_method: String,
  $created_from: ISODateTime,
  $created_to: ISODateTime,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $shipped_date_from: ISODateTime,
  $shipped_date_to: ISODateTime,
  $analyze: Boolean
) {
  shipping_containers(
    warehouse_id: $warehouse_id,
    carrier: $carrier,
    shipping_method: $shipping_method,
    created_from: $created_from,
    created_to: $created_to,
    updated_from: $updated_from,
    updated_to: $updated_to,
    shipped_date_from: $shipped_date_from,
    shipped_date_to: $shipped_date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShippingContainerConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "xyz789",
  "carrier": "xyz789",
  "shipping_method": "xyz789",
  "created_from": ISODateTime,
  "created_to": ISODateTime,
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "shipped_date_from": ISODateTime,
  "shipped_date_to": ISODateTime,
  "analyze": true
}
Response
{
  "data": {
    "shipping_containers": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": ShippingContainerConnection
    }
  }
}

shipping_plan

Response

Returns a ShippingPlanQueryResult

Arguments
Name Description
id - String
analyze - Boolean

Example

Query
query shipping_plan(
  $id: String,
  $analyze: Boolean
) {
  shipping_plan(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ShippingPlanFragment
    }
  }
}
Variables
{"id": "abc123", "analyze": false}
Response
{
  "data": {
    "shipping_plan": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": ShippingPlan
    }
  }
}

tote

Response

Returns a ToteContentQueryResult

Arguments
Name Description
barcode - String!
analyze - Boolean

Example

Query
query tote(
  $barcode: String!,
  $analyze: Boolean
) {
  tote(
    barcode: $barcode,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ToteFragment
    }
  }
}
Variables
{"barcode": "xyz789", "analyze": true}
Response
{
  "data": {
    "tote": {
      "request_id": "abc123",
      "complexity": 123,
      "data": Tote
    }
  }
}

tote_history

Response

Returns a ToteHistoryQueryResult

Arguments
Name Description
tote_name - String
tote_id - String
date_from - ISODateTime
date_to - ISODateTime
analyze - Boolean

Example

Query
query tote_history(
  $tote_name: String,
  $tote_id: String,
  $date_from: ISODateTime,
  $date_to: ISODateTime,
  $analyze: Boolean
) {
  tote_history(
    tote_name: $tote_name,
    tote_id: $tote_id,
    date_from: $date_from,
    date_to: $date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...ToteHistoryConnectionFragment
    }
  }
}
Variables
{
  "tote_name": "abc123",
  "tote_id": "xyz789",
  "date_from": ISODateTime,
  "date_to": ISODateTime,
  "analyze": true
}
Response
{
  "data": {
    "tote_history": {
      "request_id": "abc123",
      "complexity": 123,
      "data": ToteHistoryConnection
    }
  }
}

user_quota

Response

Returns a UserQuota

Example

Query
query user_quota {
  user_quota {
    is_expired
    expiration_date
    time_remaining
    credits_remaining
    max_available
    increment_rate
  }
}
Response
{
  "data": {
    "user_quota": {
      "is_expired": false,
      "expiration_date": ISODateTime,
      "time_remaining": "abc123",
      "credits_remaining": 987,
      "max_available": 987,
      "increment_rate": 987
    }
  }
}

uuid

Description

When using the old webhooks you might receive resource ids as numeric ids.If you need any of those ids in one of our new queries or mutations, you can usethis query to retrieve the uuid corresponding to that resource/entity numeric id

Response

Returns a LegacyIdQueryResult

Arguments
Name Description
legacy_id - Int!
entity - EntityType!
analyze - Boolean

Example

Query
query uuid(
  $legacy_id: Int!,
  $entity: EntityType!,
  $analyze: Boolean
) {
  uuid(
    legacy_id: $legacy_id,
    entity: $entity,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LegacyIdFragment
    }
  }
}
Variables
{"legacy_id": 987, "entity": "Account", "analyze": true}
Response
{
  "data": {
    "uuid": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": LegacyId
    }
  }
}

vendors

Response

Returns a VendorsQueryResult

Arguments
Name Description
analyze - Boolean

Example

Query
query vendors($analyze: Boolean) {
  vendors(analyze: $analyze) {
    request_id
    complexity
    data {
      ...VendorConnectionFragment
    }
  }
}
Variables
{"analyze": true}
Response
{
  "data": {
    "vendors": {
      "request_id": "abc123",
      "complexity": 123,
      "data": VendorConnection
    }
  }
}

warehouse_products

Response

Returns a WarehouseProductsQueryResult

Arguments
Name Description
warehouse_id - String
active - Boolean
sku - String
customer_account_id - String If you are a 3PL you can specify one of your customer's account
created_from - ISODateTime
created_to - ISODateTime
updated_from - ISODateTime
updated_to - ISODateTime
analyze - Boolean

Example

Query
query warehouse_products(
  $warehouse_id: String,
  $active: Boolean,
  $sku: String,
  $customer_account_id: String,
  $created_from: ISODateTime,
  $created_to: ISODateTime,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $analyze: Boolean
) {
  warehouse_products(
    warehouse_id: $warehouse_id,
    active: $active,
    sku: $sku,
    customer_account_id: $customer_account_id,
    created_from: $created_from,
    created_to: $created_to,
    updated_from: $updated_from,
    updated_to: $updated_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WarehouseProductConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "abc123",
  "active": false,
  "sku": "xyz789",
  "customer_account_id": "abc123",
  "created_from": ISODateTime,
  "created_to": ISODateTime,
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "analyze": false
}
Response
{
  "data": {
    "warehouse_products": {
      "request_id": "abc123",
      "complexity": 987,
      "data": WarehouseProductConnection
    }
  }
}

webhooks

Response

Returns a WebhooksQueryResult

Arguments
Name Description
customer_account_id - String If you are a 3PL you can specify one of your customer's account
analyze - Boolean

Example

Query
query webhooks(
  $customer_account_id: String,
  $analyze: Boolean
) {
  webhooks(
    customer_account_id: $customer_account_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WebhookConnectionFragment
    }
  }
}
Variables
{
  "customer_account_id": "xyz789",
  "analyze": true
}
Response
{
  "data": {
    "webhooks": {
      "request_id": "abc123",
      "complexity": 123,
      "data": WebhookConnection
    }
  }
}

wholesale_order

Response

Returns a WholesaleOrderQueryResult

Arguments
Name Description
id - String
order_id - String
analyze - Boolean

Example

Query
query wholesale_order(
  $id: String,
  $order_id: String,
  $analyze: Boolean
) {
  wholesale_order(
    id: $id,
    order_id: $order_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{
  "id": "abc123",
  "order_id": "xyz789",
  "analyze": true
}
Response
{
  "data": {
    "wholesale_order": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": WholesaleOrder
    }
  }
}

wholesale_orders

Response

Returns a WholesaleOrdersQueryResult

Arguments
Name Description
customer_account_id - String If you are a 3PL you can specify one of your customer's account
partner_order_id - String
updated_from - ISODateTime
updated_to - ISODateTime
order_date_from - ISODateTime
order_date_to - ISODateTime
analyze - Boolean

Example

Query
query wholesale_orders(
  $customer_account_id: String,
  $partner_order_id: String,
  $updated_from: ISODateTime,
  $updated_to: ISODateTime,
  $order_date_from: ISODateTime,
  $order_date_to: ISODateTime,
  $analyze: Boolean
) {
  wholesale_orders(
    customer_account_id: $customer_account_id,
    partner_order_id: $partner_order_id,
    updated_from: $updated_from,
    updated_to: $updated_to,
    order_date_from: $order_date_from,
    order_date_to: $order_date_to,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WholesaleOrderConnectionFragment
    }
  }
}
Variables
{
  "customer_account_id": "xyz789",
  "partner_order_id": "abc123",
  "updated_from": ISODateTime,
  "updated_to": ISODateTime,
  "order_date_from": ISODateTime,
  "order_date_to": ISODateTime,
  "analyze": true
}
Response
{
  "data": {
    "wholesale_orders": {
      "request_id": "abc123",
      "complexity": 987,
      "data": WholesaleOrderConnection
    }
  }
}

wholesale_staging_location_candidates

Arguments
Name Description
warehouse_id - String! Identifier from where the wholesale order will be shipped
search - String
analyze - Boolean

Example

Query
query wholesale_staging_location_candidates(
  $warehouse_id: String!,
  $search: String,
  $analyze: Boolean
) {
  wholesale_staging_location_candidates(
    warehouse_id: $warehouse_id,
    search: $search,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...LocationConnectionFragment
    }
  }
}
Variables
{
  "warehouse_id": "xyz789",
  "search": "abc123",
  "analyze": true
}
Response
{
  "data": {
    "wholesale_staging_location_candidates": {
      "request_id": "xyz789",
      "complexity": 987,
      "data": LocationConnection
    }
  }
}

work_order

Response

Returns a WorkOrderQueryResult

Arguments
Name Description
id - Int!
analyze - Boolean

Example

Query
query work_order(
  $id: Int!,
  $analyze: Boolean
) {
  work_order(
    id: $id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WorkOrderIdentifiableTypeFragment
    }
  }
}
Variables
{"id": 987, "analyze": true}
Response
{
  "data": {
    "work_order": {
      "request_id": "abc123",
      "complexity": 987,
      "data": WorkOrderIdentifiableType
    }
  }
}

work_orders

Response

Returns a WorkOrdersQueryResult

Arguments
Name Description
status - [String]
wo_type - [String]
requested_date_from - ISODateTime
requested_date_to - ISODateTime
updated_at_from - ISODateTime
updated_at_to - ISODateTime
customer_account_id - Int
analyze - Boolean

Example

Query
query work_orders(
  $status: [String],
  $wo_type: [String],
  $requested_date_from: ISODateTime,
  $requested_date_to: ISODateTime,
  $updated_at_from: ISODateTime,
  $updated_at_to: ISODateTime,
  $customer_account_id: Int,
  $analyze: Boolean
) {
  work_orders(
    status: $status,
    wo_type: $wo_type,
    requested_date_from: $requested_date_from,
    requested_date_to: $requested_date_to,
    updated_at_from: $updated_at_from,
    updated_at_to: $updated_at_to,
    customer_account_id: $customer_account_id,
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...WorkOrderIdentifiableTypeConnectionFragment
    }
  }
}
Variables
{
  "status": ["xyz789"],
  "wo_type": ["abc123"],
  "requested_date_from": ISODateTime,
  "requested_date_to": ISODateTime,
  "updated_at_from": ISODateTime,
  "updated_at_to": ISODateTime,
  "customer_account_id": 123,
  "analyze": true
}
Response
{
  "data": {
    "work_orders": {
      "request_id": "xyz789",
      "complexity": 123,
      "data": WorkOrderIdentifiableTypeConnection
    }
  }
}

Mutations

bill_create

Response

Returns a CreateBillOutput

Arguments
Name Description
data - CreateBillInput!

Example

Query
mutation bill_create($data: CreateBillInput!) {
  bill_create(data: $data) {
    request_id
    complexity
    bill {
      ...BillFragment
    }
  }
}
Variables
{"data": CreateBillInput}
Response
{
  "data": {
    "bill_create": {
      "request_id": "xyz789",
      "complexity": 987,
      "bill": Bill
    }
  }
}

bill_delete

Response

Returns a MutationOutput

Arguments
Name Description
data - DeleteBillInput!

Example

Query
mutation bill_delete($data: DeleteBillInput!) {
  bill_delete(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": DeleteBillInput}
Response
{
  "data": {
    "bill_delete": {
      "request_id": "abc123",
      "complexity": 987
    }
  }
}

bill_recalculate

Response

Returns a RecalculateBillOutput

Arguments
Name Description
data - RecalculateBillInput!

Example

Query
mutation bill_recalculate($data: RecalculateBillInput!) {
  bill_recalculate(data: $data) {
    request_id
    complexity
    bill {
      ...BillFragment
    }
  }
}
Variables
{"data": RecalculateBillInput}
Response
{
  "data": {
    "bill_recalculate": {
      "request_id": "xyz789",
      "complexity": 123,
      "bill": Bill
    }
  }
}

bill_submit

Response

Returns a MutationOutput

Arguments
Name Description
data - SubmitBillInput!

Example

Query
mutation bill_submit($data: SubmitBillInput!) {
  bill_submit(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": SubmitBillInput}
Response
{
  "data": {
    "bill_submit": {
      "request_id": "xyz789",
      "complexity": 987
    }
  }
}

bill_update

Response

Returns a MutationOutput

Arguments
Name Description
data - UpdateBillInput!

Example

Query
mutation bill_update($data: UpdateBillInput!) {
  bill_update(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": UpdateBillInput}
Response
{
  "data": {
    "bill_update": {
      "request_id": "abc123",
      "complexity": 987
    }
  }
}

inventory_abort_snapshot

Response

Returns an InventorySnapshotOutput

Arguments
Name Description
data - InventoryAbortSnapshotInput!

Example

Query
mutation inventory_abort_snapshot($data: InventoryAbortSnapshotInput!) {
  inventory_abort_snapshot(data: $data) {
    request_id
    complexity
    snapshot {
      ...InventorySnapshotFragment
    }
  }
}
Variables
{"data": InventoryAbortSnapshotInput}
Response
{
  "data": {
    "inventory_abort_snapshot": {
      "request_id": "abc123",
      "complexity": 123,
      "snapshot": InventorySnapshot
    }
  }
}

inventory_add

Response

Returns an UpdateInventoryOutput

Arguments
Name Description
data - UpdateInventoryInput!

Example

Query
mutation inventory_add($data: UpdateInventoryInput!) {
  inventory_add(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": UpdateInventoryInput}
Response
{
  "data": {
    "inventory_add": {
      "request_id": "abc123",
      "complexity": 987,
      "warehouse_product": WarehouseProduct
    }
  }
}

inventory_generate_snapshot

Response

Returns an InventorySnapshotOutput

Arguments
Name Description
data - InventoryGenerateSnapshotInput!

Example

Query
mutation inventory_generate_snapshot($data: InventoryGenerateSnapshotInput!) {
  inventory_generate_snapshot(data: $data) {
    request_id
    complexity
    snapshot {
      ...InventorySnapshotFragment
    }
  }
}
Variables
{"data": InventoryGenerateSnapshotInput}
Response
{
  "data": {
    "inventory_generate_snapshot": {
      "request_id": "xyz789",
      "complexity": 987,
      "snapshot": InventorySnapshot
    }
  }
}

inventory_remove

Response

Returns an UpdateInventoryOutput

Arguments
Name Description
data - UpdateInventoryInput!

Example

Query
mutation inventory_remove($data: UpdateInventoryInput!) {
  inventory_remove(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": UpdateInventoryInput}
Response
{
  "data": {
    "inventory_remove": {
      "request_id": "xyz789",
      "complexity": 123,
      "warehouse_product": WarehouseProduct
    }
  }
}

inventory_replace

Response

Returns an UpdateInventoryOutput

Arguments
Name Description
data - ReplaceInventoryInput!

Example

Query
mutation inventory_replace($data: ReplaceInventoryInput!) {
  inventory_replace(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": ReplaceInventoryInput}
Response
{
  "data": {
    "inventory_replace": {
      "request_id": "abc123",
      "complexity": 123,
      "warehouse_product": WarehouseProduct
    }
  }
}

inventory_subtract

Response

Returns an UpdateInventoryOutput

Arguments
Name Description
data - UpdateInventoryInput!

Example

Query
mutation inventory_subtract($data: UpdateInventoryInput!) {
  inventory_subtract(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": UpdateInventoryInput}
Response
{
  "data": {
    "inventory_subtract": {
      "request_id": "abc123",
      "complexity": 123,
      "warehouse_product": WarehouseProduct
    }
  }
}

inventory_sync

Response

Returns an InventorySyncOutput

Arguments
Name Description
data - InventorySyncInput!

Example

Query
mutation inventory_sync($data: InventorySyncInput!) {
  inventory_sync(data: $data) {
    request_id
    complexity
    sync_id
  }
}
Variables
{"data": InventorySyncInput}
Response
{
  "data": {
    "inventory_sync": {
      "request_id": "abc123",
      "complexity": 123,
      "sync_id": "abc123"
    }
  }
}

inventory_sync_abort

Response

Returns an AbortInventorySyncOutput

Arguments
Name Description
data - AbortInventorySyncInput!

Example

Query
mutation inventory_sync_abort($data: AbortInventorySyncInput!) {
  inventory_sync_abort(data: $data) {
    request_id
    complexity
    sync {
      ...InventorySyncStatusFragment
    }
  }
}
Variables
{"data": AbortInventorySyncInput}
Response
{
  "data": {
    "inventory_sync_abort": {
      "request_id": "abc123",
      "complexity": 987,
      "sync": InventorySyncStatus
    }
  }
}

inventory_transfer

Response

Returns a TransferInventoryOutput

Arguments
Name Description
data - TransferInventoryInput!

Example

Query
mutation inventory_transfer($data: TransferInventoryInput!) {
  inventory_transfer(data: $data) {
    request_id
    complexity
    ok
  }
}
Variables
{"data": TransferInventoryInput}
Response
{
  "data": {
    "inventory_transfer": {
      "request_id": "abc123",
      "complexity": 123,
      "ok": true
    }
  }
}

kit_build

Response

Returns a ProductMutationOutput

Arguments
Name Description
data - BuildKitInput!

Example

Query
mutation kit_build($data: BuildKitInput!) {
  kit_build(data: $data) {
    request_id
    complexity
    product {
      ...ProductFragment
    }
  }
}
Variables
{"data": BuildKitInput}
Response
{
  "data": {
    "kit_build": {
      "request_id": "abc123",
      "complexity": 123,
      "product": Product
    }
  }
}

kit_clear

Response

Returns a MutationOutput

Arguments
Name Description
data - ClearKitInput!

Example

Query
mutation kit_clear($data: ClearKitInput!) {
  kit_clear(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": ClearKitInput}
Response
{
  "data": {
    "kit_clear": {
      "request_id": "abc123",
      "complexity": 123
    }
  }
}

kit_remove_components

Response

Returns a ProductMutationOutput

Arguments
Name Description
data - RemoveKitComponentsInput!

Example

Query
mutation kit_remove_components($data: RemoveKitComponentsInput!) {
  kit_remove_components(data: $data) {
    request_id
    complexity
    product {
      ...ProductFragment
    }
  }
}
Variables
{"data": RemoveKitComponentsInput}
Response
{
  "data": {
    "kit_remove_components": {
      "request_id": "abc123",
      "complexity": 123,
      "product": Product
    }
  }
}

location_create

Response

Returns a LocationOutput

Arguments
Name Description
data - CreateLocationInput!

Example

Query
mutation location_create($data: CreateLocationInput!) {
  location_create(data: $data) {
    request_id
    complexity
    location {
      ...LocationFragment
    }
  }
}
Variables
{"data": CreateLocationInput}
Response
{
  "data": {
    "location_create": {
      "request_id": "abc123",
      "complexity": 123,
      "location": Location
    }
  }
}

location_update

Response

Returns a LocationOutput

Arguments
Name Description
data - UpdateLocationInput!

Example

Query
mutation location_update($data: UpdateLocationInput!) {
  location_update(data: $data) {
    request_id
    complexity
    location {
      ...LocationFragment
    }
  }
}
Variables
{"data": UpdateLocationInput}
Response
{
  "data": {
    "location_update": {
      "request_id": "xyz789",
      "complexity": 123,
      "location": Location
    }
  }
}

lot_assign_to_location

Response

Returns an AssignLotToLocationOutput

Arguments
Name Description
data - AssignLotToLocationInput!

Example

Query
mutation lot_assign_to_location($data: AssignLotToLocationInput!) {
  lot_assign_to_location(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": AssignLotToLocationInput}
Response
{
  "data": {
    "lot_assign_to_location": {
      "request_id": "xyz789",
      "complexity": 987,
      "warehouse_product": WarehouseProduct
    }
  }
}

lot_create

Response

Returns a CreateLotOutput

Arguments
Name Description
data - CreateLotInput!

Example

Query
mutation lot_create($data: CreateLotInput!) {
  lot_create(data: $data) {
    request_id
    complexity
    lot {
      ...LotFragment
    }
  }
}
Variables
{"data": CreateLotInput}
Response
{
  "data": {
    "lot_create": {
      "request_id": "abc123",
      "complexity": 123,
      "lot": Lot
    }
  }
}

lot_delete

Response

Returns a DeleteLotOutput

Arguments
Name Description
data - DeleteLotInput!

Example

Query
mutation lot_delete($data: DeleteLotInput!) {
  lot_delete(data: $data) {
    request_id
    complexity
    lot {
      ...LotFragment
    }
  }
}
Variables
{"data": DeleteLotInput}
Response
{
  "data": {
    "lot_delete": {
      "request_id": "abc123",
      "complexity": 987,
      "lot": Lot
    }
  }
}

lot_update

Response

Returns an UpdateLotOutput

Arguments
Name Description
data - UpdateLotInput!

Example

Query
mutation lot_update($data: UpdateLotInput!) {
  lot_update(data: $data) {
    request_id
    complexity
    lot {
      ...LotFragment
    }
  }
}
Variables
{"data": UpdateLotInput}
Response
{
  "data": {
    "lot_update": {
      "request_id": "xyz789",
      "complexity": 987,
      "lot": Lot
    }
  }
}

lots_update

Response

Returns an UpdateLotsOutput

Arguments
Name Description
data - UpdateLotsInput!

Example

Query
mutation lots_update($data: UpdateLotsInput!) {
  lots_update(data: $data) {
    request_id
    complexity
    ok
  }
}
Variables
{"data": UpdateLotsInput}
Response
{
  "data": {
    "lots_update": {
      "request_id": "abc123",
      "complexity": 123,
      "ok": true
    }
  }
}

node

Response

Returns a Node

Arguments
Name Description
id - ID! The ID of the object

Example

Query
mutation node($id: ID!) {
  node(id: $id) {
    id
  }
}
Variables
{"id": "4"}
Response
{"data": {"node": {"id": 4}}}

order_add_attachment

Response

Returns an OrderAddAttachmentOutput

Arguments
Name Description
data - OrderAddAttachmentInput!

Example

Query
mutation order_add_attachment($data: OrderAddAttachmentInput!) {
  order_add_attachment(data: $data) {
    request_id
    complexity
    attachment {
      ...OrderAttachmentFragment
    }
  }
}
Variables
{"data": OrderAddAttachmentInput}
Response
{
  "data": {
    "order_add_attachment": {
      "request_id": "xyz789",
      "complexity": 123,
      "attachment": OrderAttachment
    }
  }
}

order_add_history_entry

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - AddHistoryInput!

Example

Query
mutation order_add_history_entry($data: AddHistoryInput!) {
  order_add_history_entry(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": AddHistoryInput}
Response
{
  "data": {
    "order_add_history_entry": {
      "request_id": "abc123",
      "complexity": 123,
      "order": Order
    }
  }
}

order_add_line_items

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - AddLineItemsInput!

Example

Query
mutation order_add_line_items($data: AddLineItemsInput!) {
  order_add_line_items(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": AddLineItemsInput}
Response
{
  "data": {
    "order_add_line_items": {
      "request_id": "xyz789",
      "complexity": 987,
      "order": Order
    }
  }
}

order_add_tags

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateTagsInput!

Example

Query
mutation order_add_tags($data: UpdateTagsInput!) {
  order_add_tags(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateTagsInput}
Response
{
  "data": {
    "order_add_tags": {
      "request_id": "abc123",
      "complexity": 987,
      "order": Order
    }
  }
}

order_bulk_add_tags

Response

Returns a BulkMutationOutput

Arguments
Name Description
data - BulkUpdateTagsInput!

Example

Query
mutation order_bulk_add_tags($data: BulkUpdateTagsInput!) {
  order_bulk_add_tags(data: $data) {
    request_id
    complexity
    errors {
      ...OperationErrorFragment
    }
  }
}
Variables
{"data": BulkUpdateTagsInput}
Response
{
  "data": {
    "order_bulk_add_tags": {
      "request_id": "abc123",
      "complexity": 987,
      "errors": [OperationError]
    }
  }
}

order_bulk_remove_tags

Response

Returns a BulkMutationOutput

Arguments
Name Description
data - BulkUpdateTagsInput!

Example

Query
mutation order_bulk_remove_tags($data: BulkUpdateTagsInput!) {
  order_bulk_remove_tags(data: $data) {
    request_id
    complexity
    errors {
      ...OperationErrorFragment
    }
  }
}
Variables
{"data": BulkUpdateTagsInput}
Response
{
  "data": {
    "order_bulk_remove_tags": {
      "request_id": "xyz789",
      "complexity": 123,
      "errors": [OperationError]
    }
  }
}

order_cancel

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - CancelOrderInput!

Example

Query
mutation order_cancel($data: CancelOrderInput!) {
  order_cancel(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": CancelOrderInput}
Response
{
  "data": {
    "order_cancel": {
      "request_id": "abc123",
      "complexity": 123,
      "order": Order
    }
  }
}

order_change_warehouse

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - ChangeOrderWarehouseInput!

Example

Query
mutation order_change_warehouse($data: ChangeOrderWarehouseInput!) {
  order_change_warehouse(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": ChangeOrderWarehouseInput}
Response
{
  "data": {
    "order_change_warehouse": {
      "request_id": "xyz789",
      "complexity": 987,
      "order": Order
    }
  }
}

order_clear_tags

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateOrderInputBase!

Example

Query
mutation order_clear_tags($data: UpdateOrderInputBase!) {
  order_clear_tags(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateOrderInputBase}
Response
{
  "data": {
    "order_clear_tags": {
      "request_id": "xyz789",
      "complexity": 123,
      "order": Order
    }
  }
}

order_create

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - CreateOrderInput!

Example

Query
mutation order_create($data: CreateOrderInput!) {
  order_create(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": CreateOrderInput}
Response
{
  "data": {
    "order_create": {
      "request_id": "xyz789",
      "complexity": 987,
      "order": Order
    }
  }
}

order_fulfill

Response

Returns an OrderShipmentMutationOutput

Arguments
Name Description
data - FulfillOrderInput!

Example

Query
mutation order_fulfill($data: FulfillOrderInput!) {
  order_fulfill(data: $data) {
    request_id
    complexity
    shipment {
      ...ShipmentFragment
    }
  }
}
Variables
{"data": FulfillOrderInput}
Response
{
  "data": {
    "order_fulfill": {
      "request_id": "xyz789",
      "complexity": 987,
      "shipment": Shipment
    }
  }
}

order_merge

Response

Returns a MergeOrdersOutput

Arguments
Name Description
data - MergeOrdersInput!

Example

Query
mutation order_merge($data: MergeOrdersInput!) {
  order_merge(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": MergeOrdersInput}
Response
{
  "data": {
    "order_merge": {
      "request_id": "abc123",
      "complexity": 123,
      "order": Order
    }
  }
}

order_remove_line_items

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - RemoveLineItemsInput!

Example

Query
mutation order_remove_line_items($data: RemoveLineItemsInput!) {
  order_remove_line_items(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": RemoveLineItemsInput}
Response
{
  "data": {
    "order_remove_line_items": {
      "request_id": "xyz789",
      "complexity": 123,
      "order": Order
    }
  }
}

order_set_line_item_sku

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - SetLineItemSkuInput!

Example

Query
mutation order_set_line_item_sku($data: SetLineItemSkuInput!) {
  order_set_line_item_sku(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": SetLineItemSkuInput}
Response
{
  "data": {
    "order_set_line_item_sku": {
      "request_id": "abc123",
      "complexity": 123,
      "order": Order
    }
  }
}

order_unmerge

Response

Returns an UnmergeOrdersOutput

Arguments
Name Description
data - UnmergeOrdersInput!

Example

Query
mutation order_unmerge($data: UnmergeOrdersInput!) {
  order_unmerge(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UnmergeOrdersInput}
Response
{
  "data": {
    "order_unmerge": {
      "request_id": "xyz789",
      "complexity": 123,
      "order": Order
    }
  }
}

order_update

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateOrderInput!

Example

Query
mutation order_update($data: UpdateOrderInput!) {
  order_update(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateOrderInput}
Response
{
  "data": {
    "order_update": {
      "request_id": "abc123",
      "complexity": 987,
      "order": Order
    }
  }
}

order_update_fulfillment_status

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateOrderFulfillmentStatusInput!

Example

Query
mutation order_update_fulfillment_status($data: UpdateOrderFulfillmentStatusInput!) {
  order_update_fulfillment_status(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateOrderFulfillmentStatusInput}
Response
{
  "data": {
    "order_update_fulfillment_status": {
      "request_id": "abc123",
      "complexity": 987,
      "order": Order
    }
  }
}

order_update_holds

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateOrderHoldsInput!

Example

Query
mutation order_update_holds($data: UpdateOrderHoldsInput!) {
  order_update_holds(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateOrderHoldsInput}
Response
{
  "data": {
    "order_update_holds": {
      "request_id": "xyz789",
      "complexity": 123,
      "order": Order
    }
  }
}

order_update_line_items

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateLineItemsInput!

Example

Query
mutation order_update_line_items($data: UpdateLineItemsInput!) {
  order_update_line_items(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateLineItemsInput}
Response
{
  "data": {
    "order_update_line_items": {
      "request_id": "xyz789",
      "complexity": 987,
      "order": Order
    }
  }
}

order_update_tags

Response

Returns an OrderMutationOutput

Arguments
Name Description
data - UpdateTagsInput!

Example

Query
mutation order_update_tags($data: UpdateTagsInput!) {
  order_update_tags(data: $data) {
    request_id
    complexity
    order {
      ...OrderFragment
    }
  }
}
Variables
{"data": UpdateTagsInput}
Response
{
  "data": {
    "order_update_tags": {
      "request_id": "xyz789",
      "complexity": 987,
      "order": Order
    }
  }
}

product_add_to_warehouse

Response

Returns a WarehouseProductMutationOutput

Arguments
Name Description
data - AddProductToWarehouseInput!

Example

Query
mutation product_add_to_warehouse($data: AddProductToWarehouseInput!) {
  product_add_to_warehouse(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": AddProductToWarehouseInput}
Response
{
  "data": {
    "product_add_to_warehouse": {
      "request_id": "xyz789",
      "complexity": 123,
      "warehouse_product": WarehouseProduct
    }
  }
}

product_create

Response

Returns a CreateProductOutput

Arguments
Name Description
data - CreateProductInput!

Example

Query
mutation product_create($data: CreateProductInput!) {
  product_create(data: $data) {
    request_id
    complexity
    product {
      ...ProductFragment
    }
  }
}
Variables
{"data": CreateProductInput}
Response
{
  "data": {
    "product_create": {
      "request_id": "abc123",
      "complexity": 123,
      "product": Product
    }
  }
}

product_delete

Response

Returns a MutationOutput

Arguments
Name Description
data - DeleteProductInput!

Example

Query
mutation product_delete($data: DeleteProductInput!) {
  product_delete(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": DeleteProductInput}
Response
{
  "data": {
    "product_delete": {
      "request_id": "abc123",
      "complexity": 987
    }
  }
}

product_update

Response

Returns a ProductMutationOutput

Arguments
Name Description
data - UpdateProductInput!

Example

Query
mutation product_update($data: UpdateProductInput!) {
  product_update(data: $data) {
    request_id
    complexity
    product {
      ...ProductFragment
    }
  }
}
Variables
{"data": UpdateProductInput}
Response
{
  "data": {
    "product_update": {
      "request_id": "abc123",
      "complexity": 123,
      "product": Product
    }
  }
}

purchase_order_add_attachment

Response

Returns an AddPurchaseOrderAttachmentOutput

Arguments
Name Description
data - AddPurchaseOrderAttachmentInput!

Example

Query
mutation purchase_order_add_attachment($data: AddPurchaseOrderAttachmentInput!) {
  purchase_order_add_attachment(data: $data) {
    request_id
    complexity
    attachment {
      ...PurchaseOrderAttachmentFragment
    }
  }
}
Variables
{"data": AddPurchaseOrderAttachmentInput}
Response
{
  "data": {
    "purchase_order_add_attachment": {
      "request_id": "abc123",
      "complexity": 987,
      "attachment": PurchaseOrderAttachment
    }
  }
}

purchase_order_cancel

Response

Returns a CancelPurchaseOrderOutput

Arguments
Name Description
data - CancelPurchaseOrderInput!

Example

Query
mutation purchase_order_cancel($data: CancelPurchaseOrderInput!) {
  purchase_order_cancel(data: $data) {
    request_id
    complexity
    purchase_order {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{"data": CancelPurchaseOrderInput}
Response
{
  "data": {
    "purchase_order_cancel": {
      "request_id": "abc123",
      "complexity": 123,
      "purchase_order": PurchaseOrder
    }
  }
}

purchase_order_close

Response

Returns a ClosePurchaseOrderOutput

Arguments
Name Description
data - ClosePurchaseOrderInput!

Example

Query
mutation purchase_order_close($data: ClosePurchaseOrderInput!) {
  purchase_order_close(data: $data) {
    request_id
    complexity
    purchase_order {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{"data": ClosePurchaseOrderInput}
Response
{
  "data": {
    "purchase_order_close": {
      "request_id": "xyz789",
      "complexity": 123,
      "purchase_order": PurchaseOrder
    }
  }
}

purchase_order_create

Response

Returns a CreatePurchaseOrderOutput

Arguments
Name Description
data - CreatePurchaseOrderInput!

Example

Query
mutation purchase_order_create($data: CreatePurchaseOrderInput!) {
  purchase_order_create(data: $data) {
    request_id
    complexity
    purchase_order {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{"data": CreatePurchaseOrderInput}
Response
{
  "data": {
    "purchase_order_create": {
      "request_id": "xyz789",
      "complexity": 123,
      "purchase_order": PurchaseOrder
    }
  }
}

purchase_order_set_fulfillment_status

Arguments
Name Description
data - SetPurchaseOrderFulfillmentStatusInput!

Example

Query
mutation purchase_order_set_fulfillment_status($data: SetPurchaseOrderFulfillmentStatusInput!) {
  purchase_order_set_fulfillment_status(data: $data) {
    request_id
    complexity
    purchase_order {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{"data": SetPurchaseOrderFulfillmentStatusInput}
Response
{
  "data": {
    "purchase_order_set_fulfillment_status": {
      "request_id": "xyz789",
      "complexity": 123,
      "purchase_order": PurchaseOrder
    }
  }
}

purchase_order_update

Response

Returns an UpdatePurchaseOrderOutput

Arguments
Name Description
data - UpdatePurchaseOrderInput!

Example

Query
mutation purchase_order_update($data: UpdatePurchaseOrderInput!) {
  purchase_order_update(data: $data) {
    request_id
    complexity
    purchase_order {
      ...PurchaseOrderFragment
    }
  }
}
Variables
{"data": UpdatePurchaseOrderInput}
Response
{
  "data": {
    "purchase_order_update": {
      "request_id": "abc123",
      "complexity": 987,
      "purchase_order": PurchaseOrder
    }
  }
}

return_create

Response

Returns a CreateReturnOutput

Arguments
Name Description
data - CreateReturnInput!

Example

Query
mutation return_create($data: CreateReturnInput!) {
  return_create(data: $data) {
    request_id
    complexity
    return {
      ...ReturnFragment
    }
  }
}
Variables
{"data": CreateReturnInput}
Response
{
  "data": {
    "return_create": {
      "request_id": "xyz789",
      "complexity": 123,
      "return": Return
    }
  }
}

return_create_exchange

Response

Returns a CreateReturnExchangeOutput

Arguments
Name Description
data - CreateReturnExchangeInput!

Example

Query
mutation return_create_exchange($data: CreateReturnExchangeInput!) {
  return_create_exchange(data: $data) {
    request_id
    complexity
    return_exchange {
      ...ReturnExchangeFragment
    }
  }
}
Variables
{"data": CreateReturnExchangeInput}
Response
{
  "data": {
    "return_create_exchange": {
      "request_id": "abc123",
      "complexity": 123,
      "return_exchange": ReturnExchange
    }
  }
}

return_update_status

Response

Returns an UpdateReturnStatusOutput

Arguments
Name Description
data - UpdateReturnStatusInput!

Example

Query
mutation return_update_status($data: UpdateReturnStatusInput!) {
  return_update_status(data: $data) {
    request_id
    complexity
    return {
      ...ReturnFragment
    }
  }
}
Variables
{"data": UpdateReturnStatusInput}
Response
{
  "data": {
    "return_update_status": {
      "request_id": "xyz789",
      "complexity": 987,
      "return": Return
    }
  }
}

shipment_create

Response

Returns a CreateShipmentOutput

Arguments
Name Description
data - CreateShipmentInput!

Example

Query
mutation shipment_create($data: CreateShipmentInput!) {
  shipment_create(data: $data) {
    request_id
    complexity
    shipment {
      ...ShipmentFragment
    }
  }
}
Variables
{"data": CreateShipmentInput}
Response
{
  "data": {
    "shipment_create": {
      "request_id": "abc123",
      "complexity": 987,
      "shipment": Shipment
    }
  }
}

shipment_create_shipping_label

Response

Returns a CreateShippingLabelOutput

Arguments
Name Description
data - CreateShippingLabelInput!

Example

Query
mutation shipment_create_shipping_label($data: CreateShippingLabelInput!) {
  shipment_create_shipping_label(data: $data) {
    request_id
    complexity
    shipping_label {
      ...ShippingLabelFragment
    }
  }
}
Variables
{"data": CreateShippingLabelInput}
Response
{
  "data": {
    "shipment_create_shipping_label": {
      "request_id": "xyz789",
      "complexity": 987,
      "shipping_label": ShippingLabel
    }
  }
}

shipping_plan_create

Response

Returns a CreateShippingPlanOutput

Arguments
Name Description
data - CreateShippingPlanInput!

Example

Query
mutation shipping_plan_create($data: CreateShippingPlanInput!) {
  shipping_plan_create(data: $data) {
    request_id
    complexity
    shipping_plan {
      ...ShippingPlanFragment
    }
  }
}
Variables
{"data": CreateShippingPlanInput}
Response
{
  "data": {
    "shipping_plan_create": {
      "request_id": "abc123",
      "complexity": 987,
      "shipping_plan": ShippingPlan
    }
  }
}

vendor_add_product

Response

Returns a MutationOutput

Arguments
Name Description
data - AddProductToVendorInput!

Example

Query
mutation vendor_add_product($data: AddProductToVendorInput!) {
  vendor_add_product(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": AddProductToVendorInput}
Response
{
  "data": {
    "vendor_add_product": {
      "request_id": "xyz789",
      "complexity": 123
    }
  }
}

vendor_create

Response

Returns a CreateVendorOutput

Arguments
Name Description
data - CreateVendorInput!

Example

Query
mutation vendor_create($data: CreateVendorInput!) {
  vendor_create(data: $data) {
    request_id
    complexity
    vendor {
      ...VendorFragment
    }
  }
}
Variables
{"data": CreateVendorInput}
Response
{
  "data": {
    "vendor_create": {
      "request_id": "xyz789",
      "complexity": 987,
      "vendor": Vendor
    }
  }
}

vendor_delete

Response

Returns a MutationOutput

Arguments
Name Description
data - DeleteVendorInput!

Example

Query
mutation vendor_delete($data: DeleteVendorInput!) {
  vendor_delete(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": DeleteVendorInput}
Response
{
  "data": {
    "vendor_delete": {
      "request_id": "xyz789",
      "complexity": 987
    }
  }
}

vendor_remove_product

Response

Returns a MutationOutput

Arguments
Name Description
data - RemoveProductFromVendorInput!

Example

Query
mutation vendor_remove_product($data: RemoveProductFromVendorInput!) {
  vendor_remove_product(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": RemoveProductFromVendorInput}
Response
{
  "data": {
    "vendor_remove_product": {
      "request_id": "abc123",
      "complexity": 987
    }
  }
}

warehouse_product_delete

Response

Returns a MutationOutput

Arguments
Name Description
data - DeleteWarehouseProductInput!

Example

Query
mutation warehouse_product_delete($data: DeleteWarehouseProductInput!) {
  warehouse_product_delete(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": DeleteWarehouseProductInput}
Response
{
  "data": {
    "warehouse_product_delete": {
      "request_id": "xyz789",
      "complexity": 123
    }
  }
}

warehouse_product_update

Response

Returns a WarehouseProductMutationOutput

Arguments
Name Description
data - UpdateWarehouseProductInput!

Example

Query
mutation warehouse_product_update($data: UpdateWarehouseProductInput!) {
  warehouse_product_update(data: $data) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}
Variables
{"data": UpdateWarehouseProductInput}
Response
{
  "data": {
    "warehouse_product_update": {
      "request_id": "xyz789",
      "complexity": 123,
      "warehouse_product": WarehouseProduct
    }
  }
}

webhook_create

Response

Returns a CreateWebhookOutput

Arguments
Name Description
data - CreateWebhookInput!

Example

Query
mutation webhook_create($data: CreateWebhookInput!) {
  webhook_create(data: $data) {
    request_id
    complexity
    webhook {
      ...WebhookFragment
    }
  }
}
Variables
{"data": CreateWebhookInput}
Response
{
  "data": {
    "webhook_create": {
      "request_id": "xyz789",
      "complexity": 987,
      "webhook": Webhook
    }
  }
}

webhook_delete

Response

Returns a MutationOutput

Arguments
Name Description
data - DeleteWebhookInput!

Example

Query
mutation webhook_delete($data: DeleteWebhookInput!) {
  webhook_delete(data: $data) {
    request_id
    complexity
  }
}
Variables
{"data": DeleteWebhookInput}
Response
{
  "data": {
    "webhook_delete": {
      "request_id": "xyz789",
      "complexity": 123
    }
  }
}

wholesale_order_auto_allocate_for_picking

Arguments
Name Description
data - WholesaleOrderAutoAllocateInput!

Example

Query
mutation wholesale_order_auto_allocate_for_picking($data: WholesaleOrderAutoAllocateInput!) {
  wholesale_order_auto_allocate_for_picking(data: $data) {
    request_id
    complexity
    line_items {
      ...WholesaleOrderAutoAllocateForPickingTypeFragment
    }
  }
}
Variables
{"data": WholesaleOrderAutoAllocateInput}
Response
{
  "data": {
    "wholesale_order_auto_allocate_for_picking": {
      "request_id": "xyz789",
      "complexity": 987,
      "line_items": [
        WholesaleOrderAutoAllocateForPickingType
      ]
    }
  }
}

wholesale_order_create

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - CreateWholesaleOrderInput!

Example

Query
mutation wholesale_order_create($data: CreateWholesaleOrderInput!) {
  wholesale_order_create(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": CreateWholesaleOrderInput}
Response
{
  "data": {
    "wholesale_order_create": {
      "request_id": "abc123",
      "complexity": 123,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_order_edit_outbound_schedule

Arguments
Name Description
data - WholesaleOrderEditOutboundScheduleInput!

Example

Query
mutation wholesale_order_edit_outbound_schedule($data: WholesaleOrderEditOutboundScheduleInput!) {
  wholesale_order_edit_outbound_schedule(data: $data) {
    request_id
    complexity
    ok
  }
}
Variables
{"data": WholesaleOrderEditOutboundScheduleInput}
Response
{
  "data": {
    "wholesale_order_edit_outbound_schedule": {
      "request_id": "abc123",
      "complexity": 123,
      "ok": false
    }
  }
}

wholesale_order_fulfill

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - FulfillWholesaleOrderInput!

Example

Query
mutation wholesale_order_fulfill($data: FulfillWholesaleOrderInput!) {
  wholesale_order_fulfill(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": FulfillWholesaleOrderInput}
Response
{
  "data": {
    "wholesale_order_fulfill": {
      "request_id": "xyz789",
      "complexity": 987,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_order_generate_bol_document

Response

Returns a WholesaleOrderGenerateBOLOutput

Arguments
Name Description
data - WholesaleOrderGenerateBOLInput!

Example

Query
mutation wholesale_order_generate_bol_document($data: WholesaleOrderGenerateBOLInput!) {
  wholesale_order_generate_bol_document(data: $data) {
    request_id
    complexity
    pdf_url
  }
}
Variables
{"data": WholesaleOrderGenerateBOLInput}
Response
{
  "data": {
    "wholesale_order_generate_bol_document": {
      "request_id": "xyz789",
      "complexity": 987,
      "pdf_url": "xyz789"
    }
  }
}

wholesale_order_generate_label

Response

Returns a WholesaleGenerateLabelOutput

Arguments
Name Description
data - WholesaleGenerateLabelInput!

Example

Query
mutation wholesale_order_generate_label($data: WholesaleGenerateLabelInput!) {
  wholesale_order_generate_label(data: $data) {
    request_id
    complexity
    label_batches {
      ...LabelBatchItemTypeFragment
    }
  }
}
Variables
{"data": WholesaleGenerateLabelInput}
Response
{
  "data": {
    "wholesale_order_generate_label": {
      "request_id": "abc123",
      "complexity": 123,
      "label_batches": [LabelBatchItemType]
    }
  }
}

wholesale_order_print_manual_picking_sheet

Example

Query
mutation wholesale_order_print_manual_picking_sheet($data: WholesaleOrderPrintManualPickingSheetInput!) {
  wholesale_order_print_manual_picking_sheet(data: $data) {
    request_id
    complexity
    picking_sheet_url
  }
}
Variables
{"data": WholesaleOrderPrintManualPickingSheetInput}
Response
{
  "data": {
    "wholesale_order_print_manual_picking_sheet": {
      "request_id": "xyz789",
      "complexity": 123,
      "picking_sheet_url": "xyz789"
    }
  }
}

wholesale_order_print_packing_list

Arguments
Name Description
data - WholesaleOrderPrintPackingListInput!

Example

Query
mutation wholesale_order_print_packing_list($data: WholesaleOrderPrintPackingListInput!) {
  wholesale_order_print_packing_list(data: $data) {
    request_id
    complexity
    packing_list_url
  }
}
Variables
{"data": WholesaleOrderPrintPackingListInput}
Response
{
  "data": {
    "wholesale_order_print_packing_list": {
      "request_id": "xyz789",
      "complexity": 123,
      "packing_list_url": "abc123"
    }
  }
}

wholesale_order_print_packing_slip

Arguments
Name Description
data - WholesaleOrderPrintPackingSlipInput!

Example

Query
mutation wholesale_order_print_packing_slip($data: WholesaleOrderPrintPackingSlipInput!) {
  wholesale_order_print_packing_slip(data: $data) {
    request_id
    complexity
    pdf_url
  }
}
Variables
{"data": WholesaleOrderPrintPackingSlipInput}
Response
{
  "data": {
    "wholesale_order_print_packing_slip": {
      "request_id": "xyz789",
      "complexity": 987,
      "pdf_url": "abc123"
    }
  }
}

wholesale_order_transfer_picks_to_staging

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - UpdateWholesaleOrderInputBase!

Example

Query
mutation wholesale_order_transfer_picks_to_staging($data: UpdateWholesaleOrderInputBase!) {
  wholesale_order_transfer_picks_to_staging(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": UpdateWholesaleOrderInputBase}
Response
{
  "data": {
    "wholesale_order_transfer_picks_to_staging": {
      "request_id": "abc123",
      "complexity": 987,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_order_update

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - UpdateWholesaleOrderInput!

Example

Query
mutation wholesale_order_update($data: UpdateWholesaleOrderInput!) {
  wholesale_order_update(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": UpdateWholesaleOrderInput}
Response
{
  "data": {
    "wholesale_order_update": {
      "request_id": "abc123",
      "complexity": 123,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_order_update_picking_flow

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - UpdateWholesaleOrderPickingFlowInput!

Example

Query
mutation wholesale_order_update_picking_flow($data: UpdateWholesaleOrderPickingFlowInput!) {
  wholesale_order_update_picking_flow(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": UpdateWholesaleOrderPickingFlowInput}
Response
{
  "data": {
    "wholesale_order_update_picking_flow": {
      "request_id": "xyz789",
      "complexity": 987,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_order_update_staging_location

Response

Returns a WholesaleOrderMutationOutput

Arguments
Name Description
data - UpdateWholesaleOrderStagingLocationInput!

Example

Query
mutation wholesale_order_update_staging_location($data: UpdateWholesaleOrderStagingLocationInput!) {
  wholesale_order_update_staging_location(data: $data) {
    request_id
    complexity
    wholesale_order {
      ...WholesaleOrderFragment
    }
  }
}
Variables
{"data": UpdateWholesaleOrderStagingLocationInput}
Response
{
  "data": {
    "wholesale_order_update_staging_location": {
      "request_id": "abc123",
      "complexity": 123,
      "wholesale_order": WholesaleOrder
    }
  }
}

wholesale_set_as_ready_to_pick

Arguments
Name Description
data - WholesaleOrderSetReadyToPickInput!

Example

Query
mutation wholesale_set_as_ready_to_pick($data: WholesaleOrderSetReadyToPickInput!) {
  wholesale_set_as_ready_to_pick(data: $data) {
    request_id
    complexity
    ok
  }
}
Variables
{"data": WholesaleOrderSetReadyToPickInput}
Response
{
  "data": {
    "wholesale_set_as_ready_to_pick": {
      "request_id": "abc123",
      "complexity": 123,
      "ok": true
    }
  }
}

work_order_auto_assign_pick_locations

Arguments
Name Description
data - AutoAssignPickLocationsInput!

Example

Query
mutation work_order_auto_assign_pick_locations($data: AutoAssignPickLocationsInput!) {
  work_order_auto_assign_pick_locations(data: $data) {
    request_id
    complexity
    work_order {
      ...WorkOrderIdentifiableTypeFragment
    }
    assigned_component_skus
    unassigned_component_skus
  }
}
Variables
{"data": AutoAssignPickLocationsInput}
Response
{
  "data": {
    "work_order_auto_assign_pick_locations": {
      "request_id": "abc123",
      "complexity": 123,
      "work_order": WorkOrderIdentifiableType,
      "assigned_component_skus": ["abc123"],
      "unassigned_component_skus": [
        "abc123"
      ]
    }
  }
}

work_order_create

Response

Returns a WorkOrderMutationOutput

Arguments
Name Description
data - CreateWorkOrderInput!

Example

Query
mutation work_order_create($data: CreateWorkOrderInput!) {
  work_order_create(data: $data) {
    request_id
    complexity
    work_order {
      ...WorkOrderIdentifiableTypeFragment
    }
  }
}
Variables
{"data": CreateWorkOrderInput}
Response
{
  "data": {
    "work_order_create": {
      "request_id": "abc123",
      "complexity": 123,
      "work_order": WorkOrderIdentifiableType
    }
  }
}

Types

AbortInventorySyncInput

Fields
Input Field Description
sync_id - String!
reason - String
Example
{
  "sync_id": "xyz789",
  "reason": "abc123"
}

AbortInventorySyncOutput

Fields
Field Name Description
request_id - String
complexity - Int
sync - InventorySyncStatus
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "sync": InventorySyncStatus
}

Account

Fields
Field Name Description
id - String
legacy_id - Int
email - String
username - String
status - String
dynamic_slotting - Boolean
is_multi_warehouse - Boolean
is_3pl - Boolean
cycle_count_enabled - Boolean
ship_backorders - Boolean
customers - AccountConnection
Arguments
warehouse_id - String
sort - String
before - String
after - String
first - Int
last - Int
warehouses - [Warehouse]
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "email": "xyz789",
  "username": "abc123",
  "status": "abc123",
  "dynamic_slotting": false,
  "is_multi_warehouse": false,
  "is_3pl": false,
  "cycle_count_enabled": true,
  "ship_backorders": true,
  "customers": AccountConnection,
  "warehouses": [Warehouse]
}

AccountConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [AccountEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [AccountEdge]
}

AccountEdge

Description

A Relay edge containing a Account and its cursor.

Fields
Field Name Description
node - Account The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Account,
  "cursor": "xyz789"
}

AccountQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Account
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": Account
}

AccountType

Fields
Field Name Description
id - ID! The ID of the object
email - String
username - String
password - String
address1 - String
address2 - String
city - String
state - String
zip - String
ship_label_image - String
account_status - String
trial_expiration - DateTime
preferences_require_signature - Boolean!
preferences_stealth_postage - Boolean!
invoiceLogo - String
invoiceNote - String
endicia - Int
updated_at - DateTime!
created_at - DateTime!
google_token - String
google_account_name - String
google_refresh_token - String
google_token_expires_in - Int
notify_partial_ship_email - String
country - String
notify_payment_hold_email - String
notify_fraud_hold_email - String
ship_with_barcodes - Boolean
notify_customers_if_delivery_issue - Boolean!
send_tracking_on_manual_orders - Boolean!
cc_address_if_delivery_issue - String
notify_customer_when_out_for_delivery - Boolean
store_setup_completed - Boolean!
packer_setup_completed - Boolean!
carrier_setup_completed - Boolean!
mapping_completed - Boolean!
label_address_setup_completed - Boolean!
invoice_address_setup_completed - Boolean!
google_cloud_print_setup_completed - Boolean!
notify_from_warehouse_email - String
notify_packer_error_email - String
app_install_complete - Boolean
continuous_scan_barcodes - Boolean
weight_input_measure - String
dimension_input_measure - String
only_pick_if_available - Boolean
allow_partial_default - Boolean
ship_backorders - Boolean!
preferences_alcohol - Boolean!
print_with_cloud_print - Boolean!
timezone - String!
authnet_customerProfileId - Int
authnet_paymentProfileId - Int
authnet_cardCode - Int
authnet_expMonth - Int
authnet_expYear - Int
billing_users - Int!
billing_price - String!
billing_plan - String!
invoice_due_date - DateTime
show_unmapped - Boolean!
is_free_account - Boolean!
cycle_count_enabled - Boolean!
weekly_count_goal - Int!
weeks_to_count_items - Int!
cycle_count_in_bin_order - Boolean!
barcode_productName - Boolean!
barcode_sku - Boolean!
barcode_vendorName - Boolean!
barcode_bin - Boolean!
barcode_osBin - Boolean!
barcode_price - Boolean!
currency - String!
default_package_height - Float!
default_package_width - Float!
default_package_length - Float!
allow_batchpick - Boolean!
sort_orders_by - String!
show_kit_components - Boolean!
default_package_weight - Float!
invoice_orientation - Boolean!
invoice_size - String!
phone - String!
default_non_delivery_option - String!
default_tariff_code - String
default_country_of_manufacture - String!
multi_warehouse_rules - String!
barcode_width - Float!
barcode_height - Float!
make_all_invoices_gift - Boolean!
group_products_by_parent - Boolean!
is203dpi - Boolean!
update_product_value_from_pos - Boolean!
po_default_save_price_and_man - Boolean
generic_label_postage_required - Boolean!
show_generic_label_logo - Boolean!
generic_label_postage_text - String
generic_label_return_address_text - String
sort_by_pick_priority - Boolean!
pick_priority_order - String!
send_return_label_email - Boolean!
show_customer_name_with_order - Boolean!
sort_line_items - String!
show_packer_note_on_invoice - Boolean!
use_zpl - Boolean!
batch_manage_ignore_holds - Boolean!
never_backorder - Boolean!
multi_currency - Boolean!
generic_label_type - String!
use_product_weight - Boolean!
is_multi_warehouse - Boolean!
generic_label_height - Float!
generic_label_width - Float!
chargify_subscription_id - Int
discount_code - String
additional_devices - Int!
show_po_thumbs - Boolean!
dynamic_slotting - Int!
show_billing_address_on_gift_invoice - Boolean!
show_product_note_in_app - Boolean!
generic_label_full_country_name - Boolean!
sort_po_items - String!
returns_settings - String!
default_genericlabel_carrier - String
default_genericlabel_method - String
default_orders_sort_by - String!
auto_print_invoice - Boolean!
auto_print_return_label - Boolean!
exclude_one_line_item_orders - Boolean!
max_quantity_per_batch - Int!
max_cube_per_batch - Int!
max_weight_per_batch - Int!
min_quantity_per_batch - Int!
min_cube_per_batch - Int!
min_weight_per_batch - Int!
orders_per_batch - Int!
show_order_weight_filter - Boolean!
customer_return_types - String!
combine_skus_to_pick - Boolean!
expected_weight - String!
has_no_air - Boolean!
dashboard_settings - String!
pick_to_totes - Boolean!
threepl_customers - String
product_barcode_title_limit - Int!
require_signature - Boolean!
show_vendors_on_product_index_page - Boolean!
barcode_orientation - String!
confirm_packing_note - Boolean!
contents_type_for_customs - String!
show_multibatch_picking - Boolean!
customs_description - String
force_prompt_for_tracking - Boolean!
use_product_name_on_invoice - Boolean!
allow_partial_only_once - Boolean!
pre_shipment_verify_payment - Boolean!
use_threepl_customer_from_address - Boolean!
notify_if_unmapped_email - String
use_labels_staging_server - Boolean!
allow_customer_self_returns - Boolean!
return_warehouse_default - Int
logging - Boolean!
print_invoice_with_label - Boolean!
allow_scan_kit_parent - Boolean!
referrer - String
add_to_warehouse_ids - String
integrated_shipping_label - Boolean!
bill_by_devices - Boolean!
threepl_client_only - Boolean!
label_reference1 - String!
label_reference2 - String!
keep_scale_on - Boolean!
generate_rma_for_each_label - Boolean!
force_pin_if_not_scanned - Boolean!
single_item_batch_pick_quantity - Int!
pending_screen_order_quantity - Int!
if_address_cant_validate_set_hold - Boolean!
date_format - String!
allow_split_orders_default - Boolean!
show_option_title_in_apps - Boolean!
registration_token - String
max_package_weight_in_ounces - Float!
canceled_date - DateTime
lot_tracking_settings - LotTrackingSettings
business_relationships - BusinessRelationshipSchemaCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
customers - BusinessRelationshipSchemaCountableConnection
Arguments
is_active - Boolean
customer_id - Int
is_account_active - Boolean
by_warehouse_profile_default - Boolean
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
warehouses - WarehouseTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
products_info - ProductInfoTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
products - ProductTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
connected_carriers - ConnectedCarrierTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
item_bins - ProductLocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
bins - BinTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
line_items - LineItemCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
is_3pl - Boolean
is_3pl_customer - Boolean
is_sf_3pl - Boolean
is_hybrid_account - Boolean
is_portal_account - Boolean
can_access_billing_as_customer - Boolean
lot_tracking - Boolean
merge_orders_groupers - [MergeOrdersRuleType]
merge_orders_dismissers - [MergeOrdersDismissRuleType]
portal_logo - String
portal_name - String
cash_billing_status - String
mfa_enabled - Boolean
Example
{
  "id": "4",
  "email": "xyz789",
  "username": "xyz789",
  "password": "abc123",
  "address1": "xyz789",
  "address2": "abc123",
  "city": "abc123",
  "state": "xyz789",
  "zip": "abc123",
  "ship_label_image": "abc123",
  "account_status": "xyz789",
  "trial_expiration": "2007-12-03T10:15:30Z",
  "preferences_require_signature": false,
  "preferences_stealth_postage": false,
  "invoiceLogo": "abc123",
  "invoiceNote": "abc123",
  "endicia": 123,
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "google_token": "xyz789",
  "google_account_name": "xyz789",
  "google_refresh_token": "xyz789",
  "google_token_expires_in": 123,
  "notify_partial_ship_email": "xyz789",
  "country": "abc123",
  "notify_payment_hold_email": "abc123",
  "notify_fraud_hold_email": "abc123",
  "ship_with_barcodes": true,
  "notify_customers_if_delivery_issue": false,
  "send_tracking_on_manual_orders": false,
  "cc_address_if_delivery_issue": "abc123",
  "notify_customer_when_out_for_delivery": false,
  "store_setup_completed": true,
  "packer_setup_completed": true,
  "carrier_setup_completed": true,
  "mapping_completed": false,
  "label_address_setup_completed": true,
  "invoice_address_setup_completed": true,
  "google_cloud_print_setup_completed": false,
  "notify_from_warehouse_email": "abc123",
  "notify_packer_error_email": "abc123",
  "app_install_complete": false,
  "continuous_scan_barcodes": true,
  "weight_input_measure": "xyz789",
  "dimension_input_measure": "abc123",
  "only_pick_if_available": false,
  "allow_partial_default": true,
  "ship_backorders": false,
  "preferences_alcohol": false,
  "print_with_cloud_print": false,
  "timezone": "abc123",
  "authnet_customerProfileId": 123,
  "authnet_paymentProfileId": 987,
  "authnet_cardCode": 123,
  "authnet_expMonth": 987,
  "authnet_expYear": 987,
  "billing_users": 123,
  "billing_price": "abc123",
  "billing_plan": "abc123",
  "invoice_due_date": "2007-12-03T10:15:30Z",
  "show_unmapped": false,
  "is_free_account": false,
  "cycle_count_enabled": true,
  "weekly_count_goal": 123,
  "weeks_to_count_items": 987,
  "cycle_count_in_bin_order": true,
  "barcode_productName": false,
  "barcode_sku": false,
  "barcode_vendorName": true,
  "barcode_bin": false,
  "barcode_osBin": false,
  "barcode_price": false,
  "currency": "xyz789",
  "default_package_height": 123.45,
  "default_package_width": 123.45,
  "default_package_length": 123.45,
  "allow_batchpick": true,
  "sort_orders_by": "abc123",
  "show_kit_components": false,
  "default_package_weight": 987.65,
  "invoice_orientation": true,
  "invoice_size": "abc123",
  "phone": "xyz789",
  "default_non_delivery_option": "xyz789",
  "default_tariff_code": "abc123",
  "default_country_of_manufacture": "xyz789",
  "multi_warehouse_rules": "abc123",
  "barcode_width": 987.65,
  "barcode_height": 123.45,
  "make_all_invoices_gift": false,
  "group_products_by_parent": false,
  "is203dpi": true,
  "update_product_value_from_pos": false,
  "po_default_save_price_and_man": false,
  "generic_label_postage_required": false,
  "show_generic_label_logo": false,
  "generic_label_postage_text": "abc123",
  "generic_label_return_address_text": "abc123",
  "sort_by_pick_priority": true,
  "pick_priority_order": "xyz789",
  "send_return_label_email": true,
  "show_customer_name_with_order": false,
  "sort_line_items": "abc123",
  "show_packer_note_on_invoice": true,
  "use_zpl": false,
  "batch_manage_ignore_holds": false,
  "never_backorder": true,
  "multi_currency": false,
  "generic_label_type": "xyz789",
  "use_product_weight": false,
  "is_multi_warehouse": false,
  "generic_label_height": 123.45,
  "generic_label_width": 123.45,
  "chargify_subscription_id": 987,
  "discount_code": "xyz789",
  "additional_devices": 987,
  "show_po_thumbs": false,
  "dynamic_slotting": 987,
  "show_billing_address_on_gift_invoice": false,
  "show_product_note_in_app": false,
  "generic_label_full_country_name": false,
  "sort_po_items": "abc123",
  "returns_settings": "abc123",
  "default_genericlabel_carrier": "abc123",
  "default_genericlabel_method": "xyz789",
  "default_orders_sort_by": "xyz789",
  "auto_print_invoice": false,
  "auto_print_return_label": false,
  "exclude_one_line_item_orders": false,
  "max_quantity_per_batch": 123,
  "max_cube_per_batch": 123,
  "max_weight_per_batch": 123,
  "min_quantity_per_batch": 123,
  "min_cube_per_batch": 987,
  "min_weight_per_batch": 987,
  "orders_per_batch": 987,
  "show_order_weight_filter": false,
  "customer_return_types": "xyz789",
  "combine_skus_to_pick": false,
  "expected_weight": "abc123",
  "has_no_air": true,
  "dashboard_settings": "xyz789",
  "pick_to_totes": true,
  "threepl_customers": "abc123",
  "product_barcode_title_limit": 987,
  "require_signature": true,
  "show_vendors_on_product_index_page": false,
  "barcode_orientation": "abc123",
  "confirm_packing_note": false,
  "contents_type_for_customs": "xyz789",
  "show_multibatch_picking": true,
  "customs_description": "xyz789",
  "force_prompt_for_tracking": false,
  "use_product_name_on_invoice": false,
  "allow_partial_only_once": true,
  "pre_shipment_verify_payment": true,
  "use_threepl_customer_from_address": true,
  "notify_if_unmapped_email": "abc123",
  "use_labels_staging_server": true,
  "allow_customer_self_returns": false,
  "return_warehouse_default": 987,
  "logging": true,
  "print_invoice_with_label": true,
  "allow_scan_kit_parent": true,
  "referrer": "xyz789",
  "add_to_warehouse_ids": "xyz789",
  "integrated_shipping_label": false,
  "bill_by_devices": true,
  "threepl_client_only": true,
  "label_reference1": "xyz789",
  "label_reference2": "xyz789",
  "keep_scale_on": false,
  "generate_rma_for_each_label": true,
  "force_pin_if_not_scanned": false,
  "single_item_batch_pick_quantity": 987,
  "pending_screen_order_quantity": 987,
  "if_address_cant_validate_set_hold": true,
  "date_format": "xyz789",
  "allow_split_orders_default": true,
  "show_option_title_in_apps": false,
  "registration_token": "xyz789",
  "max_package_weight_in_ounces": 987.65,
  "canceled_date": "2007-12-03T10:15:30Z",
  "lot_tracking_settings": LotTrackingSettings,
  "business_relationships": BusinessRelationshipSchemaCountableConnection,
  "customers": BusinessRelationshipSchemaCountableConnection,
  "warehouses": WarehouseTypeCountableConnection,
  "products_info": ProductInfoTypeCountableConnection,
  "products": ProductTypeCountableConnection,
  "connected_carriers": ConnectedCarrierTypeCountableConnection,
  "item_bins": ProductLocationTypeCountableConnection,
  "bins": BinTypeCountableConnection,
  "line_items": LineItemCountableConnection,
  "row_id": {},
  "is_3pl": true,
  "is_3pl_customer": false,
  "is_sf_3pl": true,
  "is_hybrid_account": false,
  "is_portal_account": true,
  "can_access_billing_as_customer": true,
  "lot_tracking": false,
  "merge_orders_groupers": [MergeOrdersRuleType],
  "merge_orders_dismissers": [MergeOrdersDismissRuleType],
  "portal_logo": "xyz789",
  "portal_name": "xyz789",
  "cash_billing_status": "xyz789",
  "mfa_enabled": true
}

AddHistoryInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
history_entry - UserNoteInput
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "history_entry": UserNoteInput
}

AddLineItemsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
line_items - [CreateLineItemInput]!
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "line_items": [CreateLineItemInput]
}

AddProductToVendorInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
vendor_id - String!
sku - String!
manufacturer_sku - String
price - String
Example
{
  "customer_account_id": "xyz789",
  "vendor_id": "abc123",
  "sku": "xyz789",
  "manufacturer_sku": "xyz789",
  "price": "abc123"
}

AddProductToWarehouseInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
warehouse_id - String!
on_hand - Int
inventory_bin - String
inventory_overstock_bin - String
reserve_inventory - Int
replenishment_level - Int
reorder_level - Int
reorder_amount - Int
price - String
value - String
value_currency - String
active - Boolean
Example
{
  "customer_account_id": "xyz789",
  "sku": "abc123",
  "warehouse_id": "abc123",
  "on_hand": 123,
  "inventory_bin": "abc123",
  "inventory_overstock_bin": "abc123",
  "reserve_inventory": 987,
  "replenishment_level": 123,
  "reorder_level": 123,
  "reorder_amount": 987,
  "price": "abc123",
  "value": "xyz789",
  "value_currency": "xyz789",
  "active": false
}

AddPurchaseOrderAttachmentInput

Fields
Input Field Description
po_id - String!
url - String!
description - String
filename - String
file_type - String
Example
{
  "po_id": "abc123",
  "url": "xyz789",
  "description": "abc123",
  "filename": "abc123",
  "file_type": "abc123"
}

AddPurchaseOrderAttachmentOutput

Fields
Field Name Description
request_id - String
complexity - Int
attachment - PurchaseOrderAttachment
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "attachment": PurchaseOrderAttachment
}

Address

Fields
Field Name Description
name - String The address's name or name of the person assigned to the address
address1 - String Address line 1
address2 - String Address line 2
city - String Address's City
state - String Address's State
country - String Address's Country
zip - String Address's Postal Code
phone - String
Example
{
  "name": "xyz789",
  "address1": "abc123",
  "address2": "xyz789",
  "city": "xyz789",
  "state": "xyz789",
  "country": "xyz789",
  "zip": "abc123",
  "phone": "abc123"
}

AddressInput

Fields
Input Field Description
name - String
address1 - String
address2 - String
city - String
state - String
country - String
zip - String
phone - String
Example
{
  "name": "abc123",
  "address1": "abc123",
  "address2": "xyz789",
  "city": "abc123",
  "state": "abc123",
  "country": "xyz789",
  "zip": "abc123",
  "phone": "xyz789"
}

AllocatedAllocationType

Fields
Field Name Description
quantity - Int
status - PickingJobStatus
location - Location
Example
{"quantity": 987, "status": "DRAFT", "location": Location}

AllocationErrorType

Fields
Field Name Description
message - String!
quantity - Int
Example
{"message": "abc123", "quantity": 123}

AllocationType

AssemblyMapType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
sku - String!
component_sku - String!
quantity - Int!
created_at - DateTime!
updated_at - DateTime
component - ProductInfoType
parent - ProductInfoType
row_id - BigInt
Example
{
  "id": "4",
  "account_id": 987,
  "sku": "abc123",
  "component_sku": "xyz789",
  "quantity": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "component": ProductInfoType,
  "parent": ProductInfoType,
  "row_id": {}
}

AssemblyMapTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [AssemblyMapTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [AssemblyMapTypeCountableEdge],
  "total_count": 987
}

AssemblyMapTypeCountableEdge

Description

A Relay edge containing a AssemblyMapTypeCountable and its cursor.

Fields
Field Name Description
node - AssemblyMapType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": AssemblyMapType,
  "cursor": "abc123"
}

AssemblySKUType

Fields
Input Field Description
sku - String!
quantity - Int!
receiving_location_id - String
staging_location_id - String
lot_id - String
Example
{
  "sku": "xyz789",
  "quantity": 123,
  "receiving_location_id": "abc123",
  "staging_location_id": "abc123",
  "lot_id": "xyz789"
}

AssignLotToLocationInput

Description

GraphQL input type for assigning a Lot to a Location.

Fields
Input Field Description
lot_id - String! Unique identifier of the Lot the product belongs to
location_id - String! Unique identifier of the Location the product is placed at
Example
{
  "lot_id": "abc123",
  "location_id": "abc123"
}

AssignLotToLocationOutput

Description

GraphQL output type for assigning a Lot to a Location.

Fields
Field Name Description
request_id - String
complexity - Int
warehouse_product - WarehouseProduct
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "warehouse_product": WarehouseProduct
}

AttachmentType

Fields
Field Name Description
id - String
url - String
type - String
size_in_bytes - String
purpose - String
file_info - FileInfoType
Example
{
  "id": "xyz789",
  "url": "xyz789",
  "type": "xyz789",
  "size_in_bytes": "abc123",
  "purpose": "xyz789",
  "file_info": FileInfoType
}

Authorization

Fields
Field Name Description
transaction_id - String
authorized_amount - String
postauthed_amount - String
refunded_amount - String
card_type - String
date - ISODateTime
Example
{
  "transaction_id": "abc123",
  "authorized_amount": "xyz789",
  "postauthed_amount": "abc123",
  "refunded_amount": "abc123",
  "card_type": "abc123",
  "date": ISODateTime
}

AutoAssignPickLocationsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
work_order_id - String!
Example
{
  "customer_account_id": "abc123",
  "work_order_id": "abc123"
}

BigInt

Description

The BigInt scalar type represents non-fractional whole numeric values. BigInt is not constrained to 32-bit like the Int type and thus is a less compatible type.

Example
{}

Bill

Fields
Field Name Description
id - String
legacy_id - Int
status - String
customer_name - String
profile_name - String
created_at - ISODateTime
due_date - ISODateTime
amount - Money
totals - FeeCategoryTotalConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
bill_exports - BillExportsConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
billing_period - BillingPeriod
billing_frequency - String
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "status": "abc123",
  "customer_name": "xyz789",
  "profile_name": "xyz789",
  "created_at": ISODateTime,
  "due_date": ISODateTime,
  "amount": Money,
  "totals": FeeCategoryTotalConnection,
  "bill_exports": BillExportsConnection,
  "billing_period": BillingPeriod,
  "billing_frequency": "abc123"
}

BillConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [BillEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [BillEdge]
}

BillEdge

Description

A Relay edge containing a Bill and its cursor.

Fields
Field Name Description
node - Bill The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Bill,
  "cursor": "xyz789"
}

BillExports

Fields
Field Name Description
id - String
legacy_id - Int
status - String
file_url - String
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "status": "xyz789",
  "file_url": "abc123"
}

BillExportsConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [BillExportsEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [BillExportsEdge]
}

BillExportsEdge

Description

A Relay edge containing a BillExports and its cursor.

Fields
Field Name Description
node - BillExports The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": BillExports,
  "cursor": "abc123"
}

BillQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Bill
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": Bill
}

BillingPeriod

Fields
Field Name Description
start - ISODateTime
end - ISODateTime
Example
{
  "start": ISODateTime,
  "end": ISODateTime
}

BillsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - BillConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": BillConnection
}

BinType

Fields
Field Name Description
is_being_counted - Boolean
id - ID! The ID of the object
account_id - ID!
warehouse - String!
location - String
pickable - Boolean
sellable - Boolean
zone - String!
zone_id - Int
is_cart - Boolean
pick_priority - Int!
location_type_id - Int!
length - Float!
width - Float!
height - Float!
max_weight - Float!
temperature - Float!
warehouse_id - ID!
last_counted - DateTime!
is_hospital - Boolean!
is_staging - Boolean!
created_at - DateTime!
account - AccountType
location_warehouse - WarehouseType
item_bins - ProductLocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
lpns - [LicensePlateNumberV2Type]
change_log - LocationChangeLogTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
assigned - Boolean
total_quantity - Int
total_unique_skus - Int
zone_info - ZoneInfoType
loose_product_location_types - [ProductLocationType]
is_lpn_allowed - Boolean
Example
{
  "is_being_counted": true,
  "id": "4",
  "account_id": "4",
  "warehouse": "abc123",
  "location": "abc123",
  "pickable": false,
  "sellable": true,
  "zone": "abc123",
  "zone_id": 123,
  "is_cart": true,
  "pick_priority": 987,
  "location_type_id": 123,
  "length": 123.45,
  "width": 123.45,
  "height": 987.65,
  "max_weight": 123.45,
  "temperature": 123.45,
  "warehouse_id": 4,
  "last_counted": "2007-12-03T10:15:30Z",
  "is_hospital": false,
  "is_staging": false,
  "created_at": "2007-12-03T10:15:30Z",
  "account": AccountType,
  "location_warehouse": WarehouseType,
  "item_bins": ProductLocationTypeCountableConnection,
  "lpns": [LicensePlateNumberV2Type],
  "change_log": LocationChangeLogTypeCountableConnection,
  "row_id": {},
  "assigned": false,
  "total_quantity": 987,
  "total_unique_skus": 123,
  "zone_info": ZoneInfoType,
  "loose_product_location_types": [ProductLocationType],
  "is_lpn_allowed": true
}

BinTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [BinTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [BinTypeCountableEdge],
  "total_count": 123
}

BinTypeCountableEdge

Description

A Relay edge containing a BinTypeCountable and its cursor.

Fields
Field Name Description
node - BinType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": BinType,
  "cursor": "abc123"
}

Boolean

Description

The Boolean scalar type represents true or false.

Example
true

BuildKitComponentInput

Fields
Input Field Description
sku - String!
quantity - Int!
Example
{"sku": "abc123", "quantity": 123}

BuildKitInput

Fields
Input Field Description
sku - String!
components - [BuildKitComponentInput]!
kit_build - Boolean
customer_account_id - String
Example
{
  "sku": "xyz789",
  "components": [BuildKitComponentInput],
  "kit_build": true,
  "customer_account_id": "abc123"
}

BulkMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
errors - [OperationError]
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "errors": [OperationError]
}

BulkUpdateTagsInput

Fields
Input Field Description
orders_ids - [String]
tags - [String]
Example
{
  "orders_ids": ["abc123"],
  "tags": ["abc123"]
}

BusinessRelationshipConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [BusinessRelationshipEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [BusinessRelationshipEdge],
  "total_count": 123
}

BusinessRelationshipEdge

Description

A Relay edge containing a BusinessRelationship and its cursor.

Fields
Field Name Description
node - BusinessRelationshipSchema The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": BusinessRelationshipSchema,
  "cursor": "abc123"
}

BusinessRelationshipSchema

Fields
Field Name Description
last_bill_submitted_at - String
last_bill_amount - String
id - ID! The ID of the object
account_id - ID!
customer_id - ID!
customer_profile_id - ID!
customer_warehouse_id - Int
warehouse_id - ID!
warehouse_accepted - Int!
customer_accepted - Int!
date_created - DateTime!
from_name - String!
use_customers_shipping_account - Int!
invoice_schedule - String!
enable_chat - Int!
pause_shipping - Int!
use_customers_warehouse_info - Int!
do_not_overwrite_from_name - Int!
billing_day - Int!
billing_frequency - String!
payment_terms - Int!
billing_profile_id - Int
created_at - DateTime!
label_charge_trigger - WarehouseToCustomersLabelChargeTrigger!
billing_email - String
show_label_costs_to_customer - Int!
customer_can_access_bills - Int!
returns_use_3pl_shipping_accounts - Int!
export_bills_on_tally - Int!
tally_bills_on_schedule - Int!
do_not_allow_account_switch - Int!
open_invoices - String
customer - AccountType
threepl - AccountType
warehouse - WarehouseType
products - ProductTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
has_products_in_warehouse - Boolean
active - Boolean
lot_tracking_settings - LotTrackingSettings
invoice_build_strategy - String
export_bills_to_quickbooks - Boolean
finalize_and_export_bills_on_tally_qbo_schedule - Boolean
attach_csv_qbo_auto - Boolean
account_status - String
Example
{
  "last_bill_submitted_at": "abc123",
  "last_bill_amount": "abc123",
  "id": "4",
  "account_id": 4,
  "customer_id": "4",
  "customer_profile_id": "4",
  "customer_warehouse_id": 123,
  "warehouse_id": "4",
  "warehouse_accepted": 987,
  "customer_accepted": 987,
  "date_created": "2007-12-03T10:15:30Z",
  "from_name": "abc123",
  "use_customers_shipping_account": 987,
  "invoice_schedule": "abc123",
  "enable_chat": 987,
  "pause_shipping": 123,
  "use_customers_warehouse_info": 987,
  "do_not_overwrite_from_name": 987,
  "billing_day": 123,
  "billing_frequency": "abc123",
  "payment_terms": 987,
  "billing_profile_id": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "label_charge_trigger": "CHARGE_ESTIMATE_AND_RECONCILE",
  "billing_email": "abc123",
  "show_label_costs_to_customer": 123,
  "customer_can_access_bills": 987,
  "returns_use_3pl_shipping_accounts": 123,
  "export_bills_on_tally": 987,
  "tally_bills_on_schedule": 987,
  "do_not_allow_account_switch": 987,
  "open_invoices": "abc123",
  "customer": AccountType,
  "threepl": AccountType,
  "warehouse": WarehouseType,
  "products": ProductTypeCountableConnection,
  "row_id": {},
  "has_products_in_warehouse": false,
  "active": false,
  "lot_tracking_settings": LotTrackingSettings,
  "invoice_build_strategy": "xyz789",
  "export_bills_to_quickbooks": true,
  "finalize_and_export_bills_on_tally_qbo_schedule": true,
  "attach_csv_qbo_auto": true,
  "account_status": "xyz789"
}

BusinessRelationshipSchemaCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [BusinessRelationshipSchemaCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [BusinessRelationshipSchemaCountableEdge],
  "total_count": 123
}

BusinessRelationshipSchemaCountableEdge

Description

A Relay edge containing a BusinessRelationshipSchemaCountable and its cursor.

Fields
Field Name Description
node - BusinessRelationshipSchema The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": BusinessRelationshipSchema,
  "cursor": "xyz789"
}

CancelOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
reason - String
void_on_platform - Boolean Whether or not to void the order on the sales platform
force - Boolean Cancel an order even if it has valid labels and completed shipments
Example
{
  "customer_account_id": "xyz789",
  "order_id": "abc123",
  "reason": "abc123",
  "void_on_platform": false,
  "force": true
}

CancelPurchaseOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
po_id - String!
Example
{
  "customer_account_id": "xyz789",
  "po_id": "abc123"
}

CancelPurchaseOrderOutput

Fields
Field Name Description
request_id - String
complexity - Int
purchase_order - PurchaseOrder
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "purchase_order": PurchaseOrder
}

Case

Fields
Field Name Description
id - String
legacy_id - Int
case_barcode - String
case_quantity - Int
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "case_barcode": "xyz789",
  "case_quantity": 123
}

ChangeOrderWarehouseInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
warehouse_id - String!
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "warehouse_id": "xyz789"
}

ClearKitInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
Example
{
  "customer_account_id": "xyz789",
  "sku": "xyz789"
}

ClosePurchaseOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
po_id - String!
Example
{
  "customer_account_id": "abc123",
  "po_id": "xyz789"
}

ClosePurchaseOrderOutput

Fields
Field Name Description
request_id - String
complexity - Int
purchase_order - PurchaseOrder
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "purchase_order": PurchaseOrder
}

ConnectedCarrierType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
carrier - String!
carrier_id - Int!
created_at - DateTime!
updated_at - DateTime!
shipping_carrier_id - Int
allow_customer_returns - Int!
disable_quoting - Int!
disable_creating_labels - Int!
disable_automation_rules - Int!
account - AccountType
shipping_carrier - ShippingCarrierType
ups - UpsType
row_id - BigInt
Example
{
  "id": "4",
  "account_id": 123,
  "carrier": "xyz789",
  "carrier_id": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "shipping_carrier_id": 987,
  "allow_customer_returns": 987,
  "disable_quoting": 987,
  "disable_creating_labels": 987,
  "disable_automation_rules": 987,
  "account": AccountType,
  "shipping_carrier": ShippingCarrierType,
  "ups": UpsType,
  "row_id": {}
}

ConnectedCarrierTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ConnectedCarrierTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ConnectedCarrierTypeCountableEdge],
  "total_count": 123
}

ConnectedCarrierTypeCountableEdge

Description

A Relay edge containing a ConnectedCarrierTypeCountable and its cursor.

Fields
Field Name Description
node - ConnectedCarrierType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ConnectedCarrierType,
  "cursor": "abc123"
}

CreateBillInput

Fields
Input Field Description
customer_account_id - String!
start_date - ISODateTime!
end_date - ISODateTime!
warehouse_id - String
Example
{
  "customer_account_id": "abc123",
  "start_date": ISODateTime,
  "end_date": ISODateTime,
  "warehouse_id": "xyz789"
}

CreateBillOutput

Fields
Field Name Description
request_id - String
complexity - Int
bill - Bill
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "bill": Bill
}

CreateExchangeItem

Fields
Input Field Description
return_item_id - String!
exchange_product_sku - String!
quantity - Int!
Example
{
  "return_item_id": "xyz789",
  "exchange_product_sku": "xyz789",
  "quantity": 123
}

CreateLabelResourceInput

Fields
Input Field Description
paper_pdf_location - String
thermal_pdf_location - String
pdf_location - String
image_location - String
Example
{
  "paper_pdf_location": "abc123",
  "thermal_pdf_location": "xyz789",
  "pdf_location": "xyz789",
  "image_location": "abc123"
}

CreateLineItemInput

Fields
Input Field Description
sku - String!
partner_line_item_id - String! A unique identifier, usually the customer's internal id. It should be unique across all the order's line items, and is recommended to be unique accross the entire store.
quantity - Int!
price - String!
product_name - String
option_title - String
fulfillment_status - String
quantity_pending_fulfillment - Int
custom_options - GenericScalar
custom_barcode - String
eligible_for_return - Boolean
customs_value - String A decimal value used for customs
barcode - String
warehouse_id - String Set to lock to that warehouse. The item will not be moved in any multi-warehouse processing
Example
{
  "sku": "xyz789",
  "partner_line_item_id": "xyz789",
  "quantity": 123,
  "price": "xyz789",
  "product_name": "xyz789",
  "option_title": "xyz789",
  "fulfillment_status": "abc123",
  "quantity_pending_fulfillment": 123,
  "custom_options": GenericScalar,
  "custom_barcode": "xyz789",
  "eligible_for_return": true,
  "customs_value": "abc123",
  "barcode": "xyz789",
  "warehouse_id": "xyz789"
}

CreateLocationInput

Fields
Input Field Description
warehouse_id - String!
name - String!
zone - String!
location_type_id - String
pickable - Boolean
sellable - Boolean
is_cart - Boolean
pick_priority - Int
dimensions - DimensionsInput
temperature - String
Example
{
  "warehouse_id": "xyz789",
  "name": "xyz789",
  "zone": "abc123",
  "location_type_id": "xyz789",
  "pickable": true,
  "sellable": true,
  "is_cart": false,
  "pick_priority": 987,
  "dimensions": DimensionsInput,
  "temperature": "abc123"
}

CreateLotInput

Description

GraphQL input type for Lot creation.

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
name - String!
sku - String!
expires_at - ISODateTime
is_active - Boolean
Example
{
  "customer_account_id": "xyz789",
  "name": "xyz789",
  "sku": "xyz789",
  "expires_at": ISODateTime,
  "is_active": false
}

CreateLotOutput

Description

GraphQL output type for Lot creation.

Fields
Field Name Description
request_id - String
complexity - Int
lot - Lot
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "lot": Lot
}

CreateOrderAddressInput

Description

Order type for addresses. Orders have addresses with more details than the rest of the system so we use our own types

Fields
Input Field Description
first_name - String
last_name - String
company - String
address1 - String
address2 - String
city - String
state - String
state_code - String
zip - String
country - String
country_code - String
email - String Order email takes precedence, followed by shipping address email, then billing address email
phone - String
Example
{
  "first_name": "abc123",
  "last_name": "xyz789",
  "company": "xyz789",
  "address1": "abc123",
  "address2": "xyz789",
  "city": "abc123",
  "state": "xyz789",
  "state_code": "abc123",
  "zip": "xyz789",
  "country": "xyz789",
  "country_code": "abc123",
  "email": "xyz789",
  "phone": "abc123"
}

CreateOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_number - String The store's internal order number
partner_order_id - String
shop_name - String
fulfillment_status - String Status of the order (pending, fulfilled, cancelled, etc)
order_date - ISODateTime
total_tax - String
total_discounts - String
box_name - String
currency - String
ready_to_ship - Boolean
insurance_amount - Decimal
shipping_lines - CreateShippingLinesInput
shipping_address - CreateOrderAddressInput!
billing_address - CreateOrderAddressInput
from_name - String
tags - [String]
line_items - [CreateLineItemInput]
gift_note - String
gift_invoice - Boolean
require_signature - Boolean
adult_signature_required - Boolean
alcohol - Boolean
insurance - Boolean
allow_partial - Boolean
allow_split - Boolean
custom_invoice_url - String
email - String
profile - String
packing_note - String
required_ship_date - ISODateTime
auto_print_return_label - Boolean
hold_until_date - ISODateTime
incoterms - String
tax_id - String
tax_type - String
flagged - Boolean
saturday_delivery - Boolean
ignore_address_validation_errors - Boolean US addresses are be validated and when errors occur the order will have an address hold created. If this flag is set then the error validation is skipped and no address hold is created
skip_address_validation - Boolean Not address validation will be performed
priority_flag - Boolean
allocation_priority - Int
holds - HoldsInput
dry_ice_weight_in_lbs - String
ftr_exemption - Decimal
address_is_business - Boolean
do_not_print_invoice - Boolean
ignore_payment_capture_errors - Boolean
Example
{
  "customer_account_id": "abc123",
  "order_number": "abc123",
  "partner_order_id": "abc123",
  "shop_name": "abc123",
  "fulfillment_status": "xyz789",
  "order_date": ISODateTime,
  "total_tax": "abc123",
  "total_discounts": "xyz789",
  "box_name": "abc123",
  "currency": "xyz789",
  "ready_to_ship": false,
  "insurance_amount": Decimal,
  "shipping_lines": CreateShippingLinesInput,
  "shipping_address": CreateOrderAddressInput,
  "billing_address": CreateOrderAddressInput,
  "from_name": "abc123",
  "tags": ["abc123"],
  "line_items": [CreateLineItemInput],
  "gift_note": "xyz789",
  "gift_invoice": false,
  "require_signature": true,
  "adult_signature_required": false,
  "alcohol": true,
  "insurance": true,
  "allow_partial": false,
  "allow_split": false,
  "custom_invoice_url": "xyz789",
  "email": "xyz789",
  "profile": "xyz789",
  "packing_note": "xyz789",
  "required_ship_date": ISODateTime,
  "auto_print_return_label": true,
  "hold_until_date": ISODateTime,
  "incoterms": "abc123",
  "tax_id": "xyz789",
  "tax_type": "abc123",
  "flagged": true,
  "saturday_delivery": false,
  "ignore_address_validation_errors": true,
  "skip_address_validation": false,
  "priority_flag": true,
  "allocation_priority": 123,
  "holds": HoldsInput,
  "dry_ice_weight_in_lbs": "abc123",
  "ftr_exemption": Decimal,
  "address_is_business": false,
  "do_not_print_invoice": false,
  "ignore_payment_capture_errors": true
}

CreateProductCaseInput

Fields
Input Field Description
case_barcode - String!
case_quantity - Int!
Example
{
  "case_barcode": "abc123",
  "case_quantity": 123
}

CreateProductImageInput

Fields
Input Field Description
src - String!
position - Int
Example
{"src": "xyz789", "position": 987}

CreateProductInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
name - String!
sku - String!
warehouse_products - [CreateWarehouseProductInput]!
barcode - String
country_of_manufacture - String
dimensions - DimensionsInput
tariff_code - String
product_note - String
kit - Boolean
kit_build - Boolean
no_air - Boolean
final_sale - Boolean
customs_value - String
customs_description - String
not_owned - Boolean
ignore_on_customs - Boolean
ignore_on_invoice - Boolean
dropship - Boolean
needs_serial_number - Boolean
virtual - Boolean
needs_lot_tracking - Boolean
packer_note - String
vendor_part_number - String
consumer_package_code - String
buyer_part_number - String
buyer_style_number - String
images - [CreateProductImageInput]
tags - [String]
vendors - [CreateProductVendorInput]
cases - [CreateProductCaseInput]
Example
{
  "customer_account_id": "abc123",
  "name": "abc123",
  "sku": "xyz789",
  "warehouse_products": [CreateWarehouseProductInput],
  "barcode": "abc123",
  "country_of_manufacture": "abc123",
  "dimensions": DimensionsInput,
  "tariff_code": "xyz789",
  "product_note": "abc123",
  "kit": false,
  "kit_build": true,
  "no_air": true,
  "final_sale": true,
  "customs_value": "abc123",
  "customs_description": "xyz789",
  "not_owned": true,
  "ignore_on_customs": true,
  "ignore_on_invoice": true,
  "dropship": false,
  "needs_serial_number": false,
  "virtual": false,
  "needs_lot_tracking": true,
  "packer_note": "abc123",
  "vendor_part_number": "abc123",
  "consumer_package_code": "xyz789",
  "buyer_part_number": "abc123",
  "buyer_style_number": "abc123",
  "images": [CreateProductImageInput],
  "tags": ["xyz789"],
  "vendors": [CreateProductVendorInput],
  "cases": [CreateProductCaseInput]
}

CreateProductOutput

Fields
Field Name Description
request_id - String
complexity - Int
product - Product
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "product": Product
}

CreateProductVendorInput

Fields
Input Field Description
vendor_id - String!
vendor_sku - String!
price - String
Example
{
  "vendor_id": "abc123",
  "vendor_sku": "xyz789",
  "price": "abc123"
}

CreatePurchaseOrderAttachmentInput

Fields
Input Field Description
url - String!
description - String
filename - String
file_type - String
Example
{
  "url": "xyz789",
  "description": "abc123",
  "filename": "abc123",
  "file_type": "xyz789"
}

CreatePurchaseOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
po_number - String!
subtotal - String!
shipping_price - String!
total_price - String!
warehouse_id - String!
line_items - [CreatePurchaseOrderLineItemInput]!
po_date - ISODateTime
po_note - String
fulfillment_status - String
discount - String
vendor_id - String
warehouse - String
packing_note - String
description - String
partner_order_number - String
tax - String
tracking_number - String
attachments - [CreatePurchaseOrderAttachmentInput]
origin_of_shipment - String
Example
{
  "customer_account_id": "xyz789",
  "po_number": "abc123",
  "subtotal": "abc123",
  "shipping_price": "xyz789",
  "total_price": "abc123",
  "warehouse_id": "xyz789",
  "line_items": [CreatePurchaseOrderLineItemInput],
  "po_date": ISODateTime,
  "po_note": "abc123",
  "fulfillment_status": "xyz789",
  "discount": "xyz789",
  "vendor_id": "abc123",
  "warehouse": "xyz789",
  "packing_note": "xyz789",
  "description": "xyz789",
  "partner_order_number": "xyz789",
  "tax": "abc123",
  "tracking_number": "xyz789",
  "attachments": [CreatePurchaseOrderAttachmentInput],
  "origin_of_shipment": "abc123"
}

CreatePurchaseOrderLineItemInput

Fields
Input Field Description
sku - String!
quantity - Int!
expected_weight_in_lbs - String!
price - String!
vendor_id - String
vendor_sku - String
variant_id - Int
quantity_received - Int
quantity_rejected - Int
product_name - String
option_title - String
fulfillment_status - String
sell_ahead - Int
note - String
partner_line_item_id - String
Example
{
  "sku": "abc123",
  "quantity": 987,
  "expected_weight_in_lbs": "abc123",
  "price": "xyz789",
  "vendor_id": "xyz789",
  "vendor_sku": "abc123",
  "variant_id": 123,
  "quantity_received": 987,
  "quantity_rejected": 123,
  "product_name": "xyz789",
  "option_title": "xyz789",
  "fulfillment_status": "xyz789",
  "sell_ahead": 123,
  "note": "abc123",
  "partner_line_item_id": "xyz789"
}

CreatePurchaseOrderOutput

Fields
Field Name Description
request_id - String
complexity - Int
purchase_order - PurchaseOrder
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "purchase_order": PurchaseOrder
}

CreateReturnExchangeInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
return_id - String!
exchange_items - [CreateExchangeItem]!
Example
{
  "customer_account_id": "abc123",
  "return_id": "xyz789",
  "exchange_items": [CreateExchangeItem]
}

CreateReturnExchangeOutput

Fields
Field Name Description
request_id - String
complexity - Int
return_exchange - ReturnExchange
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "return_exchange": ReturnExchange
}

CreateReturnInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String!
warehouse_id - String!
return_reason - String!
label_type - ReturnLabelType!
label_cost - String!
address - AddressInput!
dimensions - DimensionsInput!
shipping_carrier - String!
shipping_method - String!
line_items - [CreateReturnLineItemInput]!
email_customer_return_label - Boolean
tracking_number - String If a label was generated outside of ShipHero, you can send us that tracking number so we can create a generic label with it and assign it to the return.
create_label - Boolean If you want us to generate a label for the return
partner_id - String
display_issue_refund - Boolean If the user can have access to the refund form
return_pickup_datetime - DateTime If a scheduled return is needed
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "warehouse_id": "abc123",
  "return_reason": "xyz789",
  "label_type": "FREE",
  "label_cost": "xyz789",
  "address": AddressInput,
  "dimensions": DimensionsInput,
  "shipping_carrier": "abc123",
  "shipping_method": "xyz789",
  "line_items": [CreateReturnLineItemInput],
  "email_customer_return_label": false,
  "tracking_number": "xyz789",
  "create_label": false,
  "partner_id": "xyz789",
  "display_issue_refund": true,
  "return_pickup_datetime": "2007-12-03T10:15:30Z"
}

CreateReturnItemExchangeInput

Fields
Input Field Description
exchange_product_sku - String!
quantity - Int!
Example
{
  "exchange_product_sku": "xyz789",
  "quantity": 123
}

CreateReturnLineItemInput

Fields
Input Field Description
sku - String! The sku of one of the order's line items that is been returned
quantity - Int!
return_reason - String!
condition - String
is_component - Boolean
exchange_items - [CreateReturnItemExchangeInput]
Example
{
  "sku": "xyz789",
  "quantity": 123,
  "return_reason": "abc123",
  "condition": "abc123",
  "is_component": true,
  "exchange_items": [CreateReturnItemExchangeInput]
}

CreateReturnOutput

Fields
Field Name Description
request_id - String
complexity - Int
return - Return
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "return": Return
}

CreateShipmentInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String!
warehouse_id - String!
address - AddressInput!
line_items - [CreateShipmentLineItemInput]!
labels - [CreateShipmentShippingLabelInput]
notify_customer_via_shiphero - Boolean
notify_customer_via_store - Boolean
shipped_off_shiphero - Boolean
profile - String
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "warehouse_id": "abc123",
  "address": AddressInput,
  "line_items": [CreateShipmentLineItemInput],
  "labels": [CreateShipmentShippingLabelInput],
  "notify_customer_via_shiphero": false,
  "notify_customer_via_store": false,
  "shipped_off_shiphero": true,
  "profile": "xyz789"
}

CreateShipmentLineItemInput

Fields
Input Field Description
line_item_id - String!
quantity - Int!
Example
{"line_item_id": "abc123", "quantity": 123}

CreateShipmentOutput

Fields
Field Name Description
request_id - String
complexity - Int
shipment - Shipment
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "shipment": Shipment
}

CreateShipmentShippingLabelInput

Fields
Input Field Description
carrier - String!
shipping_name - String!
shipping_method - String!
cost - String!
address - AddressInput!
dimensions - DimensionsInput!
label - CreateLabelResourceInput!
line_item_ids - [String]! Specify the line items that should be associated with the label been created. The ids can be shipment line item ids or order line item ids (the ones used to create the shipment line items)
tracking_number - String
tracking_url - String
Example
{
  "carrier": "abc123",
  "shipping_name": "xyz789",
  "shipping_method": "abc123",
  "cost": "abc123",
  "address": AddressInput,
  "dimensions": DimensionsInput,
  "label": CreateLabelResourceInput,
  "line_item_ids": ["abc123"],
  "tracking_number": "xyz789",
  "tracking_url": "xyz789"
}

CreateShippingLabelInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
carrier - String!
shipping_name - String!
shipping_method - String!
cost - String!
address - AddressInput!
dimensions - DimensionsInput!
label - CreateLabelResourceInput!
line_item_ids - [String]! Specify the line items that should be associated with the label been created. The ids can be shipment line item ids or order line item ids (the ones used to create the shipment line items)
tracking_number - String
shipment_id - String!
Example
{
  "customer_account_id": "xyz789",
  "carrier": "abc123",
  "shipping_name": "xyz789",
  "shipping_method": "abc123",
  "cost": "abc123",
  "address": AddressInput,
  "dimensions": DimensionsInput,
  "label": CreateLabelResourceInput,
  "line_item_ids": ["xyz789"],
  "tracking_number": "abc123",
  "shipment_id": "xyz789"
}

CreateShippingLabelOutput

Fields
Field Name Description
request_id - String
complexity - Int
shipping_label - ShippingLabel
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "shipping_label": ShippingLabel
}

CreateShippingLinesInput

Fields
Input Field Description
title - String!
price - String!
carrier - String
method - String
Example
{
  "title": "abc123",
  "price": "xyz789",
  "carrier": "xyz789",
  "method": "abc123"
}

CreateShippingPlanInput

Fields
Input Field Description
subtotal - String
shipping_price - String
total_price - String
warehouse_id - String!
warehouse_note - String
vendor_po_number - String
line_items - [LineItemInput]!
packages - [PackageInput]
pallet - PalletData
Example
{
  "subtotal": "xyz789",
  "shipping_price": "abc123",
  "total_price": "xyz789",
  "warehouse_id": "xyz789",
  "warehouse_note": "xyz789",
  "vendor_po_number": "abc123",
  "line_items": [LineItemInput],
  "packages": [PackageInput],
  "pallet": PalletData
}

CreateShippingPlanOutput

Fields
Field Name Description
request_id - String
complexity - Int
shipping_plan - ShippingPlan
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "shipping_plan": ShippingPlan
}

CreateVendorInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
name - String!
email - String!
account_number - String
address - AddressInput
currency - String
internal_note - String
default_po_note - String
logo - String
partner_vendor_id - Int
Example
{
  "customer_account_id": "abc123",
  "name": "abc123",
  "email": "abc123",
  "account_number": "xyz789",
  "address": AddressInput,
  "currency": "abc123",
  "internal_note": "xyz789",
  "default_po_note": "xyz789",
  "logo": "abc123",
  "partner_vendor_id": 123
}

CreateVendorOutput

Fields
Field Name Description
request_id - String
complexity - Int
vendor - Vendor
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "vendor": Vendor
}

CreateWarehouseProductInput

Fields
Input Field Description
warehouse_id - String!
on_hand - Int!
inventory_bin - String
inventory_overstock_bin - String
reserve_inventory - Int
replenishment_level - Int
replenishment_max_level - Int
replenishment_increment - Int
reorder_level - Int
reorder_amount - Int
price - String
custom - Boolean
warehouse - String
value - String
value_currency - String
Example
{
  "warehouse_id": "xyz789",
  "on_hand": 987,
  "inventory_bin": "abc123",
  "inventory_overstock_bin": "xyz789",
  "reserve_inventory": 123,
  "replenishment_level": 123,
  "replenishment_max_level": 987,
  "replenishment_increment": 987,
  "reorder_level": 123,
  "reorder_amount": 987,
  "price": "xyz789",
  "custom": true,
  "warehouse": "xyz789",
  "value": "abc123",
  "value_currency": "xyz789"
}

CreateWebhookInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
name - String!
url - String!
shop_name - String
Example
{
  "customer_account_id": "abc123",
  "name": "abc123",
  "url": "xyz789",
  "shop_name": "xyz789"
}

CreateWebhookOutput

Fields
Field Name Description
request_id - String
complexity - Int
webhook - Webhook
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "webhook": Webhook
}

CreateWholesaleLineItemInput

Fields
Input Field Description
sku - String!
partner_line_item_id - String! A unique identifier, usually the customer's internal id. It should be unique across all the order's line items, and is recommended to be unique accross the entire store.
quantity - Int!
price - String!
product_name - String
option_title - String
fulfillment_status - String
quantity_pending_fulfillment - Int
custom_options - GenericScalar
custom_barcode - String
eligible_for_return - Boolean
customs_value - String A decimal value used for customs
barcode - String
warehouse_id - String Set to lock to that warehouse. The item will not be moved in any multi-warehouse processing
unit_of_measure - String
Example
{
  "sku": "xyz789",
  "partner_line_item_id": "xyz789",
  "quantity": 987,
  "price": "abc123",
  "product_name": "abc123",
  "option_title": "xyz789",
  "fulfillment_status": "xyz789",
  "quantity_pending_fulfillment": 123,
  "custom_options": GenericScalar,
  "custom_barcode": "xyz789",
  "eligible_for_return": false,
  "customs_value": "xyz789",
  "barcode": "xyz789",
  "warehouse_id": "xyz789",
  "unit_of_measure": "abc123"
}

CreateWholesaleOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_number - String The store's internal order number
partner_order_id - String
shop_name - String
fulfillment_status - String Status of the order (pending, fulfilled, cancelled, etc)
order_date - ISODateTime
total_tax - String
total_discounts - String
box_name - String
currency - String
ready_to_ship - Boolean
insurance_amount - Decimal
shipping_lines - CreateShippingLinesInput
shipping_address - CreateOrderAddressInput!
billing_address - CreateOrderAddressInput
from_name - String
tags - [String]
line_items - [CreateWholesaleLineItemInput]
gift_note - String
gift_invoice - Boolean
require_signature - Boolean
adult_signature_required - Boolean
alcohol - Boolean
insurance - Boolean
allow_partial - Boolean
allow_split - Boolean
custom_invoice_url - String
email - String
profile - String
packing_note - String
required_ship_date - ISODateTime
auto_print_return_label - Boolean
hold_until_date - ISODateTime
incoterms - String
tax_id - String
tax_type - String
flagged - Boolean
saturday_delivery - Boolean
ignore_address_validation_errors - Boolean US addresses are be validated and when errors occur the order will have an address hold created. If this flag is set then the error validation is skipped and no address hold is created
skip_address_validation - Boolean Not address validation will be performed
priority_flag - Boolean
allocation_priority - Int
holds - HoldsInput
dry_ice_weight_in_lbs - String
ftr_exemption - Decimal
address_is_business - Boolean
do_not_print_invoice - Boolean
ignore_payment_capture_errors - Boolean
shipping_option - WholesaleShippingOptions
staging_location_id - Int
picking_flow - WholesaleOrderPickingFlow
outbound_progress - WholesaleOrderOutboundProgress
pickup_date - ISODateTime
preparation_date - ISODateTime
order_type - String
gs1_labels_required - Boolean
trading_partner_id - String
trading_partner_name - String
store_location_number - String
distribution_center - String
vendor - String
vendor_id - String
requested_delivery_date - ISODateTime
ship_not_before_date - ISODateTime
ship_no_later_than_date - ISODateTime
depositor_order_number - String
department - String
division - String
service_level - String
internal_supplier_number - String
terms_of_sale - String
retailer_notes - String
quote_number - String
sales_requirement_code - String
reference_fields - JSONObjectScalar
wholesale_shipping_details - WholesaleShippingDetailsInput The shipping details to be used to create a new wholesale order
Example
{
  "customer_account_id": "xyz789",
  "order_number": "abc123",
  "partner_order_id": "abc123",
  "shop_name": "abc123",
  "fulfillment_status": "xyz789",
  "order_date": ISODateTime,
  "total_tax": "xyz789",
  "total_discounts": "xyz789",
  "box_name": "xyz789",
  "currency": "xyz789",
  "ready_to_ship": true,
  "insurance_amount": Decimal,
  "shipping_lines": CreateShippingLinesInput,
  "shipping_address": CreateOrderAddressInput,
  "billing_address": CreateOrderAddressInput,
  "from_name": "abc123",
  "tags": ["abc123"],
  "line_items": [CreateWholesaleLineItemInput],
  "gift_note": "abc123",
  "gift_invoice": false,
  "require_signature": true,
  "adult_signature_required": true,
  "alcohol": true,
  "insurance": false,
  "allow_partial": false,
  "allow_split": false,
  "custom_invoice_url": "xyz789",
  "email": "xyz789",
  "profile": "xyz789",
  "packing_note": "abc123",
  "required_ship_date": ISODateTime,
  "auto_print_return_label": true,
  "hold_until_date": ISODateTime,
  "incoterms": "xyz789",
  "tax_id": "abc123",
  "tax_type": "abc123",
  "flagged": true,
  "saturday_delivery": false,
  "ignore_address_validation_errors": false,
  "skip_address_validation": false,
  "priority_flag": false,
  "allocation_priority": 123,
  "holds": HoldsInput,
  "dry_ice_weight_in_lbs": "xyz789",
  "ftr_exemption": Decimal,
  "address_is_business": false,
  "do_not_print_invoice": false,
  "ignore_payment_capture_errors": true,
  "shipping_option": "COURIER",
  "staging_location_id": 987,
  "picking_flow": "DESKTOP",
  "outbound_progress": "AWAITING_SCHEDULE",
  "pickup_date": ISODateTime,
  "preparation_date": ISODateTime,
  "order_type": "xyz789",
  "gs1_labels_required": true,
  "trading_partner_id": "abc123",
  "trading_partner_name": "abc123",
  "store_location_number": "abc123",
  "distribution_center": "xyz789",
  "vendor": "abc123",
  "vendor_id": "abc123",
  "requested_delivery_date": ISODateTime,
  "ship_not_before_date": ISODateTime,
  "ship_no_later_than_date": ISODateTime,
  "depositor_order_number": "xyz789",
  "department": "xyz789",
  "division": "xyz789",
  "service_level": "xyz789",
  "internal_supplier_number": "xyz789",
  "terms_of_sale": "abc123",
  "retailer_notes": "xyz789",
  "quote_number": "xyz789",
  "sales_requirement_code": "abc123",
  "reference_fields": JSONObjectScalar,
  "wholesale_shipping_details": WholesaleShippingDetailsInput
}

CreateWorkOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
warehouse_id - String!
requested_date - DateTime!
name - String
packing_details - String
assembly_details - String
type - WorkOrderType!
instructions - String
create_special_project - Boolean
priority - WorkOrderPriority
attachments - [WorkOrderAttachmentType]
assembly_sku - AssemblySKUType
Example
{
  "customer_account_id": "abc123",
  "warehouse_id": "xyz789",
  "requested_date": "2007-12-03T10:15:30Z",
  "name": "xyz789",
  "packing_details": "xyz789",
  "assembly_details": "xyz789",
  "type": "ASSEMBLY",
  "instructions": "abc123",
  "create_special_project": true,
  "priority": "HIGH",
  "attachments": [WorkOrderAttachmentType],
  "assembly_sku": AssemblySKUType
}

CurrentUserQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - User
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": User
}

DataExportFile

Fields
Field Name Description
table_name - String Name of the table/dataset
signed_url - String Signed URL to download the file
created_at - ISODateTime
size - Int Size of the file in bytes
Example
{
  "table_name": "abc123",
  "signed_url": "abc123",
  "created_at": ISODateTime,
  "size": 987
}

Date

Description

The Date scalar type represents a Date value as specified by iso8601.

Example
"2007-12-03"

DateTime

Description

The DateTime scalar type represents a DateTime value as specified by iso8601.

Example
"2007-12-03T10:15:30Z"

Decimal

Description

The Decimal scalar type represents a python Decimal.

Example
Decimal

DeleteBillInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
id - String!
Example
{
  "customer_account_id": "xyz789",
  "id": "xyz789"
}

DeleteLotInput

Description

GraphQL input type for Lot delete.

Fields
Input Field Description
lot_id - String!
Example
{"lot_id": "xyz789"}

DeleteLotOutput

Description

GraphQL output type for Lot delete.

Fields
Field Name Description
request_id - String
complexity - Int
lot - Lot
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "lot": Lot
}

DeleteProductInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
Example
{
  "customer_account_id": "xyz789",
  "sku": "xyz789"
}

DeleteVendorInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
vendor_id - String!
Example
{
  "customer_account_id": "xyz789",
  "vendor_id": "xyz789"
}

DeleteWarehouseProductInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
warehouse_id - String!
Example
{
  "customer_account_id": "xyz789",
  "sku": "xyz789",
  "warehouse_id": "abc123"
}

DeleteWebhookInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
name - String!
shop_name - String
Example
{
  "customer_account_id": "xyz789",
  "name": "xyz789",
  "shop_name": "abc123"
}

Dimensions

Fields
Field Name Description
weight - String Weight in unit configured in the account (Oz by default)
height - String Height in unit configured in the account (In by default)
width - String Width in unit configured in the account (In by default)
length - String Lenght in unit configured in the account (In by default)
Example
{
  "weight": "xyz789",
  "height": "abc123",
  "width": "xyz789",
  "length": "abc123"
}

DimensionsInput

Fields
Input Field Description
weight - String Weight in unit configured in the account (Oz by default)
height - String Height in unit configured in the account (In by default)
width - String Width in unit configured in the account (In by default)
length - String Lenght in unit configured in the account (In by default)
Example
{
  "weight": "xyz789",
  "height": "xyz789",
  "width": "abc123",
  "length": "abc123"
}

EntityType

Values
Enum Value Description

Account

User

Warehouse

PurchaseOrder

Order

LineItem

Return

Product

Bin

LocationType

PurchaseOrderLineItem

ReturnItem

Shipment

ShippedLineItem

WarehouseProduct

Vendor

Tote

Example
"Account"

ExpiredDetailsType

Fields
Field Name Description
total - Int
total_sellable - Int
total_unsellable - Int
Example
{"total": 123, "total_sellable": 987, "total_unsellable": 123}

FbaInventory

Fields
Field Name Description
id - String
legacy_id - Int
quantity - Int
marketplace_id - String
merchant_id - String
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "quantity": 123,
  "marketplace_id": "xyz789",
  "merchant_id": "abc123"
}

FeeCategoryTotal

Fields
Field Name Description
id - String
legacy_id - Int
amount - Money
label - String
category - String
quantity - Int
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "amount": Money,
  "label": "xyz789",
  "category": "abc123",
  "quantity": 123
}

FeeCategoryTotalConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FeeCategoryTotalEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FeeCategoryTotalEdge]
}

FeeCategoryTotalEdge

Description

A Relay edge containing a FeeCategoryTotal and its cursor.

Fields
Field Name Description
node - FeeCategoryTotal The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FeeCategoryTotal,
  "cursor": "abc123"
}

FileInfoType

Fields
Field Name Description
name - String
type - String
size_in_bytes - String
key - String
Example
{
  "name": "xyz789",
  "type": "xyz789",
  "size_in_bytes": "xyz789",
  "key": "xyz789"
}

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
123.45

FulfillOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
tote_id - String!
packages - [ShippedPackagesInput]!
notify_customer_via_shiphero - Boolean
notify_customer_via_store - Boolean
shipped_off_shiphero - Boolean
note - String
Example
{
  "customer_account_id": "abc123",
  "order_id": "xyz789",
  "tote_id": "abc123",
  "packages": [ShippedPackagesInput],
  "notify_customer_via_shiphero": false,
  "notify_customer_via_store": true,
  "shipped_off_shiphero": false,
  "note": "abc123"
}

FulfillWholesaleOrderInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
is_packed_externally - Boolean! If true the order are gonna be packed externally
Example
{
  "order_id": "xyz789",
  "is_packed_externally": true
}

FulfillmentInvoice

Fields
Field Name Description
id - String
legacy_id - Int
stripe_charge_id - String
stripe_invoice_id - String
stripe_invoice_number - String
stripe_invoice_status - String
stripe_invoice_url - String
stripe_next_payment_attempt - ISODateTime
account_id - String
cc_info - String
amount - String
created_at - ISODateTime
shipping_items - FulfillmentInvoiceShippingItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
inbound_shipping_items - FulfillmentInvoiceInboundShippingItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
returns_items - FulfillmentInvoiceReturnItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
storage_items - FulfillmentInvoiceStorageItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "stripe_charge_id": "xyz789",
  "stripe_invoice_id": "abc123",
  "stripe_invoice_number": "xyz789",
  "stripe_invoice_status": "abc123",
  "stripe_invoice_url": "xyz789",
  "stripe_next_payment_attempt": ISODateTime,
  "account_id": "abc123",
  "cc_info": "xyz789",
  "amount": "abc123",
  "created_at": ISODateTime,
  "shipping_items": FulfillmentInvoiceShippingItemConnection,
  "inbound_shipping_items": FulfillmentInvoiceInboundShippingItemConnection,
  "returns_items": FulfillmentInvoiceReturnItemConnection,
  "storage_items": FulfillmentInvoiceStorageItemConnection
}

FulfillmentInvoiceConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FulfillmentInvoiceEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FulfillmentInvoiceEdge]
}

FulfillmentInvoiceEdge

Description

A Relay edge containing a FulfillmentInvoice and its cursor.

Fields
Field Name Description
node - FulfillmentInvoice The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FulfillmentInvoice,
  "cursor": "xyz789"
}

FulfillmentInvoiceInboundShippingItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
invoice_id - String
purchase_order_id - String
shipment_id - String
shipping_label_id - String
amount - String
cost - String
created_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "account_id": "xyz789",
  "invoice_id": "xyz789",
  "purchase_order_id": "xyz789",
  "shipment_id": "abc123",
  "shipping_label_id": "xyz789",
  "amount": "xyz789",
  "cost": "xyz789",
  "created_at": ISODateTime
}

FulfillmentInvoiceInboundShippingItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FulfillmentInvoiceInboundShippingItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FulfillmentInvoiceInboundShippingItemEdge]
}

FulfillmentInvoiceInboundShippingItemEdge

Description

A Relay edge containing a FulfillmentInvoiceInboundShippingItem and its cursor.

Fields
Field Name Description
node - FulfillmentInvoiceInboundShippingItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FulfillmentInvoiceInboundShippingItem,
  "cursor": "xyz789"
}

FulfillmentInvoiceQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - FulfillmentInvoice
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": FulfillmentInvoice
}

FulfillmentInvoiceReturnItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
invoice_id - String
order_id - String
rma_id - String
rma_label_id - String
amount - String
shipping_rate - String
picking_fee - String
inspection_fee - String
restocking_fee - String
created_at - ISODateTime
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "account_id": "abc123",
  "invoice_id": "xyz789",
  "order_id": "abc123",
  "rma_id": "abc123",
  "rma_label_id": "xyz789",
  "amount": "abc123",
  "shipping_rate": "xyz789",
  "picking_fee": "abc123",
  "inspection_fee": "abc123",
  "restocking_fee": "xyz789",
  "created_at": ISODateTime
}

FulfillmentInvoiceReturnItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FulfillmentInvoiceReturnItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FulfillmentInvoiceReturnItemEdge]
}

FulfillmentInvoiceReturnItemEdge

Description

A Relay edge containing a FulfillmentInvoiceReturnItem and its cursor.

Fields
Field Name Description
node - FulfillmentInvoiceReturnItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FulfillmentInvoiceReturnItem,
  "cursor": "abc123"
}

FulfillmentInvoiceShippingItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
invoice_id - String
order_id - String
shipment_id - String
shipping_label_id - String
amount - String
shipping_rate - String
processing_fee - String
picking_fee - String
overcharge_fee - String
created_at - ISODateTime
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "abc123",
  "invoice_id": "xyz789",
  "order_id": "abc123",
  "shipment_id": "abc123",
  "shipping_label_id": "xyz789",
  "amount": "xyz789",
  "shipping_rate": "xyz789",
  "processing_fee": "abc123",
  "picking_fee": "xyz789",
  "overcharge_fee": "abc123",
  "created_at": ISODateTime
}

FulfillmentInvoiceShippingItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FulfillmentInvoiceShippingItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FulfillmentInvoiceShippingItemEdge]
}

FulfillmentInvoiceShippingItemEdge

Description

A Relay edge containing a FulfillmentInvoiceShippingItem and its cursor.

Fields
Field Name Description
node - FulfillmentInvoiceShippingItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FulfillmentInvoiceShippingItem,
  "cursor": "abc123"
}

FulfillmentInvoiceStorageItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
invoice_id - String
amount - String
created_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "account_id": "abc123",
  "warehouse_id": "xyz789",
  "invoice_id": "xyz789",
  "amount": "abc123",
  "created_at": ISODateTime
}

FulfillmentInvoiceStorageItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [FulfillmentInvoiceStorageItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [FulfillmentInvoiceStorageItemEdge]
}

FulfillmentInvoiceStorageItemEdge

Description

A Relay edge containing a FulfillmentInvoiceStorageItem and its cursor.

Fields
Field Name Description
node - FulfillmentInvoiceStorageItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": FulfillmentInvoiceStorageItem,
  "cursor": "xyz789"
}

FulfillmentInvoicesQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - FulfillmentInvoiceConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": FulfillmentInvoiceConnection
}

FulfillmentWarehouseType

Fields
Field Name Description
id - ID! The ID of the object
warehouse_id - Int!
source_id - Int!
standard_cut_off - Int!
expedited_cut_off - Int!
micro_bin_monthly_rate - Float!
small_bin_monthly_rate - Float!
large_bin_monthly_rate - Float!
pallet_monthly_rate - Float!
cubic_storage_monthly_rate - Float
timezone - String!
latitude - Float!
longitude - Float!
location - String
address1 - String
address2 - String
city - String
state - String
zip - String
country - String
email - String
badge_color - String!
is_active - Boolean!
is_test - Boolean!
is_lb_enabled - Boolean!
region - String!
use_warehouse_fields - Boolean!
is_external - Boolean!
currency - String!
is_shiphero_owned - Boolean!
code - String
warehouse - WarehouseType
row_id - BigInt
Example
{
  "id": 4,
  "warehouse_id": 123,
  "source_id": 123,
  "standard_cut_off": 987,
  "expedited_cut_off": 123,
  "micro_bin_monthly_rate": 123.45,
  "small_bin_monthly_rate": 123.45,
  "large_bin_monthly_rate": 123.45,
  "pallet_monthly_rate": 987.65,
  "cubic_storage_monthly_rate": 987.65,
  "timezone": "abc123",
  "latitude": 987.65,
  "longitude": 987.65,
  "location": "xyz789",
  "address1": "xyz789",
  "address2": "xyz789",
  "city": "abc123",
  "state": "xyz789",
  "zip": "abc123",
  "country": "abc123",
  "email": "abc123",
  "badge_color": "xyz789",
  "is_active": false,
  "is_test": true,
  "is_lb_enabled": true,
  "region": "abc123",
  "use_warehouse_fields": false,
  "is_external": true,
  "currency": "xyz789",
  "is_shiphero_owned": true,
  "code": "abc123",
  "warehouse": WarehouseType,
  "row_id": {}
}

GenericScalar

Description

The GenericScalar scalar type represents a generic GraphQL scalar value that could be: String, Boolean, Int, Float, List or Object.

Example
GenericScalar

HoldsInput

Fields
Input Field Description
payment_hold - Boolean
operator_hold - Boolean
fraud_hold - Boolean
address_hold - Boolean
client_hold - Boolean
Example
{
  "payment_hold": false,
  "operator_hold": false,
  "fraud_hold": true,
  "address_hold": false,
  "client_hold": true
}

HospitalAllocationType

Fields
Field Name Description
quantity - Int
status - PickingJobStatus
Example
{"quantity": 987, "status": "DRAFT"}

ID

Description

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
"4"

ISODateTime

Description

A DateTime field type that understand ISO 8601 strings, besides datetime objects. It supports strings with and without times, as well as using T or space as delimiter

Ex.

  • YYYY-mm-dd
  • YYYY-mm-dd HH:MM:SS
  • YYYY-mm-ddTHH:MM:SS
Example
ISODateTime

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
123

InventoryAbortSnapshotInput

Fields
Input Field Description
snapshot_id - String!
reason - String
Example
{
  "snapshot_id": "xyz789",
  "reason": "abc123"
}

InventoryChange

Fields
Field Name Description
id - String
legacy_id - Int For customers that transitioned from static slotting to dynamic slotting, there can be multiple records with the same legacy_id, please use the id field instead
user_id - String
account_id - String
warehouse_id - String
sku - String
previous_on_hand - Int
change_in_on_hand - Int
reason - String
cycle_counted - Boolean
location_id - String
lot_id - String
lot_name - String
lot_expiration - String
created_at - ISODateTime
product - Product
location - Location
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "user_id": "abc123",
  "account_id": "abc123",
  "warehouse_id": "xyz789",
  "sku": "xyz789",
  "previous_on_hand": 123,
  "change_in_on_hand": 987,
  "reason": "xyz789",
  "cycle_counted": true,
  "location_id": "abc123",
  "lot_id": "abc123",
  "lot_name": "abc123",
  "lot_expiration": "abc123",
  "created_at": ISODateTime,
  "product": Product,
  "location": Location
}

InventoryChangeConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [InventoryChangeEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [InventoryChangeEdge]
}

InventoryChangeEdge

Description

A Relay edge containing a InventoryChange and its cursor.

Fields
Field Name Description
node - InventoryChange The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": InventoryChange,
  "cursor": "xyz789"
}

InventoryChangeLogConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [InventoryChangeLogEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [InventoryChangeLogEdge],
  "total_count": 987
}

InventoryChangeLogEdge

Description

A Relay edge containing a InventoryChangeLog and its cursor.

Fields
Field Name Description
node - InventoryChangeLogType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": InventoryChangeLogType,
  "cursor": "xyz789"
}

InventoryChangeLogType

Fields
Field Name Description
account_id - Int!
id - ID! The ID of the object
sku - String!
previous_on_hand - Int
previous_allocated - Int
change_in_on_hand - Int
change_in_allocated - Int
date - DateTime!
user_id - Int
reason - String
cycle_counted - Int!
warehouse - WarehouseType
warehouse_id - Int
product - ProductType
row_id - BigInt
user - User
Example
{
  "account_id": 987,
  "id": "4",
  "sku": "xyz789",
  "previous_on_hand": 987,
  "previous_allocated": 987,
  "change_in_on_hand": 987,
  "change_in_allocated": 987,
  "date": "2007-12-03T10:15:30Z",
  "user_id": 987,
  "reason": "xyz789",
  "cycle_counted": 987,
  "warehouse": WarehouseType,
  "warehouse_id": 123,
  "product": ProductType,
  "row_id": {},
  "user": User
}

InventoryChangesQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - InventoryChangeConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": InventoryChangeConnection
}

InventoryDetailsType

Fields
Field Name Description
on_hand - BigInt
allocated - Int
backorder - Int
available - Int
available_valid - Int
on_order - Int
sell_ahead - Int
non_sellable_quantity - Int
quantity_staged_for_load_balance - Int
expired - ExpiredDetailsType
Example
{
  "on_hand": {},
  "allocated": 987,
  "backorder": 123,
  "available": 123,
  "available_valid": 123,
  "on_order": 987,
  "sell_ahead": 123,
  "non_sellable_quantity": 987,
  "quantity_staged_for_load_balance": 987,
  "expired": ExpiredDetailsType
}

InventoryGenerateSnapshotInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
warehouse_id - String
notification_email - String
post_url - String
post_url_pre_check - Boolean If false, a pre-check on the POST URL will not be performed. This eliminates immediate validation and feedback in the mutation response, before sending the request to the worker. Nonetheless, disabling this check can be useful if a one-time token is used to authenticate the endpoint.
new_format - Boolean If True, the snapshot structure will be organized by customer account id, rather than by SKU alone, adding support for different customer accounts having repeated SKUs.
updated_from - ISODateTime to filter out products updated since that time
has_inventory - Boolean to filter out products that don't have inventory
Example
{
  "customer_account_id": "xyz789",
  "warehouse_id": "abc123",
  "notification_email": "abc123",
  "post_url": "abc123",
  "post_url_pre_check": false,
  "new_format": true,
  "updated_from": ISODateTime,
  "has_inventory": true
}

InventorySnapshot

Fields
Field Name Description
snapshot_id - String
job_user_id - String
job_account_id - String
warehouse_id - String
customer_account_id - String
notification_email - String
email_error - String
post_url - String
post_error - String
post_url_pre_check - Boolean
status - String
error - String
created_at - ISODateTime
enqueued_at - ISODateTime
updated_at - ISODateTime
snapshot_url - String
snapshot_expiration - ISODateTime
new_format - Boolean
Example
{
  "snapshot_id": "abc123",
  "job_user_id": "xyz789",
  "job_account_id": "abc123",
  "warehouse_id": "xyz789",
  "customer_account_id": "abc123",
  "notification_email": "abc123",
  "email_error": "xyz789",
  "post_url": "xyz789",
  "post_error": "xyz789",
  "post_url_pre_check": true,
  "status": "abc123",
  "error": "xyz789",
  "created_at": ISODateTime,
  "enqueued_at": ISODateTime,
  "updated_at": ISODateTime,
  "snapshot_url": "xyz789",
  "snapshot_expiration": ISODateTime,
  "new_format": true
}

InventorySnapshotConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [InventorySnapshotEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [InventorySnapshotEdge]
}

InventorySnapshotEdge

Description

A Relay edge containing a InventorySnapshot and its cursor.

Fields
Field Name Description
node - InventorySnapshot The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": InventorySnapshot,
  "cursor": "xyz789"
}

InventorySnapshotOutput

Fields
Field Name Description
request_id - String
complexity - Int
snapshot - InventorySnapshot
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "snapshot": InventorySnapshot
}

InventorySnapshotQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
snapshot - InventorySnapshot
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "snapshot": InventorySnapshot
}

InventorySnapshotsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
snapshots - InventorySnapshotConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "snapshots": InventorySnapshotConnection
}

InventorySyncBatchQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - InventorySyncStatus
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": InventorySyncStatus
}

InventorySyncBatchesQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - InventorySyncStatusConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": InventorySyncStatusConnection
}

InventorySyncInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
url - String!
warehouse_id - String!
Example
{
  "customer_account_id": "xyz789",
  "url": "xyz789",
  "warehouse_id": "xyz789"
}

InventorySyncItemStatus

Fields
Field Name Description
id - String
row - Int
sku - String
quantity - Int
action - String
reason - String
location - Int
status - String
error - String
created_at - ISODateTime
updated_at - ISODateTime
Example
{
  "id": "xyz789",
  "row": 987,
  "sku": "abc123",
  "quantity": 123,
  "action": "xyz789",
  "reason": "abc123",
  "location": 987,
  "status": "xyz789",
  "error": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime
}

InventorySyncItemStatusConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [InventorySyncItemStatusEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [InventorySyncItemStatusEdge]
}

InventorySyncItemStatusEdge

Description

A Relay edge containing a InventorySyncItemStatus and its cursor.

Fields
Field Name Description
node - InventorySyncItemStatus The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": InventorySyncItemStatus,
  "cursor": "xyz789"
}

InventorySyncOutput

Fields
Field Name Description
request_id - String
complexity - Int
sync_id - String
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "sync_id": "xyz789"
}

InventorySyncRowsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - InventorySyncItemStatusConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": InventorySyncItemStatusConnection
}

InventorySyncStatus

Fields
Field Name Description
id - String
url - String
user_id - String
account_id - String
warehouse_id - String
customer_account_id - String
total_count - Int
status - String
error - String
created_at - ISODateTime
updated_at - ISODateTime
success_count - Int
error_count - Int
finished_count - Int
Example
{
  "id": "xyz789",
  "url": "abc123",
  "user_id": "xyz789",
  "account_id": "xyz789",
  "warehouse_id": "abc123",
  "customer_account_id": "abc123",
  "total_count": 123,
  "status": "abc123",
  "error": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "success_count": 123,
  "error_count": 123,
  "finished_count": 987
}

InventorySyncStatusConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [InventorySyncStatusEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [InventorySyncStatusEdge]
}

InventorySyncStatusEdge

Description

A Relay edge containing a InventorySyncStatus and its cursor.

Fields
Field Name Description
node - InventorySyncStatus The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": InventorySyncStatus,
  "cursor": "xyz789"
}

ItemLocation

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
location_id - String
sku - String
quantity - Int
created_at - ISODateTime
location - Location
expiration_lot - Lot
lpns - LicensePlateNumberConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "account_id": "abc123",
  "warehouse_id": "xyz789",
  "location_id": "xyz789",
  "sku": "abc123",
  "quantity": 123,
  "created_at": ISODateTime,
  "location": Location,
  "expiration_lot": Lot,
  "lpns": LicensePlateNumberConnection
}

ItemLocationConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ItemLocationEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ItemLocationEdge]
}

ItemLocationEdge

Description

A Relay edge containing a ItemLocation and its cursor.

Fields
Field Name Description
node - ItemLocation The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ItemLocation,
  "cursor": "abc123"
}

JSONObjectScalar

Description

Custom scalar type for JSON objects only. This field will serialize Python dict objects to JSON strings, and deserialize JSON strings to Python dict objects. It will accept None and empty strings, and otherwise ensure the JSON value is an object.

Example
JSONObjectScalar

KitComponent

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
sku - String Stock Keeping Unit
quantity - Int Amount of product units within the kit
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "account_id": "abc123",
  "sku": "abc123",
  "quantity": 123
}

KittingMapType

Fields
Field Name Description
account_id - ID!
sku - String!
component_sku - String!
quantity - Int!
id - ID! The ID of the object
date_created - DateTime!
parent - ProductType
parent_product_info - ProductInfoType
component - ProductType
component_product_info - ProductInfoType
row_id - BigInt
Example
{
  "account_id": 4,
  "sku": "xyz789",
  "component_sku": "abc123",
  "quantity": 123,
  "id": 4,
  "date_created": "2007-12-03T10:15:30Z",
  "parent": ProductType,
  "parent_product_info": ProductInfoType,
  "component": ProductType,
  "component_product_info": ProductInfoType,
  "row_id": {}
}

KittingMapTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [KittingMapTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [KittingMapTypeCountableEdge],
  "total_count": 987
}

KittingMapTypeCountableEdge

Description

A Relay edge containing a KittingMapTypeCountable and its cursor.

Fields
Field Name Description
node - KittingMapType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": KittingMapType,
  "cursor": "abc123"
}

LabelBatchItemType

Fields
Field Name Description
id - ID! The ID of the object
external_batch_id - Int
account_id - Int!
user_id - Int!
order_id - Int!
package_id - Int!
package_type - String!
status - ProcessingStatusEnum!
error - String
label_status - LabelStatusEnum
pdf_file_url - String
last_printed_at - DateTime
carrier - String!
shipping_method - String!
tracking_number - String
tracking_url - String
total_cost - Float
label_id - Int
ps_id - Int
created_at - DateTime!
updated_at - DateTime!
package_identifier - String
external_package_id - String
order - Order
account - AccountType
user - Packer
row_id - BigInt
Example
{
  "id": "4",
  "external_batch_id": 987,
  "account_id": 987,
  "user_id": 123,
  "order_id": 987,
  "package_id": 987,
  "package_type": "xyz789",
  "status": "PROCESSING",
  "error": "abc123",
  "label_status": "VALID",
  "pdf_file_url": "abc123",
  "last_printed_at": "2007-12-03T10:15:30Z",
  "carrier": "xyz789",
  "shipping_method": "xyz789",
  "tracking_number": "xyz789",
  "tracking_url": "xyz789",
  "total_cost": 123.45,
  "label_id": 987,
  "ps_id": 987,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "package_identifier": "xyz789",
  "external_package_id": "abc123",
  "order": Order,
  "account": AccountType,
  "user": Packer,
  "row_id": {}
}

LabelResource

Fields
Field Name Description
pdf_location - String
paper_pdf_location - String
thermal_pdf_location - String
image_location - String
Example
{
  "pdf_location": "abc123",
  "paper_pdf_location": "abc123",
  "thermal_pdf_location": "xyz789",
  "image_location": "abc123"
}

LabelStatusEnum

Description

An enumeration.

Values
Enum Value Description

VALID

VOIDED

Example
"VALID"

LakeheroDataExport

Fields
Field Name Description
files - [DataExportFile] List of export files with signed URLs
expires_at - String Expiration timestamp of the URLs
Example
{
  "files": [DataExportFile],
  "expires_at": "xyz789"
}

LakeheroDataExportQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - LakeheroDataExport
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": LakeheroDataExport
}

LastMileLabel

Fields
Field Name Description
id - String
legacy_id - Int
shipping_carrier - String
shipping_method - String
tracking_number - String
tracking_url - String
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "shipping_carrier": "xyz789",
  "shipping_method": "xyz789",
  "tracking_number": "xyz789",
  "tracking_url": "xyz789"
}

LegacyId

Fields
Field Name Description
legacy_id - Int
id - String
Example
{"legacy_id": 987, "id": "abc123"}

LegacyIdQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - LegacyId
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": LegacyId
}

LicensePlateNumber

Fields
Field Name Description
container_type - LicensePlateNumberV2ContainerType
status - LicensePlateNumberV2Status
lpn_id - String
sku - String
units - Int
Example
{
  "container_type": "BOX",
  "status": "UNUSED",
  "lpn_id": "xyz789",
  "sku": "xyz789",
  "units": 123
}

LicensePlateNumberConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LicensePlateNumberEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [LicensePlateNumberEdge]
}

LicensePlateNumberEdge

Description

A Relay edge containing a LicensePlateNumber and its cursor.

Fields
Field Name Description
node - LicensePlateNumber The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": LicensePlateNumber,
  "cursor": "abc123"
}

LicensePlateNumberV2ContainerType

Description

An enumeration.

Values
Enum Value Description

BOX

PALLET

STAGING

Example
"BOX"

LicensePlateNumberV2LineItemType

Fields
Field Name Description
id - ID!
units - Int
sku - String
customer_account_id - Int
lpn_id - Int
location_id - Int
product_info - ProductInfoType
bin - BinType
lot - LotType
item_bin - ProductLocationType
lpn - LicensePlateNumberV2Type
Example
{
  "id": "4",
  "units": 123,
  "sku": "abc123",
  "customer_account_id": 987,
  "lpn_id": 123,
  "location_id": 123,
  "product_info": ProductInfoType,
  "bin": BinType,
  "lot": LotType,
  "item_bin": ProductLocationType,
  "lpn": LicensePlateNumberV2Type
}

LicensePlateNumberV2Status

Description

An enumeration.

Values
Enum Value Description

UNUSED

INUSE

USED

DELETED

Example
"UNUSED"

LicensePlateNumberV2TimelineType

Fields
Field Name Description
id - ID!
message - String!
created_at - DateTime!
user - User!
Example
{
  "id": 4,
  "message": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "user": User
}

LicensePlateNumberV2Type

Fields
Field Name Description
id - ID!
name - String
barcode - String
location_id - Int
units - Int!
bin - BinType
warehouse - WarehouseType!
status - LicensePlateNumberV2Status!
nested_containers - [LicensePlateNumberV2Type]
line_items - [LicensePlateNumberV2LineItemType]
container_type - LicensePlateNumberV2ContainerType!
last_activity - DateTime!
timeline - [LicensePlateNumberV2TimelineType]
order - Order
parent - LicensePlateNumberV2Type
item_bins - [ProductLocationType]
barcode_printed - Boolean
Example
{
  "id": "4",
  "name": "xyz789",
  "barcode": "xyz789",
  "location_id": 987,
  "units": 123,
  "bin": BinType,
  "warehouse": WarehouseType,
  "status": "UNUSED",
  "nested_containers": [LicensePlateNumberV2Type],
  "line_items": [LicensePlateNumberV2LineItemType],
  "container_type": "BOX",
  "last_activity": "2007-12-03T10:15:30Z",
  "timeline": [LicensePlateNumberV2TimelineType],
  "order": Order,
  "parent": LicensePlateNumberV2Type,
  "item_bins": [ProductLocationType],
  "barcode_printed": false
}

LineItem

Fields
Field Name Description
id - String
legacy_id - Int
sku - String
partner_line_item_id - String
product_id - String Products should be referenced by sku
quantity - Int
price - String
product_name - String
option_title - String
fulfillment_status - String
quantity_pending_fulfillment - Int
quantity_shipped - Int
warehouse - String
quantity_allocated - Int
backorder_quantity - Int
custom_options - GenericScalar
custom_barcode - String
eligible_for_return - Boolean
customs_value - String
warehouse_id - String Use order allocations instead
locked_to_warehouse_id - String This field was deprecated on accounts with Multi Warehouse Allocation rules
subtotal - String
barcode - String
created_at - ISODateTime
updated_at - ISODateTime
order_id - String
shipped_line_item_lots - [ShippedLineItemLot]
serial_numbers - [LineItemSerialNumber]
promotion_discount - String
product - Product
tote_picks - [TotePick]
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "sku": "abc123",
  "partner_line_item_id": "abc123",
  "product_id": "abc123",
  "quantity": 123,
  "price": "xyz789",
  "product_name": "xyz789",
  "option_title": "abc123",
  "fulfillment_status": "abc123",
  "quantity_pending_fulfillment": 987,
  "quantity_shipped": 123,
  "warehouse": "xyz789",
  "quantity_allocated": 123,
  "backorder_quantity": 123,
  "custom_options": GenericScalar,
  "custom_barcode": "abc123",
  "eligible_for_return": true,
  "customs_value": "xyz789",
  "warehouse_id": "xyz789",
  "locked_to_warehouse_id": "abc123",
  "subtotal": "abc123",
  "barcode": "abc123",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "order_id": "xyz789",
  "shipped_line_item_lots": [ShippedLineItemLot],
  "serial_numbers": [LineItemSerialNumber],
  "promotion_discount": "xyz789",
  "product": Product,
  "tote_picks": [TotePick]
}

LineItemCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LineItemCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [LineItemCountableEdge],
  "total_count": 123
}

LineItemCountableEdge

Description

A Relay edge containing a LineItemCountable and its cursor.

Fields
Field Name Description
node - LineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": LineItem,
  "cursor": "abc123"
}

LineItemInput

Fields
Input Field Description
product_name - String!
sku - String!
quantity - Int!
Example
{
  "product_name": "xyz789",
  "sku": "abc123",
  "quantity": 987
}

LineItemQuerySpecConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LineItemQuerySpecEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [LineItemQuerySpecEdge],
  "total_count": 123
}

LineItemQuerySpecEdge

Description

A Relay edge containing a LineItemQuerySpec and its cursor.

Fields
Field Name Description
node - LineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": LineItem,
  "cursor": "xyz789"
}

LineItemSerialNumber

Fields
Field Name Description
id - String
legacy_id - Int
sku - String
line_item_id - String
serial_number - String
scanned - Boolean
created_at - ISODateTime
updated_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "sku": "abc123",
  "line_item_id": "abc123",
  "serial_number": "abc123",
  "scanned": true,
  "created_at": ISODateTime,
  "updated_at": ISODateTime
}

Location

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
type - LocationType
name - String
zone - String
pickable - Boolean
sellable - Boolean
is_cart - Boolean
pick_priority - Int
dimensions - Dimensions
length - String Not used anymore. Use dimensions
width - String Not used anymore. Use dimensions
height - String Not used anymore. Use dimensions
max_weight - String Not used anymore. Use dimensions
temperature - String
products - ProductConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
last_counted - ISODateTime
created_at - ISODateTime
expiration_lots - LotConnection
Arguments
customer_account_id - String
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "account_id": "xyz789",
  "warehouse_id": "abc123",
  "type": LocationType,
  "name": "abc123",
  "zone": "abc123",
  "pickable": true,
  "sellable": true,
  "is_cart": false,
  "pick_priority": 123,
  "dimensions": Dimensions,
  "length": "abc123",
  "width": "abc123",
  "height": "abc123",
  "max_weight": "xyz789",
  "temperature": "abc123",
  "products": ProductConnection,
  "last_counted": ISODateTime,
  "created_at": ISODateTime,
  "expiration_lots": LotConnection
}

LocationChangeLogType

Fields
Field Name Description
id - ID! The ID of the object
created_at - DateTime!
account_id - Int!
product_account_id - Int!
location_id - Int!
warehouse_id - Int!
user_id - Int!
sku - String!
previous_on_hand - Int!
change_in_on_hand - Int!
reason - String
cycle_counted - Boolean!
lot_id - Int
lot_name - String
lot_expiration - Date
lpn_id - Int
parent_lpn_id - Int
item_bin_previous_on_hand - Int
product - ProductType
actual_product - ProductType
location - BinType
row_id - BigInt
on_hand - Int
Example
{
  "id": "4",
  "created_at": "2007-12-03T10:15:30Z",
  "account_id": 987,
  "product_account_id": 123,
  "location_id": 123,
  "warehouse_id": 123,
  "user_id": 123,
  "sku": "abc123",
  "previous_on_hand": 987,
  "change_in_on_hand": 987,
  "reason": "abc123",
  "cycle_counted": false,
  "lot_id": 987,
  "lot_name": "xyz789",
  "lot_expiration": "2007-12-03",
  "lpn_id": 123,
  "parent_lpn_id": 987,
  "item_bin_previous_on_hand": 123,
  "product": ProductType,
  "actual_product": ProductType,
  "location": BinType,
  "row_id": {},
  "on_hand": 987
}

LocationChangeLogTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LocationChangeLogTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [LocationChangeLogTypeCountableEdge],
  "total_count": 987
}

LocationChangeLogTypeCountableEdge

Description

A Relay edge containing a LocationChangeLogTypeCountable and its cursor.

Fields
Field Name Description
node - LocationChangeLogType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": LocationChangeLogType,
  "cursor": "abc123"
}

LocationConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LocationEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [LocationEdge]
}

LocationEdge

Description

A Relay edge containing a Location and its cursor.

Fields
Field Name Description
node - Location The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Location,
  "cursor": "xyz789"
}

LocationOutput

Fields
Field Name Description
request_id - String
complexity - Int
location - Location
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "location": Location
}

LocationQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Location
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": Location
}

LocationType

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
name - String
daily_storage_cost - String
category - String
is_lpn_allowed - Boolean
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "abc123",
  "name": "xyz789",
  "daily_storage_cost": "xyz789",
  "category": "abc123",
  "is_lpn_allowed": true
}

LocationsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - LocationConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": LocationConnection
}

Lot

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
po_id - String An expiration lot could have more than one purchase order associated. Check purchase_orders field.
name - String
sku - String
created_at - ISODateTime
updated_at - ISODateTime
expires_at - ISODateTime
received_at - ISODateTime
is_active - Boolean
locations - LocationConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
purchase_orders - PurchaseOrderConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "xyz789",
  "po_id": "abc123",
  "name": "xyz789",
  "sku": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "expires_at": ISODateTime,
  "received_at": ISODateTime,
  "is_active": true,
  "locations": LocationConnection,
  "purchase_orders": PurchaseOrderConnection
}

LotConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [LotEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [LotEdge]
}

LotEdge

Description

A Relay edge containing a Lot and its cursor.

Fields
Field Name Description
node - Lot The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Lot,
  "cursor": "xyz789"
}

LotTrackingSettings

Fields
Field Name Description
is_active - Boolean
priority - String
picking_disabled_period_in_days - Int
lots_about_to_expire_email - String
verify_lot_when_packing - Boolean
exclude_expired_quantity_from_available - Boolean
Example
{
  "is_active": true,
  "priority": "abc123",
  "picking_disabled_period_in_days": 123,
  "lots_about_to_expire_email": "abc123",
  "verify_lot_when_packing": true,
  "exclude_expired_quantity_from_available": false
}

LotType

Fields
Field Name Description
id - ID! The ID of the object
name - String!
sku - String!
account_id - Int!
quantity - Int
created_at - DateTime!
updated_at - DateTime!
expires_at - Date
received_at - DateTime
is_active - Boolean!
account - AccountType
item_bins - [ProductLocationType]
row_id - BigInt
customer_name - String
warehouse - WarehouseType
current_quantity - Int
warehouse_location - String
consider_as_expired - Boolean
Example
{
  "id": 4,
  "name": "abc123",
  "sku": "abc123",
  "account_id": 123,
  "quantity": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "expires_at": "2007-12-03",
  "received_at": "2007-12-03T10:15:30Z",
  "is_active": true,
  "account": AccountType,
  "item_bins": [ProductLocationType],
  "row_id": {},
  "customer_name": "abc123",
  "warehouse": WarehouseType,
  "current_quantity": 987,
  "warehouse_location": "abc123",
  "consider_as_expired": false
}

LotsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - LotConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": LotConnection
}

MergeOrdersDismissRuleType

Fields
Field Name Description
rule - String
name - String
values - [String]
Example
{
  "rule": "xyz789",
  "name": "xyz789",
  "values": ["xyz789"]
}

MergeOrdersInput

Description

Merge Orders Input

Fields
Input Field Description
master_order_id - String!
sub_order_ids - [String]!
Example
{
  "master_order_id": "abc123",
  "sub_order_ids": ["abc123"]
}

MergeOrdersOutput

Description

Merge Orders Output

Fields
Field Name Description
request_id - String
complexity - Int
order - Order
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "order": Order
}

MergeOrdersRuleType

Fields
Field Name Description
rule - String
name - String
Example
{
  "rule": "xyz789",
  "name": "xyz789"
}

MergeableOrder

Fields
Field Name Description
id - String
legacy_id - Int
order_number - String The store's internal order number
partner_order_id - String The order ID assigned by the storefront
shop_name - String
fulfillment_status - String Status of the order (pending, fulfilled, cancelled, etc)
order_date - ISODateTime
total_tax - String
subtotal - String
total_discounts - String
total_price - String
box_name - String
ready_to_ship - Boolean This field is no longer being updated and should not be used or relied on
auto_print_return_label - Boolean
custom_invoice_url - String
account_id - String
updated_at - ISODateTime
created_at - ISODateTime
email - String
profile - String
gift_note - String
packing_note - String
required_ship_date - ISODateTime
shipping_lines - ShippingLines
shipping_address - OrderAddress
billing_address - OrderAddress
tags - [String]
line_items - LineItemQuerySpecConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
authorizations - [Authorization]
holds - OrderHolds
shipments - [Shipment]
returns - [Return]
rma_labels - [RMALabel]
flagged - Boolean
saturday_delivery - Boolean
ignore_address_validation_errors - Boolean
skip_address_validation - Boolean
priority_flag - Boolean
allocation_priority - Int
allocations - [OrderWarehouseAllocation]
source - String
third_party_shipper - OrderThirdPartyShipper
gift_invoice - Boolean
allow_partial - Boolean
require_signature - Boolean
adult_signature_required - Boolean
alcohol - Boolean
expected_weight_in_oz - String
insurance - Boolean
insurance_amount - String
currency - String
has_dry_ice - Boolean
allow_split - Boolean
hold_until_date - ISODateTime
incoterms - String
tax_id - String
tax_type - String
dry_ice_weight_in_lbs - String
ftr_exemption - Decimal
address_is_business - Boolean
do_not_print_invoice - Boolean
ignore_payment_capture_errors - Boolean
order_history - [OrderHistory]
merged_orders - [MergedOrder]
attachments - OrderAttachmentQuerySpecConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
wholesale_order - WholesaleOrder
potential_merges - [Order]
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "order_number": "abc123",
  "partner_order_id": "xyz789",
  "shop_name": "xyz789",
  "fulfillment_status": "abc123",
  "order_date": ISODateTime,
  "total_tax": "abc123",
  "subtotal": "xyz789",
  "total_discounts": "xyz789",
  "total_price": "abc123",
  "box_name": "abc123",
  "ready_to_ship": true,
  "auto_print_return_label": false,
  "custom_invoice_url": "abc123",
  "account_id": "abc123",
  "updated_at": ISODateTime,
  "created_at": ISODateTime,
  "email": "xyz789",
  "profile": "xyz789",
  "gift_note": "xyz789",
  "packing_note": "abc123",
  "required_ship_date": ISODateTime,
  "shipping_lines": ShippingLines,
  "shipping_address": OrderAddress,
  "billing_address": OrderAddress,
  "tags": ["abc123"],
  "line_items": LineItemQuerySpecConnection,
  "authorizations": [Authorization],
  "holds": OrderHolds,
  "shipments": [Shipment],
  "returns": [Return],
  "rma_labels": [RMALabel],
  "flagged": false,
  "saturday_delivery": false,
  "ignore_address_validation_errors": false,
  "skip_address_validation": true,
  "priority_flag": true,
  "allocation_priority": 987,
  "allocations": [OrderWarehouseAllocation],
  "source": "xyz789",
  "third_party_shipper": OrderThirdPartyShipper,
  "gift_invoice": true,
  "allow_partial": false,
  "require_signature": true,
  "adult_signature_required": false,
  "alcohol": true,
  "expected_weight_in_oz": "xyz789",
  "insurance": true,
  "insurance_amount": "xyz789",
  "currency": "xyz789",
  "has_dry_ice": true,
  "allow_split": false,
  "hold_until_date": ISODateTime,
  "incoterms": "abc123",
  "tax_id": "xyz789",
  "tax_type": "abc123",
  "dry_ice_weight_in_lbs": "abc123",
  "ftr_exemption": Decimal,
  "address_is_business": true,
  "do_not_print_invoice": false,
  "ignore_payment_capture_errors": true,
  "order_history": [OrderHistory],
  "merged_orders": [MergedOrder],
  "attachments": OrderAttachmentQuerySpecConnection,
  "wholesale_order": WholesaleOrder,
  "potential_merges": [Order]
}

MergeableOrderConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [MergeableOrderEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [MergeableOrderEdge]
}

MergeableOrderEdge

Description

A Relay edge containing a MergeableOrder and its cursor.

Fields
Field Name Description
node - MergeableOrder The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": MergeableOrder,
  "cursor": "xyz789"
}

MergeableOrdersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - MergeableOrderConnection
Arguments
order_number - String

Optional order number filter

first_name - String

Optional first name filter. If order number is specified, this filter will be ignored

last_name - String

Optional last name filter. If order number is specified, this filter will be ignored

sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": MergeableOrderConnection
}

MergedOrder

Fields
Field Name Description
order_id - String
is_master - Boolean Indicates if it's the master order
Example
{"order_id": "abc123", "is_master": true}

MissingAllocationType

Fields
Field Name Description
message - String!
quantity - Int
status - PickingJobStatus
Example
{
  "message": "abc123",
  "quantity": 987,
  "status": "DRAFT"
}

Money

Example
Money

MutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
Example
{"request_id": "abc123", "complexity": 123}

NewWarehouseType

Fields
Field Name Description
id - Int
from_name - String
from_city - String
from_state - String
from_zip - String
identifier - String
warehouse - String
Example
{
  "id": 123,
  "from_name": "xyz789",
  "from_city": "abc123",
  "from_state": "abc123",
  "from_zip": "xyz789",
  "identifier": "xyz789",
  "warehouse": "abc123"
}

NoHTMLTagsString

Description

A sanitized string that do not contains HTML tags

Example
NoHTMLTagsString

Node

NonSellableInventoryDetailsType

Fields
Field Name Description
load_balance - Int
receiving - Int
quarantine - Int
damaged - Int
others - Int
Example
{
  "load_balance": 123,
  "receiving": 987,
  "quarantine": 987,
  "damaged": 987,
  "others": 987
}

OperationError

Fields
Field Name Description
code - Int
error - String
Example
{"code": 987, "error": "xyz789"}

Order

Fields
Field Name Description
id - String
legacy_id - Int
order_number - String The store's internal order number
partner_order_id - String The order ID assigned by the storefront
shop_name - String
fulfillment_status - String Status of the order (pending, fulfilled, cancelled, etc)
order_date - ISODateTime
total_tax - String
subtotal - String
total_discounts - String
total_price - String
box_name - String
ready_to_ship - Boolean This field is no longer being updated and should not be used or relied on
auto_print_return_label - Boolean
custom_invoice_url - String
account_id - String
updated_at - ISODateTime
created_at - ISODateTime
email - String
profile - String
gift_note - String
packing_note - String
required_ship_date - ISODateTime
shipping_lines - ShippingLines
shipping_address - OrderAddress
billing_address - OrderAddress
tags - [String]
line_items - LineItemQuerySpecConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
authorizations - [Authorization]
holds - OrderHolds
shipments - [Shipment]
returns - [Return]
rma_labels - [RMALabel]
flagged - Boolean
saturday_delivery - Boolean
ignore_address_validation_errors - Boolean
skip_address_validation - Boolean
priority_flag - Boolean
allocation_priority - Int
allocations - [OrderWarehouseAllocation]
source - String
third_party_shipper - OrderThirdPartyShipper
gift_invoice - Boolean
allow_partial - Boolean
require_signature - Boolean
adult_signature_required - Boolean
alcohol - Boolean
expected_weight_in_oz - String
insurance - Boolean
insurance_amount - String
currency - String
has_dry_ice - Boolean
allow_split - Boolean
hold_until_date - ISODateTime
incoterms - String
tax_id - String
tax_type - String
dry_ice_weight_in_lbs - String
ftr_exemption - Decimal
address_is_business - Boolean
do_not_print_invoice - Boolean
ignore_payment_capture_errors - Boolean
order_history - [OrderHistory]
merged_orders - [MergedOrder]
attachments - OrderAttachmentQuerySpecConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
wholesale_order - WholesaleOrder
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "order_number": "xyz789",
  "partner_order_id": "abc123",
  "shop_name": "abc123",
  "fulfillment_status": "xyz789",
  "order_date": ISODateTime,
  "total_tax": "abc123",
  "subtotal": "xyz789",
  "total_discounts": "xyz789",
  "total_price": "xyz789",
  "box_name": "xyz789",
  "ready_to_ship": true,
  "auto_print_return_label": false,
  "custom_invoice_url": "xyz789",
  "account_id": "abc123",
  "updated_at": ISODateTime,
  "created_at": ISODateTime,
  "email": "xyz789",
  "profile": "abc123",
  "gift_note": "xyz789",
  "packing_note": "abc123",
  "required_ship_date": ISODateTime,
  "shipping_lines": ShippingLines,
  "shipping_address": OrderAddress,
  "billing_address": OrderAddress,
  "tags": ["xyz789"],
  "line_items": LineItemQuerySpecConnection,
  "authorizations": [Authorization],
  "holds": OrderHolds,
  "shipments": [Shipment],
  "returns": [Return],
  "rma_labels": [RMALabel],
  "flagged": true,
  "saturday_delivery": false,
  "ignore_address_validation_errors": false,
  "skip_address_validation": false,
  "priority_flag": false,
  "allocation_priority": 987,
  "allocations": [OrderWarehouseAllocation],
  "source": "abc123",
  "third_party_shipper": OrderThirdPartyShipper,
  "gift_invoice": true,
  "allow_partial": false,
  "require_signature": false,
  "adult_signature_required": false,
  "alcohol": true,
  "expected_weight_in_oz": "abc123",
  "insurance": true,
  "insurance_amount": "xyz789",
  "currency": "abc123",
  "has_dry_ice": true,
  "allow_split": true,
  "hold_until_date": ISODateTime,
  "incoterms": "xyz789",
  "tax_id": "abc123",
  "tax_type": "xyz789",
  "dry_ice_weight_in_lbs": "abc123",
  "ftr_exemption": Decimal,
  "address_is_business": true,
  "do_not_print_invoice": false,
  "ignore_payment_capture_errors": true,
  "order_history": [OrderHistory],
  "merged_orders": [MergedOrder],
  "attachments": OrderAttachmentQuerySpecConnection,
  "wholesale_order": WholesaleOrder
}

OrderAddAttachmentInput

Fields
Input Field Description
order_id - String!
url - URL!
customer_account_id - String
filename - String
file_type - String
description - String
Example
{
  "order_id": "abc123",
  "url": "http://www.test.com/",
  "customer_account_id": "xyz789",
  "filename": "abc123",
  "file_type": "abc123",
  "description": "abc123"
}

OrderAddAttachmentOutput

Fields
Field Name Description
request_id - String
complexity - Int
attachment - OrderAttachment
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "attachment": OrderAttachment
}

OrderAddress

Description

Order type for addresses. Orders have addresses with more details than the rest of the system so we use our own types

Fields
Field Name Description
first_name - String
last_name - String
company - String
address1 - String
address2 - String
city - String
state - String
state_code - String
zip - String
country - String
country_code - String
email - String
phone - String
Example
{
  "first_name": "xyz789",
  "last_name": "abc123",
  "company": "abc123",
  "address1": "xyz789",
  "address2": "abc123",
  "city": "abc123",
  "state": "xyz789",
  "state_code": "abc123",
  "zip": "xyz789",
  "country": "xyz789",
  "country_code": "xyz789",
  "email": "abc123",
  "phone": "xyz789"
}

OrderAttachment

Fields
Field Name Description
id - String
legacy_id - Int
order_id - String
account_id - String
description - String
url - String
filename - String
file_type - String
file_size - Int
created_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "order_id": "xyz789",
  "account_id": "xyz789",
  "description": "abc123",
  "url": "abc123",
  "filename": "xyz789",
  "file_type": "xyz789",
  "file_size": 987,
  "created_at": ISODateTime
}

OrderAttachmentQuerySpecConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [OrderAttachmentQuerySpecEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [OrderAttachmentQuerySpecEdge],
  "total_count": 987
}

OrderAttachmentQuerySpecEdge

Description

A Relay edge containing a OrderAttachmentQuerySpec and its cursor.

Fields
Field Name Description
node - OrderAttachment The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": OrderAttachment,
  "cursor": "xyz789"
}

OrderBinAllocationType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
line_item_id - Float!
item_bin_id - Int!
quantity - Int!
created_at - DateTime!
pending_shipment_id - Int
item_bin - ProductLocationType
row_id - BigInt
Example
{
  "id": 4,
  "account_id": 123,
  "line_item_id": 987.65,
  "item_bin_id": 987,
  "quantity": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "pending_shipment_id": 123,
  "item_bin": ProductLocationType,
  "row_id": {}
}

OrderBinAllocationTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [OrderBinAllocationTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [OrderBinAllocationTypeCountableEdge],
  "total_count": 987
}

OrderBinAllocationTypeCountableEdge

Description

A Relay edge containing a OrderBinAllocationTypeCountable and its cursor.

Fields
Field Name Description
node - OrderBinAllocationType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": OrderBinAllocationType,
  "cursor": "xyz789"
}

OrderConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [OrderEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [OrderEdge]
}

OrderEdge

Description

A Relay edge containing a Order and its cursor.

Fields
Field Name Description
node - Order The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Order,
  "cursor": "xyz789"
}

OrderHistory

Fields
Field Name Description
id - String
legacy_id - Int
order_id - String
user_id - String
account_id - String
username - String
order_number - String
information - String
created_at - ISODateTime
order - Order
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "order_id": "xyz789",
  "user_id": "abc123",
  "account_id": "abc123",
  "username": "xyz789",
  "order_number": "abc123",
  "information": "abc123",
  "created_at": ISODateTime,
  "order": Order
}

OrderHistoryConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [OrderHistoryEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [OrderHistoryEdge]
}

OrderHistoryEdge

Description

A Relay edge containing a OrderHistory and its cursor.

Fields
Field Name Description
node - OrderHistory The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": OrderHistory,
  "cursor": "xyz789"
}

OrderHistoryQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - OrderHistoryConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": OrderHistoryConnection
}

OrderHolds

Fields
Field Name Description
fraud_hold - Boolean
address_hold - Boolean
shipping_method_hold - Boolean
operator_hold - Boolean
payment_hold - Boolean
client_hold - Boolean
Example
{
  "fraud_hold": false,
  "address_hold": false,
  "shipping_method_hold": true,
  "operator_hold": false,
  "payment_hold": false,
  "client_hold": false
}

OrderLineItemAllocation

Fields
Field Name Description
order_id - String
warehouse_id - String
allocated_at - ISODateTime
line_item_id - String
sku - String
quantity_allocated - Int
is_kit_component - Boolean
allocation_reference - String
Example
{
  "order_id": "xyz789",
  "warehouse_id": "xyz789",
  "allocated_at": ISODateTime,
  "line_item_id": "xyz789",
  "sku": "xyz789",
  "quantity_allocated": 987,
  "is_kit_component": false,
  "allocation_reference": "xyz789"
}

OrderMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
order - Order
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "order": Order
}

OrderQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Order
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": Order
}

OrderShipmentMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
shipment - Shipment
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "shipment": Shipment
}

OrderThirdPartyShipper

Fields
Field Name Description
account_number - String
zip - String
country - String
Example
{
  "account_number": "xyz789",
  "zip": "abc123",
  "country": "xyz789"
}

OrderWarehouseAllocation

Fields
Field Name Description
order_id - String
warehouse_id - String
allocated_at - ISODateTime
allocation_reference - String
ready_to_ship - Boolean
line_items - [OrderLineItemAllocation]
is_locked - Boolean
Example
{
  "order_id": "xyz789",
  "warehouse_id": "xyz789",
  "allocated_at": ISODateTime,
  "allocation_reference": "abc123",
  "ready_to_ship": false,
  "line_items": [OrderLineItemAllocation],
  "is_locked": true
}

OrdersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - OrderConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": OrderConnection
}

Package

Fields
Field Name Description
id - String
legacy_id - Int
shipment_id - String
warehouse_id - String
order_id - String
order_number - String
user_id - String
user_first_name - String
user_last_name - String
total_items - Int The sum of every shipped item's quantity in the package
unique_items - Int The number of unique shipped items in the package
barcodes_scanned - Int The nuber of barcodes scanned in the package
created_at - ISODateTime
shipment - Shipment
order - Order
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "shipment_id": "xyz789",
  "warehouse_id": "abc123",
  "order_id": "abc123",
  "order_number": "xyz789",
  "user_id": "abc123",
  "user_first_name": "xyz789",
  "user_last_name": "xyz789",
  "total_items": 987,
  "unique_items": 123,
  "barcodes_scanned": 987,
  "created_at": ISODateTime,
  "shipment": Shipment,
  "order": Order
}

PackageConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PackageEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PackageEdge]
}

PackageEdge

Description

A Relay edge containing a Package and its cursor.

Fields
Field Name Description
node - Package The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Package,
  "cursor": "xyz789"
}

PackageInput

Fields
Input Field Description
line_items - [PackageLineItemInput]!
Example
{"line_items": [PackageLineItemInput]}

PackageLineItemInput

Fields
Input Field Description
sku - String!
quantity - Int!
Example
{"sku": "abc123", "quantity": 987}

Packer

Fields
Field Name Description
id - ID!
email - String!
password - String!
permissions - String
activated - Boolean!
activation_code - String
activated_at - DateTime
last_login - DateTime
persist_code - String
reset_password_code - String
first_name - String
last_name - String
created_at - DateTime!
updated_at - DateTime!
account_id - Int
step_completed - Boolean!
parent - Int!
profile_image - String
token - String
default_picking_option - String!
threepl_user_id - Int
suuid - String
tokens_invalidated_at - DateTime
do_not_email - Boolean!
use_sso - Boolean!
use_mfa - Boolean!
position - String
hourly_rate - Float
default_language - String!
payroll_id - String
has_appdot_access - Boolean!
account - AccountType
allowed_warehouses - WarehouseTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
stores - UserStoresTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
name - String
Example
{
  "id": 4,
  "email": "abc123",
  "password": "abc123",
  "permissions": "abc123",
  "activated": false,
  "activation_code": "xyz789",
  "activated_at": "2007-12-03T10:15:30Z",
  "last_login": "2007-12-03T10:15:30Z",
  "persist_code": "xyz789",
  "reset_password_code": "abc123",
  "first_name": "abc123",
  "last_name": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "account_id": 987,
  "step_completed": false,
  "parent": 987,
  "profile_image": "xyz789",
  "token": "abc123",
  "default_picking_option": "abc123",
  "threepl_user_id": 987,
  "suuid": "xyz789",
  "tokens_invalidated_at": "2007-12-03T10:15:30Z",
  "do_not_email": false,
  "use_sso": true,
  "use_mfa": true,
  "position": "xyz789",
  "hourly_rate": 987.65,
  "default_language": "abc123",
  "payroll_id": "xyz789",
  "has_appdot_access": false,
  "account": AccountType,
  "allowed_warehouses": WarehouseTypeCountableConnection,
  "stores": UserStoresTypeCountableConnection,
  "row_id": {},
  "name": "abc123"
}

PacksPerDayQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - PackageConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": PackageConnection
}

PageInfo

Description

The Relay compliant PageInfo type, containing data necessary to paginate this connection.

Fields
Field Name Description
hasNextPage - Boolean! When paginating forwards, are there more items?
hasPreviousPage - Boolean! When paginating backwards, are there more items?
startCursor - String When paginating backwards, the cursor to continue.
endCursor - String When paginating forwards, the cursor to continue.
Example
{
  "hasNextPage": true,
  "hasPreviousPage": false,
  "startCursor": "abc123",
  "endCursor": "abc123"
}

PalletData

Fields
Input Field Description
quantity - Int!
kind - String One of 'ftl', 'ltl', 'container'. Default = "ftl"
page_size - String One of '4x6', 'letter'. Default = "letter"
floor_loaded - Boolean
Example
{
  "quantity": 123,
  "kind": "abc123",
  "page_size": "xyz789",
  "floor_loaded": false
}

Pick

Fields
Field Name Description
id - String
legacy_id - Int
user_id - String
tote_id - String
line_item_id - String
pending_shipment_line_item_id - String
location_id - String
warehouse_id - String
order_id - String
order_number - String
user_first_name - String
user_last_name - String
inventory_bin - String
sku - String
quantity - Int The number required
picked_quantity - Int The number that was picked
pick_type - String
barcode_scanned - String
created_at - ISODateTime
line_item - LineItem
order - Order
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "user_id": "abc123",
  "tote_id": "abc123",
  "line_item_id": "abc123",
  "pending_shipment_line_item_id": "abc123",
  "location_id": "xyz789",
  "warehouse_id": "xyz789",
  "order_id": "abc123",
  "order_number": "abc123",
  "user_first_name": "abc123",
  "user_last_name": "abc123",
  "inventory_bin": "abc123",
  "sku": "abc123",
  "quantity": 123,
  "picked_quantity": 123,
  "pick_type": "abc123",
  "barcode_scanned": "abc123",
  "created_at": ISODateTime,
  "line_item": LineItem,
  "order": Order
}

PickConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PickEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PickEdge]
}

PickEdge

Description

A Relay edge containing a Pick and its cursor.

Fields
Field Name Description
node - Pick The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Pick,
  "cursor": "abc123"
}

PickingJobStatus

Description

An enumeration.

Values
Enum Value Description

DRAFT

PENDING

IN_PROGRESS

COMPLETED

SHORT

CANCELLED

PAUSED

READY_TO_PACK

PACKED

Example
"DRAFT"

PicksPerDayQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - PickConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": PickConnection
}

ProcessingStatusEnum

Description

An enumeration.

Values
Enum Value Description

PROCESSING

COMPLETED

FAILED

Example
"PROCESSING"

Product

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
name - String Name of the product
sku - String Stock Keeping Unit
price - String Price of the product This is a warehouse specific field
value - String Price paid for the product This is a warehouse specific field
value_currency - String This is a warehouse specific field
barcode - String Product barcode
country_of_manufacture - String
dimensions - Dimensions
tariff_code - String
kit - Boolean
kit_build - Boolean
no_air - Boolean
final_sale - Boolean
customs_value - String
customs_description - String
not_owned - Boolean
dropship - Boolean
needs_serial_number - Boolean
thumbnail - String
large_thumbnail - String
created_at - ISODateTime
updated_at - ISODateTime
product_note - String
virtual - Boolean
ignore_on_invoice - Boolean
ignore_on_customs - Boolean
active - Boolean This is a warehouse specific field
needs_lot_tracking - Boolean
packer_note - String
vendor_part_number - String
consumer_package_code - String
buyer_part_number - String
buyer_style_number - String
warehouse_products - [WarehouseProduct] The physical instances of the product, stored in warehouses
fba_inventory - [FbaInventory] Inventory available at FBA
images - [ProductImage]
tags - [String]
vendors - [ProductVendor]
components - [Product] For kits, this will be the list of products that make up the kit This has been replaced by kit_components
kit_components - [KitComponent] For kits, this will be the list of references to the products that make up the kit and their quantities
cases - [Case]
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "account_id": "xyz789",
  "name": "abc123",
  "sku": "abc123",
  "price": "xyz789",
  "value": "xyz789",
  "value_currency": "abc123",
  "barcode": "xyz789",
  "country_of_manufacture": "xyz789",
  "dimensions": Dimensions,
  "tariff_code": "xyz789",
  "kit": false,
  "kit_build": true,
  "no_air": false,
  "final_sale": false,
  "customs_value": "abc123",
  "customs_description": "xyz789",
  "not_owned": false,
  "dropship": true,
  "needs_serial_number": false,
  "thumbnail": "xyz789",
  "large_thumbnail": "abc123",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "product_note": "abc123",
  "virtual": true,
  "ignore_on_invoice": false,
  "ignore_on_customs": false,
  "active": false,
  "needs_lot_tracking": false,
  "packer_note": "xyz789",
  "vendor_part_number": "xyz789",
  "consumer_package_code": "abc123",
  "buyer_part_number": "xyz789",
  "buyer_style_number": "abc123",
  "warehouse_products": [WarehouseProduct],
  "fba_inventory": [FbaInventory],
  "images": [ProductImage],
  "tags": ["xyz789"],
  "vendors": [ProductVendor],
  "components": [Product],
  "kit_components": [KitComponent],
  "cases": [Case]
}

ProductAttributeType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
sku - String!
name - String!
value - String
updated_at - DateTime
created_at - DateTime
row_id - BigInt
Example
{
  "id": "4",
  "account_id": 987,
  "sku": "xyz789",
  "name": "abc123",
  "value": "abc123",
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "row_id": {}
}

ProductAttributeTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductAttributeTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductAttributeTypeCountableEdge],
  "total_count": 123
}

ProductAttributeTypeCountableEdge

Description

A Relay edge containing a ProductAttributeTypeCountable and its cursor.

Fields
Field Name Description
node - ProductAttributeType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductAttributeType,
  "cursor": "xyz789"
}

ProductCaseEachesStatsType

Fields
Field Name Description
eaches_total_on_hand - Int
eaches_total_in_case - Int
eaches_total_in_other_uoms - Int
Example
{
  "eaches_total_on_hand": 987,
  "eaches_total_in_case": 123,
  "eaches_total_in_other_uoms": 987
}

ProductCaseInfoType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
created_at - DateTime!
updated_at - DateTime!
sku - String!
case_barcode - String!
case_quantity - Int!
unit_of_measure_id - Int
product_info - ProductInfoType
product - ProductType
row_id - BigInt
Example
{
  "id": 4,
  "account_id": 987,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "sku": "xyz789",
  "case_barcode": "abc123",
  "case_quantity": 123,
  "unit_of_measure_id": 987,
  "product_info": ProductInfoType,
  "product": ProductType,
  "row_id": {}
}

ProductCaseInfoTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductCaseInfoTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductCaseInfoTypeCountableEdge],
  "total_count": 123
}

ProductCaseInfoTypeCountableEdge

Description

A Relay edge containing a ProductCaseInfoTypeCountable and its cursor.

Fields
Field Name Description
node - ProductCaseInfoType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductCaseInfoType,
  "cursor": "xyz789"
}

ProductCaseType

Fields
Field Name Description
id - Int
product_case - ProductType
Arguments
warehouse_id - Int
product_case_info - ProductInfoType This product case's Product info.
product - ProductType
Arguments
warehouse_id - Int
product_info - ProductInfoType This product case's content's Product info.
each_info - ProductInfoType This product case's eaches' Product info. Will differ from product_info if this is a case of cases.
quantity - Int Units of product_info contained in this UOM
stats - ProductCaseEachesStatsType
Arguments
warehouse_id - Int
container_type - String
container_sku - String
content_sku - String
each_sku - String
each_qty - Int
Example
{
  "id": 123,
  "product_case": ProductType,
  "product_case_info": ProductInfoType,
  "product": ProductType,
  "product_info": ProductInfoType,
  "each_info": ProductInfoType,
  "quantity": 123,
  "stats": ProductCaseEachesStatsType,
  "container_type": "xyz789",
  "container_sku": "xyz789",
  "content_sku": "abc123",
  "each_sku": "xyz789",
  "each_qty": 987
}

ProductConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductEdge]
}

ProductEdge

Description

A Relay edge containing a Product and its cursor.

Fields
Field Name Description
node - Product The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Product,
  "cursor": "abc123"
}

ProductHistoryConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductHistoryEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductHistoryEdge],
  "total_count": 123
}

ProductHistoryEdge

Description

A Relay edge containing a ProductHistory and its cursor.

Fields
Field Name Description
node - ProductHistoryType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductHistoryType,
  "cursor": "abc123"
}

ProductHistoryType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
user_id - Int!
product_id - Int
sku - String
information - String
created_at - DateTime!
warehouse - WarehouseType
warehouse_id - Int
product - ProductType
created_at_tz - DateTime
row_id - BigInt
user - User
Example
{
  "id": "4",
  "account_id": 987,
  "user_id": 123,
  "product_id": 987,
  "sku": "xyz789",
  "information": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "warehouse": WarehouseType,
  "warehouse_id": 123,
  "product": ProductType,
  "created_at_tz": "2007-12-03T10:15:30Z",
  "row_id": {},
  "user": User
}

ProductHistoryTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductHistoryTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductHistoryTypeCountableEdge],
  "total_count": 987
}

ProductHistoryTypeCountableEdge

Description

A Relay edge containing a ProductHistoryTypeCountable and its cursor.

Fields
Field Name Description
node - ProductHistoryType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductHistoryType,
  "cursor": "abc123"
}

ProductImage

Fields
Field Name Description
src - String The url where the image is hosted
position - Int The order in which the image should appear
Example
{"src": "xyz789", "position": 123}

ProductImageSchema

Fields
Field Name Description
id - ID! The ID of the object
sku - String!
account_id - Int!
URL - String!
sort - Int
updated_at - DateTime!
created_at - DateTime!
products - ProductType
product_info - ProductInfoType
row_id - BigInt
source - String
Example
{
  "id": "4",
  "sku": "xyz789",
  "account_id": 123,
  "URL": "abc123",
  "sort": 123,
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "products": ProductType,
  "product_info": ProductInfoType,
  "row_id": {},
  "source": "abc123"
}

ProductImageSchemaCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductImageSchemaCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductImageSchemaCountableEdge],
  "total_count": 987
}

ProductImageSchemaCountableEdge

Description

A Relay edge containing a ProductImageSchemaCountable and its cursor.

Fields
Field Name Description
node - ProductImageSchema The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductImageSchema,
  "cursor": "xyz789"
}

ProductInfoListingType

Fields
Field Name Description
shop_name - String
product_name - String
id - String
Example
{
  "shop_name": "abc123",
  "product_name": "xyz789",
  "id": "abc123"
}

ProductInfoType

Fields
Field Name Description
cubic_dimensions - Int
needs_fai - String
sku - String!
account_id - ID!
kit - Boolean!
parent_id - Int!
barcode - String!
updated_at - DateTime
created_at - DateTime
id - ID! The ID of the object
name - String!
option - String!
active - Boolean!
thumbnail - String
value - Float!
product_note - String
country_of_manufacture - String!
weight_in_oz - Float!
height - Float!
length - Float!
width - Float!
barcode_pdf - String
barcode_image - String
barcode_zpl - String
tariff_code - String!
thumbnail_updated_time - DateTime!
large_thumbnail - String
virtual - Boolean!
reorder_amount - Int!
reorder_level - Int!
value_currency - String
price - Float!
kit_build - Boolean!
no_air - Boolean!
final_sale - Boolean!
customs_value - Float!
customs_description - NoHTMLTagsString
not_owned - Boolean!
ignore_on_invoice - Boolean!
ignore_on_customs - Boolean!
thumbnail_from_url - String
dropship - Boolean!
li_ion - Int!
dangerous_goods_code - Int
needs_serial_number - Boolean!
needs_lot_tracking - Boolean
auto_fulfill - Boolean
gtin - String
upc - String
quantity_pending_return - Int
account - AccountType
product_images - ProductImageSchemaCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
kitting_map_components - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
kitting_map_parents - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
assembly_map_components - AssemblyMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_attributes - ProductAttributeTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
history - ProductHistoryTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
item_bins - ProductLocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_case_info - [ProductCaseInfoType]
row_id - BigInt
orm_d - Boolean
backorder - Int
sales_velocity - Float
on_hand - BigInt
allocated - Int
on_order - Int
quantity_shipped - Int
synced_location - Boolean
multiple_listings - [ProductInfoListingType]
tags - [String]
sell_ahead - Int This gets the sell_ahead from all warehouses the product exists
non_sellable_quantity - Int
is_cbd - Boolean
return_note - String
ignore_dims - Boolean
is_used_in_automation_rule - Boolean
custom_insert - Boolean
custom_box - Boolean
uom - ProductCaseType
warehouse_products - ProductTypeCountableConnection
Arguments
warehouse_id - Int
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
item_bins_for_warehouse - ProductLocationTypeCountableConnection
Arguments
warehouse_id - Int!
location - String
account_id - Int
hide_empty - Boolean
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
current_user_warehouse_product - ProductType
orders_for_product - ProductOrderDetailConnection
Arguments
shipped - Boolean

If not null, will return orders with shipped items only

allocated - Boolean

If not null, will return orders with allocated items only

backordered - Boolean

If not null, will return orders with backordered items only

shop_name - String
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
purchase_orders_for_product - ProductPurchaseOrderDetailConnection
Arguments
vendor_name - String
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
returns_for_product - ProductReturnConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
business_relationships - BusinessRelationshipConnection
Arguments
warehouse_id - Int
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
product_history - ProductHistoryConnection
Arguments
warehouse_id - Int
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
inventory_change_log - InventoryChangeLogConnection
Arguments
warehouse_id - Int
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
inventory_details - InventoryDetailsType
non_sellable_inventory_details - [WarehouseNonSellableInventoryType]
Arguments
warehouse_ids - [Int]
attachments - [AttachmentType]
Example
{
  "cubic_dimensions": 123,
  "needs_fai": "xyz789",
  "sku": "abc123",
  "account_id": 4,
  "kit": true,
  "parent_id": 123,
  "barcode": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "name": "xyz789",
  "option": "xyz789",
  "active": true,
  "thumbnail": "xyz789",
  "value": 123.45,
  "product_note": "xyz789",
  "country_of_manufacture": "xyz789",
  "weight_in_oz": 123.45,
  "height": 987.65,
  "length": 123.45,
  "width": 987.65,
  "barcode_pdf": "abc123",
  "barcode_image": "abc123",
  "barcode_zpl": "xyz789",
  "tariff_code": "abc123",
  "thumbnail_updated_time": "2007-12-03T10:15:30Z",
  "large_thumbnail": "xyz789",
  "virtual": true,
  "reorder_amount": 987,
  "reorder_level": 987,
  "value_currency": "xyz789",
  "price": 987.65,
  "kit_build": false,
  "no_air": false,
  "final_sale": false,
  "customs_value": 123.45,
  "customs_description": NoHTMLTagsString,
  "not_owned": false,
  "ignore_on_invoice": true,
  "ignore_on_customs": true,
  "thumbnail_from_url": "abc123",
  "dropship": false,
  "li_ion": 987,
  "dangerous_goods_code": 123,
  "needs_serial_number": false,
  "needs_lot_tracking": true,
  "auto_fulfill": false,
  "gtin": "abc123",
  "upc": "abc123",
  "quantity_pending_return": 123,
  "account": AccountType,
  "product_images": ProductImageSchemaCountableConnection,
  "kitting_map_components": KittingMapTypeCountableConnection,
  "kitting_map_parents": KittingMapTypeCountableConnection,
  "assembly_map_components": AssemblyMapTypeCountableConnection,
  "product_attributes": ProductAttributeTypeCountableConnection,
  "history": ProductHistoryTypeCountableConnection,
  "item_bins": ProductLocationTypeCountableConnection,
  "product_case_info": [ProductCaseInfoType],
  "row_id": {},
  "orm_d": true,
  "backorder": 987,
  "sales_velocity": 123.45,
  "on_hand": {},
  "allocated": 987,
  "on_order": 987,
  "quantity_shipped": 987,
  "synced_location": false,
  "multiple_listings": [ProductInfoListingType],
  "tags": ["xyz789"],
  "sell_ahead": 123,
  "non_sellable_quantity": 123,
  "is_cbd": true,
  "return_note": "xyz789",
  "ignore_dims": false,
  "is_used_in_automation_rule": false,
  "custom_insert": false,
  "custom_box": false,
  "uom": ProductCaseType,
  "warehouse_products": ProductTypeCountableConnection,
  "item_bins_for_warehouse": ProductLocationTypeCountableConnection,
  "current_user_warehouse_product": ProductType,
  "orders_for_product": ProductOrderDetailConnection,
  "purchase_orders_for_product": ProductPurchaseOrderDetailConnection,
  "returns_for_product": ProductReturnConnection,
  "business_relationships": BusinessRelationshipConnection,
  "product_history": ProductHistoryConnection,
  "inventory_change_log": InventoryChangeLogConnection,
  "inventory_details": InventoryDetailsType,
  "non_sellable_inventory_details": [
    WarehouseNonSellableInventoryType
  ],
  "attachments": [AttachmentType]
}

ProductInfoTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductInfoTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductInfoTypeCountableEdge],
  "total_count": 987
}

ProductInfoTypeCountableEdge

Description

A Relay edge containing a ProductInfoTypeCountable and its cursor.

Fields
Field Name Description
node - ProductInfoType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductInfoType,
  "cursor": "abc123"
}

ProductLocationType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
sku - String!
quantity - Int
pick_sequence - Int!
warehouse_id - Int!
location_id - Int!
lot_id - Int
product_case_info_id - Int
product_case_sku - String
created_at - DateTime!
updated_at - DateTime!
lpn_id - Int!
quantity_non_allocated - Int
account - AccountType
product - ProductType
lot - LotType
product_info - ProductInfoType
bin - BinType
order_bin_allocations - OrderBinAllocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
warehouse_obj - WarehouseType
uom - ProductCaseType
lpn_line_items - [LicensePlateNumberV2LineItemType]
row_id - BigInt
name - String
allocated_quantity - Int
picked_quantity - Int
product_case - ProductCaseType
loose_items_quantity - Int
lpn - LicensePlateNumberV2Type
Example
{
  "id": 4,
  "account_id": 987,
  "sku": "abc123",
  "quantity": 987,
  "pick_sequence": 123,
  "warehouse_id": 987,
  "location_id": 987,
  "lot_id": 123,
  "product_case_info_id": 123,
  "product_case_sku": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "lpn_id": 123,
  "quantity_non_allocated": 123,
  "account": AccountType,
  "product": ProductType,
  "lot": LotType,
  "product_info": ProductInfoType,
  "bin": BinType,
  "order_bin_allocations": OrderBinAllocationTypeCountableConnection,
  "warehouse_obj": WarehouseType,
  "uom": ProductCaseType,
  "lpn_line_items": [LicensePlateNumberV2LineItemType],
  "row_id": {},
  "name": "abc123",
  "allocated_quantity": 987,
  "picked_quantity": 123,
  "product_case": ProductCaseType,
  "loose_items_quantity": 123,
  "lpn": LicensePlateNumberV2Type
}

ProductLocationTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductLocationTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductLocationTypeCountableEdge],
  "total_count": 987
}

ProductLocationTypeCountableEdge

Description

A Relay edge containing a ProductLocationTypeCountable and its cursor.

Fields
Field Name Description
node - ProductLocationType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductLocationType,
  "cursor": "xyz789"
}

ProductMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
product - Product
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "product": Product
}

ProductOrderDetail

Fields
Field Name Description
line_item_id - Int Line item ID
order_id - Int The Order ID
order_date - String The Order date
order_number - String The Order number
shop_name - String The Order's shop name
quantity - Int The amount of the order for this particular item
quantity_shipped - Int The amount of this particular item that has already been shipped
quantity_allocated - Int the amount of this item currently allocated for this order
backorder_quantity - Int The amount of this particular item that's backoreded for this order
Example
{
  "line_item_id": 123,
  "order_id": 987,
  "order_date": "abc123",
  "order_number": "xyz789",
  "shop_name": "xyz789",
  "quantity": 123,
  "quantity_shipped": 987,
  "quantity_allocated": 987,
  "backorder_quantity": 987
}

ProductOrderDetailConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductOrderDetailEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductOrderDetailEdge],
  "total_count": 123
}

ProductOrderDetailEdge

Description

A Relay edge containing a ProductOrderDetail and its cursor.

Fields
Field Name Description
node - ProductOrderDetail The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductOrderDetail,
  "cursor": "xyz789"
}

ProductPurchaseOrderDetail

Fields
Field Name Description
line_item_id - Int Line item ID
purchase_order_id - Int Purchase order ID
purchase_order_date - String Purchase order date
purchase_order_number - String Purchase order number
fulfillment_status - String Line item fulfillment status
vendor_name - String Vendor name
quantity - Int Amount of items
quantity_received - Int Amount of received items
sell_ahead - Int Amount of sold ahead items
warehouse - NewWarehouseType
Example
{
  "line_item_id": 987,
  "purchase_order_id": 987,
  "purchase_order_date": "abc123",
  "purchase_order_number": "xyz789",
  "fulfillment_status": "xyz789",
  "vendor_name": "abc123",
  "quantity": 123,
  "quantity_received": 123,
  "sell_ahead": 987,
  "warehouse": NewWarehouseType
}

ProductPurchaseOrderDetailConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductPurchaseOrderDetailEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductPurchaseOrderDetailEdge],
  "total_count": 987
}

ProductPurchaseOrderDetailEdge

Description

A Relay edge containing a ProductPurchaseOrderDetail and its cursor.

Fields
Field Name Description
node - ProductPurchaseOrderDetail The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductPurchaseOrderDetail,
  "cursor": "xyz789"
}

ProductQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Product
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": Product
}

ProductReturnConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductReturnEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductReturnEdge],
  "total_count": 987
}

ProductReturnDetail

Fields
Field Name Description
return_item - ReturnItemType
order - Order
warehouse - WarehouseType
Example
{
  "return_item": ReturnItemType,
  "order": Order,
  "warehouse": WarehouseType
}

ProductReturnEdge

Description

A Relay edge containing a ProductReturn and its cursor.

Fields
Field Name Description
node - ProductReturnDetail The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductReturnDetail,
  "cursor": "xyz789"
}

ProductType

Fields
Field Name Description
sku - String!
account_id - ID!
on_hand - Int!
allocated - Int!
backorder - Int!
kit - Boolean!
inventory_bin - String!
inventory_overstock_bin - String!
parent_id - Int!
barcode - String
freshly_imported - Boolean
updated_at - DateTime
created_at - DateTime
id - ID! The ID of the object
name - String
option - String!
active - Boolean!
needs_thumb - Boolean!
thumbnail - String!
value - Float!
product_condition - String
vendor_sku - String
last_counted - DateTime!
count_priority - Float!
brand - String
weight_in_oz - Float!
height - Float!
length - Float!
width - Float!
barcode_pdf - String
barcode_image - String
barcode_zpl - String
large_thumbnail - String
reorder_amount - Int!
reorder_level - Int!
warehouse - String!
reserve_inventory - Int!
custom - Boolean!
value_currency - String
product_type - String!
adhoc_parent_sku - String
track_inventory - Boolean!
replenishment_level - Int!
replenishment_max_level - Int!
replenishment_increment - Int!
total_pickable - Int!
total_unpickable - Int!
price - Float!
kit_build - Boolean!
no_air - Boolean!
final_sale - Boolean!
customs_value - Float!
do_not_count - Boolean!
warehouse_id - Int
account - AccountType
kitting_map_components - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
kitting_map_parents - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_images - ProductImageSchemaCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
item_bins - ProductLocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
warehouse_obj - WarehouseType
product_info - ProductInfoType
history - ProductHistoryTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
location_change_log - LocationChangeLogTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
location_changes - LocationChangeLogTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_case_info - [ProductCaseInfoType]
row_id - BigInt
locations - ProductLocationTypeCountableConnection
Arguments
location_id - Int
not_empty - Boolean
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
warehouse_account_id - Int
warehouse_identifier - String
quantity_expected - Int
quantity_pending_return - Int
quantity_shipped - Int
available - Int
available_valid - Int
on_order - Int
sell_ahead - Int
non_sellable_quantity - Int
ignore_on_load_balance - Boolean
quantity_to_replenish - Int
product_attributes - [ProductAttributeType]
quantity_staged_for_load_balance - Int
is_used_in_automation_rule - Boolean
expired - ExpiredDetailsType
Arguments
warehouse_id - Int
visits_velocity - String
Example
{
  "sku": "xyz789",
  "account_id": "4",
  "on_hand": 987,
  "allocated": 987,
  "backorder": 987,
  "kit": false,
  "inventory_bin": "abc123",
  "inventory_overstock_bin": "abc123",
  "parent_id": 123,
  "barcode": "xyz789",
  "freshly_imported": true,
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "id": 4,
  "name": "xyz789",
  "option": "xyz789",
  "active": false,
  "needs_thumb": true,
  "thumbnail": "xyz789",
  "value": 123.45,
  "product_condition": "xyz789",
  "vendor_sku": "xyz789",
  "last_counted": "2007-12-03T10:15:30Z",
  "count_priority": 123.45,
  "brand": "abc123",
  "weight_in_oz": 123.45,
  "height": 123.45,
  "length": 987.65,
  "width": 987.65,
  "barcode_pdf": "xyz789",
  "barcode_image": "abc123",
  "barcode_zpl": "xyz789",
  "large_thumbnail": "abc123",
  "reorder_amount": 123,
  "reorder_level": 987,
  "warehouse": "abc123",
  "reserve_inventory": 123,
  "custom": false,
  "value_currency": "abc123",
  "product_type": "abc123",
  "adhoc_parent_sku": "abc123",
  "track_inventory": true,
  "replenishment_level": 987,
  "replenishment_max_level": 987,
  "replenishment_increment": 123,
  "total_pickable": 987,
  "total_unpickable": 987,
  "price": 987.65,
  "kit_build": false,
  "no_air": false,
  "final_sale": true,
  "customs_value": 987.65,
  "do_not_count": true,
  "warehouse_id": 987,
  "account": AccountType,
  "kitting_map_components": KittingMapTypeCountableConnection,
  "kitting_map_parents": KittingMapTypeCountableConnection,
  "product_images": ProductImageSchemaCountableConnection,
  "item_bins": ProductLocationTypeCountableConnection,
  "warehouse_obj": WarehouseType,
  "product_info": ProductInfoType,
  "history": ProductHistoryTypeCountableConnection,
  "location_change_log": LocationChangeLogTypeCountableConnection,
  "location_changes": LocationChangeLogTypeCountableConnection,
  "product_case_info": [ProductCaseInfoType],
  "row_id": {},
  "locations": ProductLocationTypeCountableConnection,
  "warehouse_account_id": 123,
  "warehouse_identifier": "abc123",
  "quantity_expected": 123,
  "quantity_pending_return": 123,
  "quantity_shipped": 123,
  "available": 987,
  "available_valid": 123,
  "on_order": 123,
  "sell_ahead": 123,
  "non_sellable_quantity": 987,
  "ignore_on_load_balance": true,
  "quantity_to_replenish": 123,
  "product_attributes": [ProductAttributeType],
  "quantity_staged_for_load_balance": 987,
  "is_used_in_automation_rule": false,
  "expired": ExpiredDetailsType,
  "visits_velocity": "abc123"
}

ProductTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ProductTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ProductTypeCountableEdge],
  "total_count": 123
}

ProductTypeCountableEdge

Description

A Relay edge containing a ProductTypeCountable and its cursor.

Fields
Field Name Description
node - ProductType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ProductType,
  "cursor": "xyz789"
}

ProductVendor

Fields
Field Name Description
vendor_id - String
vendor_sku - String
price - String
Example
{
  "vendor_id": "abc123",
  "vendor_sku": "xyz789",
  "price": "xyz789"
}

ProductsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ProductConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": ProductConnection
}

PurchaseOrder

Fields
Field Name Description
id - String
legacy_id - Int
po_number - String
account_id - String
warehouse_id - String
vendor_id - String
created_at - ISODateTime
po_date - ISODateTime The expected date to arrive at the warehouse.
date_closed - ISODateTime
arrived_at - ISODateTime
packing_note - String
fulfillment_status - String
po_note - String
description - String
partner_order_number - String
subtotal - String
discount - String
total_price - String
tax - String
shipping_method - String
shipping_carrier - String
shipping_name - String
shipping_price - String
tracking_number - String
pdf - String
images - String
payment_method - String
payment_due_by - String
payment_note - String
locking - String
locked_by_user_id - String
line_items - PurchaseOrderLineItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
attachments - PurchaseOrderAttachmentConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
vendor - Vendor
warehouse - Warehouse
origin_of_shipment - String
tracking_numbers - PurchaseOrderTrackingNumberConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
ship_date - DateTime
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "po_number": "abc123",
  "account_id": "abc123",
  "warehouse_id": "xyz789",
  "vendor_id": "xyz789",
  "created_at": ISODateTime,
  "po_date": ISODateTime,
  "date_closed": ISODateTime,
  "arrived_at": ISODateTime,
  "packing_note": "xyz789",
  "fulfillment_status": "abc123",
  "po_note": "abc123",
  "description": "abc123",
  "partner_order_number": "xyz789",
  "subtotal": "xyz789",
  "discount": "xyz789",
  "total_price": "xyz789",
  "tax": "abc123",
  "shipping_method": "xyz789",
  "shipping_carrier": "xyz789",
  "shipping_name": "xyz789",
  "shipping_price": "abc123",
  "tracking_number": "abc123",
  "pdf": "xyz789",
  "images": "xyz789",
  "payment_method": "abc123",
  "payment_due_by": "abc123",
  "payment_note": "xyz789",
  "locking": "abc123",
  "locked_by_user_id": "abc123",
  "line_items": PurchaseOrderLineItemConnection,
  "attachments": PurchaseOrderAttachmentConnection,
  "vendor": Vendor,
  "warehouse": Warehouse,
  "origin_of_shipment": "abc123",
  "tracking_numbers": PurchaseOrderTrackingNumberConnection,
  "ship_date": "2007-12-03T10:15:30Z"
}

PurchaseOrderAttachment

Fields
Field Name Description
id - String
legacy_id - Int
url - String
user_id - String
account_id - String
po_li_sku - String
description - String
filename - String
file_type - String
file_size - Int
created_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "url": "xyz789",
  "user_id": "abc123",
  "account_id": "xyz789",
  "po_li_sku": "abc123",
  "description": "xyz789",
  "filename": "abc123",
  "file_type": "xyz789",
  "file_size": 123,
  "created_at": ISODateTime
}

PurchaseOrderAttachmentConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PurchaseOrderAttachmentEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PurchaseOrderAttachmentEdge]
}

PurchaseOrderAttachmentEdge

Description

A Relay edge containing a PurchaseOrderAttachment and its cursor.

Fields
Field Name Description
node - PurchaseOrderAttachment The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": PurchaseOrderAttachment,
  "cursor": "xyz789"
}

PurchaseOrderConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PurchaseOrderEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PurchaseOrderEdge]
}

PurchaseOrderEdge

Description

A Relay edge containing a PurchaseOrder and its cursor.

Fields
Field Name Description
node - PurchaseOrder The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": PurchaseOrder,
  "cursor": "abc123"
}

PurchaseOrderLineItem

Fields
Field Name Description
id - String
legacy_id - Int
po_id - String
account_id - String
warehouse_id - String
vendor_id - String
po_number - String
sku - String
vendor_sku - String
product_id - String
variant_id - Int
quantity - Int
quantity_received - Int
quantity_rejected - Int
price - String
product_name - String
option_title - String
expected_weight_in_lbs - String
fulfillment_status - String
sell_ahead - Int
note - String
partner_line_item_id - String
barcode - String
updated_at - ISODateTime
created_at - ISODateTime
vendor - Vendor
product - WarehouseProduct
expiration_lots - LotConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "po_id": "xyz789",
  "account_id": "xyz789",
  "warehouse_id": "abc123",
  "vendor_id": "xyz789",
  "po_number": "xyz789",
  "sku": "abc123",
  "vendor_sku": "abc123",
  "product_id": "abc123",
  "variant_id": 987,
  "quantity": 123,
  "quantity_received": 987,
  "quantity_rejected": 123,
  "price": "xyz789",
  "product_name": "xyz789",
  "option_title": "abc123",
  "expected_weight_in_lbs": "abc123",
  "fulfillment_status": "xyz789",
  "sell_ahead": 123,
  "note": "abc123",
  "partner_line_item_id": "abc123",
  "barcode": "abc123",
  "updated_at": ISODateTime,
  "created_at": ISODateTime,
  "vendor": Vendor,
  "product": WarehouseProduct,
  "expiration_lots": LotConnection
}

PurchaseOrderLineItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PurchaseOrderLineItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PurchaseOrderLineItemEdge]
}

PurchaseOrderLineItemEdge

Description

A Relay edge containing a PurchaseOrderLineItem and its cursor.

Fields
Field Name Description
node - PurchaseOrderLineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": PurchaseOrderLineItem,
  "cursor": "abc123"
}

PurchaseOrderQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - PurchaseOrder
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": PurchaseOrder
}

PurchaseOrderTrackingNumber

Fields
Field Name Description
id - String
legacy_id - Int
po_id - String
carrier_id - String
carrier_value - String
tracking_number - String
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "po_id": "xyz789",
  "carrier_id": "abc123",
  "carrier_value": "xyz789",
  "tracking_number": "abc123"
}

PurchaseOrderTrackingNumberConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [PurchaseOrderTrackingNumberEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [PurchaseOrderTrackingNumberEdge]
}

PurchaseOrderTrackingNumberEdge

Description

A Relay edge containing a PurchaseOrderTrackingNumber and its cursor.

Fields
Field Name Description
node - PurchaseOrderTrackingNumber The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": PurchaseOrderTrackingNumber,
  "cursor": "abc123"
}

PurchaseOrdersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - PurchaseOrderConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": PurchaseOrderConnection
}

RMALabel

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
order_id - String
rma_id - String
shipment_id - String
shipping_name - String
tracking_number - String
status - String
carrier - String
shipping_method - String
cost - String
box_code - String
dimensions - Dimensions
address - Address
paper_pdf_location - String
thermal_pdf_location - String
pdf_location - String
image_location - String
delivered - Boolean
picked_up - Boolean
refunded - Boolean
needs_refund - Boolean
profile - String
full_size_to_print - String
partner_fulfillment_id - String
created_at - ISODateTime
updated_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "account_id": "abc123",
  "order_id": "xyz789",
  "rma_id": "xyz789",
  "shipment_id": "abc123",
  "shipping_name": "xyz789",
  "tracking_number": "abc123",
  "status": "abc123",
  "carrier": "xyz789",
  "shipping_method": "abc123",
  "cost": "xyz789",
  "box_code": "xyz789",
  "dimensions": Dimensions,
  "address": Address,
  "paper_pdf_location": "abc123",
  "thermal_pdf_location": "xyz789",
  "pdf_location": "abc123",
  "image_location": "xyz789",
  "delivered": false,
  "picked_up": false,
  "refunded": false,
  "needs_refund": false,
  "profile": "abc123",
  "full_size_to_print": "xyz789",
  "partner_fulfillment_id": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime
}

RMALabelType

Fields
Field Name Description
id - String
legacy_id - Int
tracking_number - String
status - String
created_date - ISODateTime
carrier - String
shipping_method - String
cost - String
dimensions - Dimensions
length - Float Use dimensions instead
width - Float Use dimensions instead
height - Float Use dimensions instead
weight - Float Use dimensions instead
to_name - String
address1 - String
address2 - String
address_city - String
address_state - String
address_zip - String
address_country - String
pdf_location - String
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "tracking_number": "abc123",
  "status": "abc123",
  "created_date": ISODateTime,
  "carrier": "xyz789",
  "shipping_method": "abc123",
  "cost": "abc123",
  "dimensions": Dimensions,
  "length": 123.45,
  "width": 987.65,
  "height": 123.45,
  "weight": 987.65,
  "to_name": "xyz789",
  "address1": "abc123",
  "address2": "xyz789",
  "address_city": "xyz789",
  "address_state": "xyz789",
  "address_zip": "abc123",
  "address_country": "abc123",
  "pdf_location": "abc123"
}

RMALabelTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [RMALabelTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [RMALabelTypeCountableEdge],
  "total_count": 123
}

RMALabelTypeCountableEdge

Description

A Relay edge containing a RMALabelTypeCountable and its cursor.

Fields
Field Name Description
node - RMALabelType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": RMALabelType,
  "cursor": "abc123"
}

RecalculateBillInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
id - String!
Example
{
  "customer_account_id": "abc123",
  "id": "xyz789"
}

RecalculateBillOutput

Fields
Field Name Description
request_id - String
complexity - Int
bill - Bill
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "bill": Bill
}

RemoveKitComponentInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
Example
{
  "customer_account_id": "abc123",
  "sku": "xyz789"
}

RemoveKitComponentsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
components - [RemoveKitComponentInput]!
Example
{
  "customer_account_id": "abc123",
  "sku": "abc123",
  "components": [RemoveKitComponentInput]
}

RemoveLineItemsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
line_item_ids - [String]
Example
{
  "customer_account_id": "abc123",
  "order_id": "xyz789",
  "line_item_ids": ["xyz789"]
}

RemoveProductFromVendorInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
vendor_id - String!
sku - String!
Example
{
  "customer_account_id": "xyz789",
  "vendor_id": "abc123",
  "sku": "abc123"
}

ReplaceInventoryInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
warehouse_id - String!
quantity - Int!
reason - String
location_id - String
lpn_id - String
includes_non_sellable - Boolean
Example
{
  "customer_account_id": "xyz789",
  "sku": "xyz789",
  "warehouse_id": "xyz789",
  "quantity": 987,
  "reason": "abc123",
  "location_id": "abc123",
  "lpn_id": "xyz789",
  "includes_non_sellable": false
}

Return

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
order_id - String
partner_id - String
reason - String
status - String
label_type - ReturnLabelType
label_cost - String
labels - [RMALabelType]
cost_to_customer - String
shipping_carrier - String
shipping_method - String
dimensions - Dimensions
address - Address
line_items - [ReturnLineItem]
total_items_expected - Int
total_items_received - Int
total_items_restocked - Int
created_at - ISODateTime
display_issue_refund - Boolean
order - Order
exchanges - [ReturnExchange]
return_history - [ReturnHistory]
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "abc123",
  "order_id": "xyz789",
  "partner_id": "xyz789",
  "reason": "abc123",
  "status": "xyz789",
  "label_type": "FREE",
  "label_cost": "abc123",
  "labels": [RMALabelType],
  "cost_to_customer": "abc123",
  "shipping_carrier": "abc123",
  "shipping_method": "xyz789",
  "dimensions": Dimensions,
  "address": Address,
  "line_items": [ReturnLineItem],
  "total_items_expected": 123,
  "total_items_received": 987,
  "total_items_restocked": 987,
  "created_at": ISODateTime,
  "display_issue_refund": true,
  "order": Order,
  "exchanges": [ReturnExchange],
  "return_history": [ReturnHistory]
}

ReturnAttachmentType

Fields
Field Name Description
return - ReturnType
id - ID! The ID of the object
created_at - DateTime!
return_id - Int!
account_id - Int!
user_id - Int!
line_item_id - Float!
url - String!
filename - String!
file_type - String!
description - String
row_id - BigInt
line_item - ReturnedProductType
Example
{
  "return": ReturnType,
  "id": 4,
  "created_at": "2007-12-03T10:15:30Z",
  "return_id": 987,
  "account_id": 987,
  "user_id": 987,
  "line_item_id": 987.65,
  "url": "xyz789",
  "filename": "xyz789",
  "file_type": "abc123",
  "description": "xyz789",
  "row_id": {},
  "line_item": ReturnedProductType
}

ReturnAttachmentTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnAttachmentTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnAttachmentTypeCountableEdge],
  "total_count": 123
}

ReturnAttachmentTypeCountableEdge

Description

A Relay edge containing a ReturnAttachmentTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnAttachmentType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnAttachmentType,
  "cursor": "xyz789"
}

ReturnConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnEdge]
}

ReturnCostBreakdownType

Fields
Field Name Description
inspection_fee - Decimal
picking_fee - Decimal
restocking_fee - Decimal
shipping_fee - Decimal
shipping_taxes - Decimal
fulfillment_taxes - Decimal
Example
{
  "inspection_fee": Decimal,
  "picking_fee": Decimal,
  "restocking_fee": Decimal,
  "shipping_fee": Decimal,
  "shipping_taxes": Decimal,
  "fulfillment_taxes": Decimal
}

ReturnEdge

Description

A Relay edge containing a Return and its cursor.

Fields
Field Name Description
node - Return The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Return,
  "cursor": "xyz789"
}

ReturnExchange

Fields
Field Name Description
id - String
legacy_id - Int
exchange_order_id - String
return_id - String
account_id - String
exchange_order - Order
exchange_items - [ReturnExchangeItem]
original_return - Return
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "exchange_order_id": "xyz789",
  "return_id": "abc123",
  "account_id": "xyz789",
  "exchange_order": Order,
  "exchange_items": [ReturnExchangeItem],
  "original_return": Return
}

ReturnExchangeItem

Fields
Field Name Description
id - String
legacy_id - Int
return_item_id - String
sku - String
quantity - Int
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "return_item_id": "abc123",
  "sku": "abc123",
  "quantity": 987
}

ReturnExchangeItemType

Fields
Field Name Description
id - ID! The ID of the object
return_exchange_id - Int!
return_item_id - Int!
account_id - Int!
warehouse_id - Int!
sku - String!
quantity - Int!
return_exchange - ReturnExchangeType
return_item - ReturnItemType
product - ProductType
row_id - BigInt
Example
{
  "id": "4",
  "return_exchange_id": 123,
  "return_item_id": 987,
  "account_id": 987,
  "warehouse_id": 987,
  "sku": "abc123",
  "quantity": 123,
  "return_exchange": ReturnExchangeType,
  "return_item": ReturnItemType,
  "product": ProductType,
  "row_id": {}
}

ReturnExchangeItemTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnExchangeItemTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnExchangeItemTypeCountableEdge],
  "total_count": 123
}

ReturnExchangeItemTypeCountableEdge

Description

A Relay edge containing a ReturnExchangeItemTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnExchangeItemType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnExchangeItemType,
  "cursor": "abc123"
}

ReturnExchangeQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ReturnExchange
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": ReturnExchange
}

ReturnExchangeType

Fields
Field Name Description
id - ID! The ID of the object
return_id - Int!
exchange_id - Int!
account_id - Int!
created_at - DateTime!
order - Order
original_return - ReturnType
exchange_items - ReturnExchangeItemTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
Example
{
  "id": 4,
  "return_id": 123,
  "exchange_id": 123,
  "account_id": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "order": Order,
  "original_return": ReturnType,
  "exchange_items": ReturnExchangeItemTypeCountableConnection,
  "row_id": {}
}

ReturnExchangeTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnExchangeTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnExchangeTypeCountableEdge],
  "total_count": 987
}

ReturnExchangeTypeCountableEdge

Description

A Relay edge containing a ReturnExchangeTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnExchangeType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnExchangeType,
  "cursor": "xyz789"
}

ReturnHistory

Fields
Field Name Description
id - String
legacy_id - Int
return_id - String
account_id - String
user_id - String
created_at - ISODateTime
body - String
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "return_id": "xyz789",
  "account_id": "abc123",
  "user_id": "xyz789",
  "created_at": ISODateTime,
  "body": "abc123"
}

ReturnHistoryType

Fields
Field Name Description
id - ID! The ID of the object
return_id - Int!
body - String!
account_id - Int!
user_id - Int
created_at - DateTime!
return_obj - ReturnType
created_at_tz - DateTime
row_id - BigInt
user - User
Example
{
  "id": "4",
  "return_id": 123,
  "body": "abc123",
  "account_id": 123,
  "user_id": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "return_obj": ReturnType,
  "created_at_tz": "2007-12-03T10:15:30Z",
  "row_id": {},
  "user": User
}

ReturnHistoryTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnHistoryTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnHistoryTypeCountableEdge],
  "total_count": 987
}

ReturnHistoryTypeCountableEdge

Description

A Relay edge containing a ReturnHistoryTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnHistoryType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnHistoryType,
  "cursor": "xyz789"
}

ReturnItemType

Fields
Field Name Description
id - ID! The ID of the object
account_id - Int!
return_id - Int!
line_item_id - Float!
product_id - Int
quantity - Int!
quantity_received - Int
condition - String!
restock - Int
warehouse - String!
is_component - Int!
created_at - DateTime!
updated_at - DateTime!
warehouse_id - Int
bin_id - Int
type - String
reason - String!
line_item - LineItem
bin - BinType
return_warehouse - WarehouseType
product - ProductType
product_info - ProductInfoType
exchange_items - ReturnExchangeItemTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
returned_line_items - ReturnedLineItemTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
return - ReturnType
Example
{
  "id": "4",
  "account_id": 123,
  "return_id": 987,
  "line_item_id": 123.45,
  "product_id": 123,
  "quantity": 123,
  "quantity_received": 123,
  "condition": "xyz789",
  "restock": 123,
  "warehouse": "abc123",
  "is_component": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "warehouse_id": 123,
  "bin_id": 987,
  "type": "xyz789",
  "reason": "abc123",
  "line_item": LineItem,
  "bin": BinType,
  "return_warehouse": WarehouseType,
  "product": ProductType,
  "product_info": ProductInfoType,
  "exchange_items": ReturnExchangeItemTypeCountableConnection,
  "returned_line_items": ReturnedLineItemTypeCountableConnection,
  "row_id": {},
  "return": ReturnType
}

ReturnItemTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnItemTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnItemTypeCountableEdge],
  "total_count": 123
}

ReturnItemTypeCountableEdge

Description

A Relay edge containing a ReturnItemTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnItemType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnItemType,
  "cursor": "abc123"
}

ReturnLabelType

Values
Enum Value Description

FREE

PAID

SELF_RETURN

FLAT_RATE

RETURN_TO_SENDER

Example
"FREE"

ReturnLineItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
line_item_id - String
warehouse_id - String
product_id - String
return_id - String
quantity - Int
quantity_received - Int
restock - Int
condition - String
is_component - Boolean
type - String
reason - String
created_at - ISODateTime
updated_at - ISODateTime
line_item - LineItem
product - Product
warehouse - Warehouse
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "abc123",
  "line_item_id": "xyz789",
  "warehouse_id": "abc123",
  "product_id": "abc123",
  "return_id": "abc123",
  "quantity": 123,
  "quantity_received": 987,
  "restock": 123,
  "condition": "xyz789",
  "is_component": false,
  "type": "xyz789",
  "reason": "abc123",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "line_item": LineItem,
  "product": Product,
  "warehouse": Warehouse
}

ReturnQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Return
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": Return
}

ReturnType

Fields
Field Name Description
id - ID! The ID of the object
order_id - Int!
account_id - Int!
reason - String!
label_type - String!
label_cost - Float!
weight - Float!
height - Int!
length - Int!
width - Int!
shipping_carrier - String!
shipping_method - String!
email - String!
address1 - String!
address2 - String
city - String!
state - String!
zip - String!
country - String!
product_total - Float
discount - Float
restocking_fee - Float
subtotal - Float
tax - Float
total - Float
refund_type - String
status - String!
created_at - DateTime!
updated_at - DateTime!
customer_return_types - String!
internal_return_note - String
partner_id - String
refund_original_shipping_cost - Int!
updated_shop_with_data - Int!
fail_count - Int!
cost_to_customer - Float
refunded_shipping_amount - Float!
source - String
status_completed_at - DateTime
status_warehouse_completed_at - DateTime
display_issue_refund - Boolean
return_items - ReturnItemTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
rma_label - RMALabelTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
order - Order
attachments - ReturnAttachmentTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
exchanges - ReturnExchangeTypeCountableConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
row_id - BigInt
sf_return_cost - Decimal
return_history - ReturnHistoryTypeCountableConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
sf_return_cost_breakdown - ReturnCostBreakdownType
Example
{
  "id": "4",
  "order_id": 987,
  "account_id": 987,
  "reason": "xyz789",
  "label_type": "xyz789",
  "label_cost": 987.65,
  "weight": 123.45,
  "height": 123,
  "length": 123,
  "width": 987,
  "shipping_carrier": "xyz789",
  "shipping_method": "xyz789",
  "email": "abc123",
  "address1": "abc123",
  "address2": "abc123",
  "city": "abc123",
  "state": "abc123",
  "zip": "abc123",
  "country": "xyz789",
  "product_total": 987.65,
  "discount": 123.45,
  "restocking_fee": 123.45,
  "subtotal": 123.45,
  "tax": 987.65,
  "total": 987.65,
  "refund_type": "abc123",
  "status": "xyz789",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "customer_return_types": "abc123",
  "internal_return_note": "xyz789",
  "partner_id": "abc123",
  "refund_original_shipping_cost": 987,
  "updated_shop_with_data": 123,
  "fail_count": 987,
  "cost_to_customer": 987.65,
  "refunded_shipping_amount": 987.65,
  "source": "abc123",
  "status_completed_at": "2007-12-03T10:15:30Z",
  "status_warehouse_completed_at": "2007-12-03T10:15:30Z",
  "display_issue_refund": true,
  "return_items": ReturnItemTypeCountableConnection,
  "rma_label": RMALabelTypeCountableConnection,
  "order": Order,
  "attachments": ReturnAttachmentTypeCountableConnection,
  "exchanges": ReturnExchangeTypeCountableConnection,
  "row_id": {},
  "sf_return_cost": Decimal,
  "return_history": ReturnHistoryTypeCountableConnection,
  "sf_return_cost_breakdown": ReturnCostBreakdownType
}

ReturnedLineItemType

Fields
Field Name Description
id - ID! The ID of the object
return_item_id - Int
bin_id - Int
quantity_received - Int
quantity_restocked - Int
created_at - DateTime!
return_item - ReturnItemType
row_id - BigInt
Example
{
  "id": "4",
  "return_item_id": 987,
  "bin_id": 123,
  "quantity_received": 987,
  "quantity_restocked": 123,
  "created_at": "2007-12-03T10:15:30Z",
  "return_item": ReturnItemType,
  "row_id": {}
}

ReturnedLineItemTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ReturnedLineItemTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ReturnedLineItemTypeCountableEdge],
  "total_count": 987
}

ReturnedLineItemTypeCountableEdge

Description

A Relay edge containing a ReturnedLineItemTypeCountable and its cursor.

Fields
Field Name Description
node - ReturnedLineItemType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ReturnedLineItemType,
  "cursor": "abc123"
}

ReturnedProductType

Fields
Field Name Description
sku - String!
account_id - ID!
on_hand - Int!
allocated - Int!
backorder - Int!
kit - Boolean!
inventory_bin - String!
inventory_overstock_bin - String!
parent_id - Int!
barcode - String!
freshly_imported - Boolean
updated_at - DateTime
created_at - DateTime
id - ID! The ID of the object
name - String!
option - String!
active - Boolean!
needs_thumb - Boolean!
thumbnail - String!
value - Float!
product_condition - String
vendor_sku - String
last_counted - DateTime!
count_priority - Float!
brand - String
weight_in_oz - Float!
height - Float!
length - Float!
width - Float!
barcode_pdf - String
barcode_image - String
barcode_zpl - String
large_thumbnail - String
reorder_amount - Int!
reorder_level - Int!
warehouse - String!
reserve_inventory - Int!
custom - Boolean!
value_currency - String
product_type - String!
adhoc_parent_sku - String
track_inventory - Boolean!
replenishment_level - Int!
replenishment_max_level - Int!
replenishment_increment - Int!
total_pickable - Int!
total_unpickable - Int!
price - Float!
kit_build - Boolean!
no_air - Boolean!
final_sale - Boolean!
customs_value - Float!
do_not_count - Boolean!
warehouse_id - ID!
account - AccountType
kitting_map_components - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
kitting_map_parents - KittingMapTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_images - ProductImageSchemaCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
item_bins - ProductLocationTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
warehouse_obj - WarehouseType
product_info - ProductInfoType
history - ProductHistoryTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
location_change_log - LocationChangeLogTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
location_changes - LocationChangeLogTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
product_case_info - ProductCaseInfoTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - BigInt
Example
{
  "sku": "abc123",
  "account_id": 4,
  "on_hand": 987,
  "allocated": 987,
  "backorder": 987,
  "kit": true,
  "inventory_bin": "xyz789",
  "inventory_overstock_bin": "abc123",
  "parent_id": 987,
  "barcode": "xyz789",
  "freshly_imported": true,
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "id": "4",
  "name": "xyz789",
  "option": "abc123",
  "active": true,
  "needs_thumb": true,
  "thumbnail": "abc123",
  "value": 123.45,
  "product_condition": "abc123",
  "vendor_sku": "abc123",
  "last_counted": "2007-12-03T10:15:30Z",
  "count_priority": 987.65,
  "brand": "abc123",
  "weight_in_oz": 123.45,
  "height": 123.45,
  "length": 987.65,
  "width": 987.65,
  "barcode_pdf": "xyz789",
  "barcode_image": "abc123",
  "barcode_zpl": "xyz789",
  "large_thumbnail": "abc123",
  "reorder_amount": 123,
  "reorder_level": 987,
  "warehouse": "xyz789",
  "reserve_inventory": 123,
  "custom": false,
  "value_currency": "xyz789",
  "product_type": "xyz789",
  "adhoc_parent_sku": "abc123",
  "track_inventory": true,
  "replenishment_level": 987,
  "replenishment_max_level": 123,
  "replenishment_increment": 123,
  "total_pickable": 123,
  "total_unpickable": 123,
  "price": 987.65,
  "kit_build": true,
  "no_air": true,
  "final_sale": false,
  "customs_value": 987.65,
  "do_not_count": true,
  "warehouse_id": "4",
  "account": AccountType,
  "kitting_map_components": KittingMapTypeCountableConnection,
  "kitting_map_parents": KittingMapTypeCountableConnection,
  "product_images": ProductImageSchemaCountableConnection,
  "item_bins": ProductLocationTypeCountableConnection,
  "warehouse_obj": WarehouseType,
  "product_info": ProductInfoType,
  "history": ProductHistoryTypeCountableConnection,
  "location_change_log": LocationChangeLogTypeCountableConnection,
  "location_changes": LocationChangeLogTypeCountableConnection,
  "product_case_info": ProductCaseInfoTypeCountableConnection,
  "row_id": {}
}

ReturnsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ReturnConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": ReturnConnection
}

SetLineItemSkuInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
old_sku - String! The SKU of the product of the line item to be updated
new_sku - String! The SKU of the the new product to assign to the line item
Example
{
  "customer_account_id": "abc123",
  "order_id": "xyz789",
  "old_sku": "abc123",
  "new_sku": "abc123"
}

SetPurchaseOrderFulfillmentStatusInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
po_id - String!
status - String!
Example
{
  "customer_account_id": "xyz789",
  "po_id": "xyz789",
  "status": "abc123"
}

SetPurchaseOrderFulfillmentStatusOutput

Fields
Field Name Description
request_id - String
complexity - Int
purchase_order - PurchaseOrder
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "purchase_order": PurchaseOrder
}

Shipment

Fields
Field Name Description
id - String
legacy_id - Int
order_id - String
user_id - String
warehouse_id - String
pending_shipment_id - String
address - Address
profile - String
picked_up - Boolean
needs_refund - Boolean
refunded - Boolean
delivered - Boolean
shipped_off_shiphero - Boolean
dropshipment - Boolean
completed - Boolean This field indicates if store was notified about the shipment. It should be 'true' by default and 'false' when using the Bulk Ship UI.
created_date - ISODateTime
line_items - ShipmentLineItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
shipping_labels - [ShippingLabel]
warehouse - Warehouse
order - Order
total_packages - Int
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "order_id": "abc123",
  "user_id": "abc123",
  "warehouse_id": "xyz789",
  "pending_shipment_id": "xyz789",
  "address": Address,
  "profile": "abc123",
  "picked_up": true,
  "needs_refund": false,
  "refunded": true,
  "delivered": true,
  "shipped_off_shiphero": true,
  "dropshipment": true,
  "completed": false,
  "created_date": ISODateTime,
  "line_items": ShipmentLineItemConnection,
  "shipping_labels": [ShippingLabel],
  "warehouse": Warehouse,
  "order": Order,
  "total_packages": 123
}

ShipmentConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShipmentEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ShipmentEdge],
  "total_count": 987
}

ShipmentEdge

Description

A Relay edge containing a Shipment and its cursor.

Fields
Field Name Description
node - Shipment The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Shipment,
  "cursor": "xyz789"
}

ShipmentLineItem

Fields
Field Name Description
id - String
legacy_id - Int
line_item_id - String
shipment_id - String
shipping_label_id - String
quantity - Int
line_item - LineItem
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "line_item_id": "xyz789",
  "shipment_id": "abc123",
  "shipping_label_id": "xyz789",
  "quantity": 987,
  "line_item": LineItem
}

ShipmentLineItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShipmentLineItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShipmentLineItemEdge]
}

ShipmentLineItemEdge

Description

A Relay edge containing a ShipmentLineItem and its cursor.

Fields
Field Name Description
node - ShipmentLineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShipmentLineItem,
  "cursor": "abc123"
}

ShipmentQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Shipment
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": Shipment
}

ShipmentsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ShipmentConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": ShipmentConnection
}

ShippedLineItemInput

Fields
Input Field Description
quantity - Int!
sku - String!
Example
{"quantity": 987, "sku": "abc123"}

ShippedLineItemLot

Fields
Field Name Description
id - String
legacy_id - Int
line_item_id - String
lot_id - String
lot_name - String
lot_expiration_date - ISODateTime
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "line_item_id": "abc123",
  "lot_id": "xyz789",
  "lot_name": "abc123",
  "lot_expiration_date": ISODateTime
}

ShippedPackagesInput

Fields
Input Field Description
address - CreateOrderAddressInput!
carrier - String!
method - String!
tracking_number - String
tracking_url - String
label_url - String
cost - String
line_items - [ShippedLineItemInput]
dimensions - DimensionsInput
Example
{
  "address": CreateOrderAddressInput,
  "carrier": "abc123",
  "method": "xyz789",
  "tracking_number": "xyz789",
  "tracking_url": "xyz789",
  "label_url": "xyz789",
  "cost": "abc123",
  "line_items": [ShippedLineItemInput],
  "dimensions": DimensionsInput
}

ShippingCarrierMethodType

Fields
Field Name Description
id - ID! The ID of the object
shipping_carrier_id - Int!
name - String!
value - String!
carrier_value - String!
non_us_method - Int!
is_ground_method - Int!
carrier_name_for_platform - String
tracking_url - String
bc_shipping_provider - String
bc_tracking_carrier - String
visible - Int!
scac - String!
suffix - String
shipping_carrier - ShippingCarrierType
row_id - BigInt
Example
{
  "id": "4",
  "shipping_carrier_id": 987,
  "name": "abc123",
  "value": "abc123",
  "carrier_value": "xyz789",
  "non_us_method": 123,
  "is_ground_method": 987,
  "carrier_name_for_platform": "abc123",
  "tracking_url": "xyz789",
  "bc_shipping_provider": "abc123",
  "bc_tracking_carrier": "abc123",
  "visible": 987,
  "scac": "abc123",
  "suffix": "xyz789",
  "shipping_carrier": ShippingCarrierType,
  "row_id": {}
}

ShippingCarrierMethodTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingCarrierMethodTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingCarrierMethodTypeCountableEdge],
  "total_count": 987
}

ShippingCarrierMethodTypeCountableEdge

Description

A Relay edge containing a ShippingCarrierMethodTypeCountable and its cursor.

Fields
Field Name Description
node - ShippingCarrierMethodType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingCarrierMethodType,
  "cursor": "abc123"
}

ShippingCarrierType

Fields
Field Name Description
id - ID! The ID of the object
name - String!
value - String
table - String
account_number_field - String
return_label_support - Int!
multibox_support - Int!
manifest_support - Int!
tracking_url - String
is_easy_post - Int!
active - Int!
timeout_labels - Float!
timeout_quotes - Float!
logo - String
shiphero_carrier - Int!
platform_id - Int!
must_be_active_for_cheapest - Int!
support_po_box - Int!
sf_only - Int!
is_regional - Int!
carrier_methods - ShippingCarrierMethodTypeCountableConnection
Arguments
return_all - Boolean
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
row_id - BigInt
Example
{
  "id": 4,
  "name": "xyz789",
  "value": "abc123",
  "table": "xyz789",
  "account_number_field": "xyz789",
  "return_label_support": 123,
  "multibox_support": 123,
  "manifest_support": 987,
  "tracking_url": "xyz789",
  "is_easy_post": 987,
  "active": 123,
  "timeout_labels": 123.45,
  "timeout_quotes": 987.65,
  "logo": "xyz789",
  "shiphero_carrier": 987,
  "platform_id": 987,
  "must_be_active_for_cheapest": 123,
  "support_po_box": 987,
  "sf_only": 987,
  "is_regional": 123,
  "carrier_methods": ShippingCarrierMethodTypeCountableConnection,
  "row_id": {}
}

ShippingContainer

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
container_id - String
carrier - String
shipping_methods - [String]
shipping_labels - ShippingLabelConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
note - String
needs_manifest - Boolean
created_at - ISODateTime
updated_at - ISODateTime
shipped_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "account_id": "xyz789",
  "warehouse_id": "xyz789",
  "container_id": "xyz789",
  "carrier": "abc123",
  "shipping_methods": ["abc123"],
  "shipping_labels": ShippingLabelConnection,
  "note": "abc123",
  "needs_manifest": true,
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "shipped_at": ISODateTime
}

ShippingContainerConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingContainerEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingContainerEdge],
  "total_count": 123
}

ShippingContainerEdge

Description

A Relay edge containing a ShippingContainer and its cursor.

Fields
Field Name Description
node - ShippingContainer The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingContainer,
  "cursor": "abc123"
}

ShippingContainerQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ShippingContainer
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": ShippingContainer
}

ShippingContainersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ShippingContainerConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": ShippingContainerConnection
}

ShippingLabel

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
shipment_id - String
order_id - String
box_id - String
box_name - String
status - String
tracking_number - String
alternate_tracking_id - String
order_number - String
order_account_id - String
carrier - String
shipping_name - String
shipping_method - String
cost - String
box_code - String
device_id - String
delivered - Boolean
picked_up - Boolean
refunded - Boolean
needs_refund - Boolean
profile - String
partner_fulfillment_id - String
full_size_to_print - String
packing_slip - String
warehouse - String
warehouse_id - String
insurance_amount - String
carrier_account_id - String
source - String
created_date - ISODateTime
tracking_url - String
dimensions - Dimensions
label - LabelResource
address - Address
order - Order
shipment_line_items - ShipmentLineItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
package_number - Int
parcelview_url - String
tracking_status - String
in_shipping_container - Boolean
shipping_container_id - String
last_mile_labels - LastMileLabel
serial_numbers - [LineItemSerialNumber]
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "account_id": "xyz789",
  "shipment_id": "abc123",
  "order_id": "xyz789",
  "box_id": "xyz789",
  "box_name": "xyz789",
  "status": "xyz789",
  "tracking_number": "abc123",
  "alternate_tracking_id": "abc123",
  "order_number": "xyz789",
  "order_account_id": "abc123",
  "carrier": "xyz789",
  "shipping_name": "abc123",
  "shipping_method": "abc123",
  "cost": "xyz789",
  "box_code": "xyz789",
  "device_id": "abc123",
  "delivered": false,
  "picked_up": true,
  "refunded": true,
  "needs_refund": true,
  "profile": "abc123",
  "partner_fulfillment_id": "abc123",
  "full_size_to_print": "xyz789",
  "packing_slip": "xyz789",
  "warehouse": "xyz789",
  "warehouse_id": "abc123",
  "insurance_amount": "xyz789",
  "carrier_account_id": "xyz789",
  "source": "xyz789",
  "created_date": ISODateTime,
  "tracking_url": "abc123",
  "dimensions": Dimensions,
  "label": LabelResource,
  "address": Address,
  "order": Order,
  "shipment_line_items": ShipmentLineItemConnection,
  "package_number": 123,
  "parcelview_url": "xyz789",
  "tracking_status": "xyz789",
  "in_shipping_container": true,
  "shipping_container_id": "abc123",
  "last_mile_labels": LastMileLabel,
  "serial_numbers": [LineItemSerialNumber]
}

ShippingLabelConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingLabelEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingLabelEdge]
}

ShippingLabelEdge

Description

A Relay edge containing a ShippingLabel and its cursor.

Fields
Field Name Description
node - ShippingLabel The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingLabel,
  "cursor": "abc123"
}

ShippingLines

Fields
Field Name Description
title - String
carrier - String
method - String
price - String
Example
{
  "title": "xyz789",
  "carrier": "abc123",
  "method": "abc123",
  "price": "xyz789"
}

ShippingPlan

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
created_at - ISODateTime
fulfillment_status - String
warehouse_note - String
vendor_po_number - String
subtotal - String
shipping_price - String
total_price - String
shipping_method - String
shipping_carrier - String
shipping_name - String
tracking_number - String
warehouse - Warehouse
pdf_location - String
line_items - ShippingPlanLineItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
packages - ShippingPlanPackageConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
pallets - ShippingPlanPalletConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
origin_of_shipment - String
tracking_numbers - ShippingPlanTrackingNumberConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "account_id": "xyz789",
  "warehouse_id": "xyz789",
  "created_at": ISODateTime,
  "fulfillment_status": "abc123",
  "warehouse_note": "xyz789",
  "vendor_po_number": "xyz789",
  "subtotal": "abc123",
  "shipping_price": "xyz789",
  "total_price": "abc123",
  "shipping_method": "xyz789",
  "shipping_carrier": "abc123",
  "shipping_name": "abc123",
  "tracking_number": "xyz789",
  "warehouse": Warehouse,
  "pdf_location": "xyz789",
  "line_items": ShippingPlanLineItemConnection,
  "packages": ShippingPlanPackageConnection,
  "pallets": ShippingPlanPalletConnection,
  "origin_of_shipment": "abc123",
  "tracking_numbers": ShippingPlanTrackingNumberConnection
}

ShippingPlanLineItem

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
warehouse_id - String
sku - String
vendor_sku - String
product_id - String
variant_id - Int
quantity - Int
quantity_received - Int
quantity_rejected - Int
price - String
product_name - String
option_title - String
expected_weight_in_lbs - String
fulfillment_status - String
sell_ahead - Int
note - String
partner_line_item_id - String
barcode - String
updated_at - ISODateTime
created_at - ISODateTime
product - WarehouseProduct
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "account_id": "xyz789",
  "warehouse_id": "xyz789",
  "sku": "abc123",
  "vendor_sku": "abc123",
  "product_id": "xyz789",
  "variant_id": 123,
  "quantity": 123,
  "quantity_received": 987,
  "quantity_rejected": 123,
  "price": "abc123",
  "product_name": "abc123",
  "option_title": "xyz789",
  "expected_weight_in_lbs": "xyz789",
  "fulfillment_status": "xyz789",
  "sell_ahead": 123,
  "note": "xyz789",
  "partner_line_item_id": "abc123",
  "barcode": "xyz789",
  "updated_at": ISODateTime,
  "created_at": ISODateTime,
  "product": WarehouseProduct
}

ShippingPlanLineItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingPlanLineItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingPlanLineItemEdge]
}

ShippingPlanLineItemEdge

Description

A Relay edge containing a ShippingPlanLineItem and its cursor.

Fields
Field Name Description
node - ShippingPlanLineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingPlanLineItem,
  "cursor": "abc123"
}

ShippingPlanPackage

Fields
Field Name Description
id - String
legacy_id - Int
box_number - String
line_items - ShippingPlanPackageLineItemConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "box_number": "xyz789",
  "line_items": ShippingPlanPackageLineItemConnection
}

ShippingPlanPackageConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingPlanPackageEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingPlanPackageEdge]
}

ShippingPlanPackageEdge

Description

A Relay edge containing a ShippingPlanPackage and its cursor.

Fields
Field Name Description
node - ShippingPlanPackage The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingPlanPackage,
  "cursor": "xyz789"
}

ShippingPlanPackageLineItem

Fields
Field Name Description
id - String
legacy_id - Int
sku - String
quantity - Int
created_at - ISODateTime
product - Product
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "sku": "abc123",
  "quantity": 123,
  "created_at": ISODateTime,
  "product": Product
}

ShippingPlanPackageLineItemConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingPlanPackageLineItemEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingPlanPackageLineItemEdge]
}

ShippingPlanPackageLineItemEdge

Description

A Relay edge containing a ShippingPlanPackageLineItem and its cursor.

Fields
Field Name Description
node - ShippingPlanPackageLineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingPlanPackageLineItem,
  "cursor": "xyz789"
}

ShippingPlanPallet

Fields
Field Name Description
id - String
legacy_id - Int
kind - String
quantity - Int
floor_loaded - Boolean
page_size - String
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "kind": "abc123",
  "quantity": 123,
  "floor_loaded": false,
  "page_size": "abc123"
}

ShippingPlanPalletConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingPlanPalletEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingPlanPalletEdge]
}

ShippingPlanPalletEdge

Description

A Relay edge containing a ShippingPlanPallet and its cursor.

Fields
Field Name Description
node - ShippingPlanPallet The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingPlanPallet,
  "cursor": "abc123"
}

ShippingPlanQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ShippingPlan
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": ShippingPlan
}

ShippingPlanTrackingNumber

Fields
Field Name Description
id - String
legacy_id - Int
po_id - String
carrier_id - String
carrier_value - String
tracking_number - String
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "po_id": "abc123",
  "carrier_id": "abc123",
  "carrier_value": "xyz789",
  "tracking_number": "xyz789"
}

ShippingPlanTrackingNumberConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ShippingPlanTrackingNumberEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ShippingPlanTrackingNumberEdge]
}

ShippingPlanTrackingNumberEdge

Description

A Relay edge containing a ShippingPlanTrackingNumber and its cursor.

Fields
Field Name Description
node - ShippingPlanTrackingNumber The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ShippingPlanTrackingNumber,
  "cursor": "xyz789"
}

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"

SubmitBillInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
id - String!
Example
{
  "customer_account_id": "xyz789",
  "id": "abc123"
}

Tote

Fields
Field Name Description
id - String
legacy_id - Int
name - String
barcode - String
warehouse - Warehouse
orders - [Order]
picks - [TotePick]
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "name": "xyz789",
  "barcode": "abc123",
  "warehouse": Warehouse,
  "orders": [Order],
  "picks": [TotePick]
}

ToteContentQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - Tote
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": Tote
}

ToteHistory

Fields
Field Name Description
tote_name - String
tote_id - String
action - String
created_at - ISODateTime
Example
{
  "tote_name": "xyz789",
  "tote_id": "abc123",
  "action": "xyz789",
  "created_at": ISODateTime
}

ToteHistoryConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [ToteHistoryEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [ToteHistoryEdge]
}

ToteHistoryEdge

Description

A Relay edge containing a ToteHistory and its cursor.

Fields
Field Name Description
node - ToteHistory The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": ToteHistory,
  "cursor": "xyz789"
}

ToteHistoryQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - ToteHistoryConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": ToteHistoryConnection
}

TotePick

Fields
Field Name Description
id - String
legacy_id - Int
sku - String
created_at - ISODateTime
updated_at - ISODateTime
tote_id - String
current - Int
picked_quantity - Int
quantity - Int
inventory_bin - String
line_item - LineItem
location - Location
deducted - Boolean
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "sku": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "tote_id": "abc123",
  "current": 987,
  "picked_quantity": 123,
  "quantity": 987,
  "inventory_bin": "abc123",
  "line_item": LineItem,
  "location": Location,
  "deducted": false
}

TransferInventoryInput

Fields
Input Field Description
customer_account_id - String
sku - String!
warehouse_id - String!
quantity - Int!
location_from_id - String!
location_to_id - String!
reason - String
lpn_from_id - String
lpn_to_id - String
Example
{
  "customer_account_id": "abc123",
  "sku": "abc123",
  "warehouse_id": "abc123",
  "quantity": 987,
  "location_from_id": "abc123",
  "location_to_id": "abc123",
  "reason": "xyz789",
  "lpn_from_id": "abc123",
  "lpn_to_id": "abc123"
}

TransferInventoryOutput

Fields
Field Name Description
request_id - String
complexity - Int
ok - Boolean
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "ok": true
}

URL

Example
"http://www.test.com/"

UnmergeOrdersInput

Description

Unmerge Orders Input

Fields
Input Field Description
order_ids - [String]! A non-empty list of unique order identifiers specifying the orders to be unmerged. All provided IDs must exist and belong to the same currently merged order group. If the master order ID of the group is included in the list, the entire merged group will be unmerged
Example
{"order_ids": ["abc123"]}

UnmergeOrdersOutput

Description

Unmerge Orders Output

Fields
Field Name Description
request_id - String
complexity - Int
order - Order
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "order": Order
}

UpdateBillInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
id - String!
status - String! Bill status: draft, paid, finalize
Example
{
  "customer_account_id": "abc123",
  "id": "xyz789",
  "status": "xyz789"
}

UpdateInventoryInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
warehouse_id - String!
quantity - Int!
reason - String
location_id - String
lpn_id - String
Example
{
  "customer_account_id": "xyz789",
  "sku": "abc123",
  "warehouse_id": "xyz789",
  "quantity": 987,
  "reason": "xyz789",
  "location_id": "xyz789",
  "lpn_id": "abc123"
}

UpdateInventoryOutput

Fields
Field Name Description
request_id - String
complexity - Int
warehouse_product - WarehouseProduct
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "warehouse_product": WarehouseProduct
}

UpdateLineItemInput

Fields
Input Field Description
id - String!
partner_line_item_id - String
quantity - Int
price - String
product_name - String
option_title - String
fulfillment_status - String
quantity_pending_fulfillment - Int
custom_options - GenericScalar
custom_barcode - String
eligible_for_return - Boolean
customs_value - String A decimal value used for customs
warehouse_id - String Set to lock to that warehouse. The item will not be moved in any multi-warhouse processing
barcode - String
Example
{
  "id": "xyz789",
  "partner_line_item_id": "xyz789",
  "quantity": 987,
  "price": "abc123",
  "product_name": "xyz789",
  "option_title": "abc123",
  "fulfillment_status": "abc123",
  "quantity_pending_fulfillment": 123,
  "custom_options": GenericScalar,
  "custom_barcode": "xyz789",
  "eligible_for_return": true,
  "customs_value": "xyz789",
  "warehouse_id": "xyz789",
  "barcode": "xyz789"
}

UpdateLineItemsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
line_items - [UpdateLineItemInput]
Example
{
  "customer_account_id": "abc123",
  "order_id": "abc123",
  "line_items": [UpdateLineItemInput]
}

UpdateLocationInput

Fields
Input Field Description
location_id - String! The id of the location you want to modify
zone - String
location_type_id - String
pickable - Boolean
sellable - Boolean
is_cart - Boolean
pick_priority - Int
dimensions - DimensionsInput
temperature - String
Example
{
  "location_id": "xyz789",
  "zone": "abc123",
  "location_type_id": "abc123",
  "pickable": true,
  "sellable": false,
  "is_cart": false,
  "pick_priority": 123,
  "dimensions": DimensionsInput,
  "temperature": "abc123"
}

UpdateLotInput

Description

GraphQL input type for Lot update.

Fields
Input Field Description
lot_id - String!
name - String
sku - String
expires_at - ISODateTime
is_active - Boolean
Example
{
  "lot_id": "xyz789",
  "name": "abc123",
  "sku": "xyz789",
  "expires_at": ISODateTime,
  "is_active": false
}

UpdateLotOutput

Description

GraphQL output type for Lot update.

Fields
Field Name Description
request_id - String
complexity - Int
lot - Lot
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "lot": Lot
}

UpdateLotsInput

Description

GraphQL input type for Lots update.

Fields
Input Field Description
lots_ids - [String]!
is_active - Boolean
Example
{"lots_ids": ["xyz789"], "is_active": true}

UpdateLotsOutput

Description

GraphQL output type for Lots update.

Fields
Field Name Description
request_id - String
complexity - Int
ok - Boolean
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "ok": true
}

UpdateOrderFulfillmentStatusInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
fulfillment_status - String!
remove_inventory - Boolean Whether or not to remove inventory if the order is being cancelled
reason - String
void_on_platform - Boolean Whether or not to void the order on the sales platform if the order is being cancelled
Example
{
  "customer_account_id": "xyz789",
  "order_id": "abc123",
  "fulfillment_status": "abc123",
  "remove_inventory": true,
  "reason": "abc123",
  "void_on_platform": false
}

UpdateOrderHoldsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
payment_hold - Boolean
operator_hold - Boolean
fraud_hold - Boolean
address_hold - Boolean
client_hold - Boolean
Example
{
  "customer_account_id": "abc123",
  "order_id": "xyz789",
  "payment_hold": false,
  "operator_hold": false,
  "fraud_hold": true,
  "address_hold": true,
  "client_hold": true
}

UpdateOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
order_number - String
partner_order_id - String
fulfillment_status - String
order_date - ISODateTime
total_tax - String
total_discounts - String
box_name - String
ready_to_ship - Boolean
insurance_amount - Decimal
required_ship_date - ISODateTime
allocation_priority - Int
shipping_lines - CreateShippingLinesInput
shipping_address - CreateOrderAddressInput
billing_address - CreateOrderAddressInput
profile - String
packing_note - String
tags - [String]
gift_note - String
gift_invoice - Boolean
require_signature - Boolean
adult_signature_required - Boolean
alcohol - Boolean
insurance - Boolean
allow_partial - Boolean
allow_split - Boolean
priority_flag - Boolean
hold_until_date - ISODateTime
incoterms - String
tax_id - String
tax_type - String
history_entry - UserNoteInput
ignore_address_validation_errors - Boolean US addresses are be validated and when errors occur the order will have an address hold created. If this flag is set then the error validation is skipped and no address hold is created
skip_address_validation - Boolean Not address validation will be performed
custom_invoice_url - String
auto_print_return_label - Boolean
dry_ice_weight_in_lbs - String
ftr_exemption - Decimal
address_is_business - Boolean
do_not_print_invoice - Boolean
ignore_payment_capture_errors - Boolean
Example
{
  "customer_account_id": "xyz789",
  "order_id": "xyz789",
  "order_number": "abc123",
  "partner_order_id": "xyz789",
  "fulfillment_status": "xyz789",
  "order_date": ISODateTime,
  "total_tax": "abc123",
  "total_discounts": "abc123",
  "box_name": "abc123",
  "ready_to_ship": true,
  "insurance_amount": Decimal,
  "required_ship_date": ISODateTime,
  "allocation_priority": 123,
  "shipping_lines": CreateShippingLinesInput,
  "shipping_address": CreateOrderAddressInput,
  "billing_address": CreateOrderAddressInput,
  "profile": "abc123",
  "packing_note": "xyz789",
  "tags": ["abc123"],
  "gift_note": "xyz789",
  "gift_invoice": false,
  "require_signature": false,
  "adult_signature_required": false,
  "alcohol": false,
  "insurance": true,
  "allow_partial": false,
  "allow_split": true,
  "priority_flag": false,
  "hold_until_date": ISODateTime,
  "incoterms": "abc123",
  "tax_id": "xyz789",
  "tax_type": "xyz789",
  "history_entry": UserNoteInput,
  "ignore_address_validation_errors": true,
  "skip_address_validation": true,
  "custom_invoice_url": "xyz789",
  "auto_print_return_label": false,
  "dry_ice_weight_in_lbs": "abc123",
  "ftr_exemption": Decimal,
  "address_is_business": true,
  "do_not_print_invoice": false,
  "ignore_payment_capture_errors": false
}

UpdateOrderInputBase

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
Example
{
  "customer_account_id": "xyz789",
  "order_id": "abc123"
}

UpdateProductCaseInput

Fields
Input Field Description
case_barcode - String!
case_quantity - Int!
Example
{
  "case_barcode": "abc123",
  "case_quantity": 123
}

UpdateProductImageInput

Fields
Input Field Description
src - String!
position - Int
Example
{"src": "xyz789", "position": 123}

UpdateProductInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
name - String
dimensions - DimensionsInput
tariff_code - String
product_note - String
country_of_manufacture - String
needs_serial_number - Boolean
dropship - Boolean
barcode - String
customs_description - String
ignore_on_customs - Boolean
ignore_on_invoice - Boolean
tags - [String] Fully replaces existen tags with the ones provided
vendors - [UpdateProductVendorInput]
final_sale - Boolean
virtual - Boolean
needs_lot_tracking - Boolean
images - [UpdateProductImageInput]
cases - [UpdateProductCaseInput]
packer_note - String
vendor_part_number - String
consumer_package_code - String
buyer_part_number - String
buyer_style_number - String
Example
{
  "customer_account_id": "xyz789",
  "sku": "abc123",
  "name": "xyz789",
  "dimensions": DimensionsInput,
  "tariff_code": "xyz789",
  "product_note": "xyz789",
  "country_of_manufacture": "abc123",
  "needs_serial_number": false,
  "dropship": true,
  "barcode": "xyz789",
  "customs_description": "xyz789",
  "ignore_on_customs": true,
  "ignore_on_invoice": false,
  "tags": ["xyz789"],
  "vendors": [UpdateProductVendorInput],
  "final_sale": true,
  "virtual": true,
  "needs_lot_tracking": false,
  "images": [UpdateProductImageInput],
  "cases": [UpdateProductCaseInput],
  "packer_note": "abc123",
  "vendor_part_number": "abc123",
  "consumer_package_code": "xyz789",
  "buyer_part_number": "abc123",
  "buyer_style_number": "abc123"
}

UpdateProductVendorInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
vendor_id - String!
vendor_sku - String
price - String
Example
{
  "customer_account_id": "abc123",
  "vendor_id": "abc123",
  "vendor_sku": "xyz789",
  "price": "xyz789"
}

UpdatePurchaseOrderInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
po_id - String!
packing_note - String
po_note - String
description - String
partner_order_number - String
discount - String
tax - String
line_items - [UpdatePurchaseOrderLineItemInput]
shipping_method - String
shipping_carrier - String
shipping_name - String
shipping_price - String
tracking_number - String
pdf - String
payment_method - String
payment_due_by - String
payment_note - String
po_date - ISODateTime
clear_po_date - Boolean
Example
{
  "customer_account_id": "abc123",
  "po_id": "xyz789",
  "packing_note": "abc123",
  "po_note": "xyz789",
  "description": "xyz789",
  "partner_order_number": "abc123",
  "discount": "xyz789",
  "tax": "abc123",
  "line_items": [UpdatePurchaseOrderLineItemInput],
  "shipping_method": "abc123",
  "shipping_carrier": "xyz789",
  "shipping_name": "xyz789",
  "shipping_price": "xyz789",
  "tracking_number": "xyz789",
  "pdf": "xyz789",
  "payment_method": "abc123",
  "payment_due_by": "xyz789",
  "payment_note": "abc123",
  "po_date": ISODateTime,
  "clear_po_date": true
}

UpdatePurchaseOrderLineItemInput

Fields
Input Field Description
sku - String!
quantity - Int
quantity_received - Int
quantity_rejected - Int
sell_ahead - Int
price - String
note - String
Example
{
  "sku": "abc123",
  "quantity": 987,
  "quantity_received": 123,
  "quantity_rejected": 123,
  "sell_ahead": 123,
  "price": "xyz789",
  "note": "xyz789"
}

UpdatePurchaseOrderOutput

Fields
Field Name Description
request_id - String
complexity - Int
purchase_order - PurchaseOrder
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "purchase_order": PurchaseOrder
}

UpdateReturnStatusInput

Fields
Input Field Description
return_id - String!
status - String!
Example
{
  "return_id": "abc123",
  "status": "xyz789"
}

UpdateReturnStatusOutput

Fields
Field Name Description
request_id - String
complexity - Int
return - Return
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "return": Return
}

UpdateTagsInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
order_id - String! The id of the order you want to modify
tags - [String]
Example
{
  "customer_account_id": "xyz789",
  "order_id": "abc123",
  "tags": ["xyz789"]
}

UpdateWarehouseProductInput

Fields
Input Field Description
customer_account_id - String Use this when you are a 3PL acting on behalf of one of your customers
sku - String!
warehouse_id - String!
on_hand - Int
price - Decimal
value - String
value_currency - String
inventory_bin - String
inventory_overstock_bin - String
reserve_inventory - Int
replenishment_level - Int
reorder_amount - Int
reorder_level - Int
customs_value - Decimal
active - Boolean
replenishment_max_level - Int
replenishment_increment - Int
Example
{
  "customer_account_id": "xyz789",
  "sku": "abc123",
  "warehouse_id": "abc123",
  "on_hand": 987,
  "price": Decimal,
  "value": "abc123",
  "value_currency": "xyz789",
  "inventory_bin": "abc123",
  "inventory_overstock_bin": "xyz789",
  "reserve_inventory": 123,
  "replenishment_level": 987,
  "reorder_amount": 123,
  "reorder_level": 123,
  "customs_value": Decimal,
  "active": false,
  "replenishment_max_level": 123,
  "replenishment_increment": 987
}

UpdateWholesaleLineItemInput

Fields
Input Field Description
wholesale_line_item_id - String!
unit_of_measure - String
Example
{
  "wholesale_line_item_id": "xyz789",
  "unit_of_measure": "abc123"
}

UpdateWholesaleOrderInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
staging_location_id - Int
pickup_date - ISODateTime
preparation_date - ISODateTime
order_type - String
gs1_labels_required - Boolean
trading_partner_id - String
trading_partner_name - String
store_location_number - String
distribution_center - String
vendor - String
vendor_id - String
requested_delivery_date - ISODateTime
ship_not_before_date - ISODateTime
ship_no_later_than_date - ISODateTime
depositor_order_number - String
department - String
division - String
service_level - String
internal_supplier_number - String
terms_of_sale - String
retailer_notes - String
quote_number - String
sales_requirement_code - String
reference_fields - JSONObjectScalar
wholesale_shipping_details - WholesaleShippingDetailsInput
wholesale_line_items - [UpdateWholesaleLineItemInput]
shipping_option - WholesaleShippingOptions
Example
{
  "order_id": "abc123",
  "staging_location_id": 123,
  "pickup_date": ISODateTime,
  "preparation_date": ISODateTime,
  "order_type": "abc123",
  "gs1_labels_required": true,
  "trading_partner_id": "xyz789",
  "trading_partner_name": "abc123",
  "store_location_number": "abc123",
  "distribution_center": "abc123",
  "vendor": "abc123",
  "vendor_id": "abc123",
  "requested_delivery_date": ISODateTime,
  "ship_not_before_date": ISODateTime,
  "ship_no_later_than_date": ISODateTime,
  "depositor_order_number": "xyz789",
  "department": "xyz789",
  "division": "xyz789",
  "service_level": "abc123",
  "internal_supplier_number": "abc123",
  "terms_of_sale": "abc123",
  "retailer_notes": "xyz789",
  "quote_number": "abc123",
  "sales_requirement_code": "xyz789",
  "reference_fields": JSONObjectScalar,
  "wholesale_shipping_details": WholesaleShippingDetailsInput,
  "wholesale_line_items": [UpdateWholesaleLineItemInput],
  "shipping_option": "COURIER"
}

UpdateWholesaleOrderInputBase

Description

Base class of all wholesale order update inputs to allow users to reference the order by its id or its associated order_id.

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
Example
{"order_id": "abc123"}

UpdateWholesaleOrderPickingFlowInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
picking_flow - WholesaleOrderPickingFlow
Example
{
  "order_id": "abc123",
  "picking_flow": "DESKTOP"
}

UpdateWholesaleOrderStagingLocationInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
staging_location_id - String!
Example
{
  "order_id": "abc123",
  "staging_location_id": "xyz789"
}

UpsType

Fields
Field Name Description
id - ID! The ID of the object
ups_username - String
ups_pass_phrase - String
account_id - ID!
shipper_number - String
warehouse - String!
updated_at - DateTime!
created_at - DateTime!
profile - String!
pickup_time - String!
enable_surepost - Int!
have_ups_email - Int!
shipper_pays_duties - Int!
cost_center - String
force_alcohol - Int
shipment_description - String!
ups - Int
warehouse_id - ID!
backup_phone - Int!
third_party_shipper_number - String
third_party_shipper_zip - String
third_party_shipper_country - String
third_party_billing_duties_shipper_number - String
third_party_billing_duties_shipper_zip - String
third_party_billing_duties_shipper_country - String
auto_signature_mail_innovations - Int!
package_id - String
usps_endorsement_id - Int
tpfc_negotiated_rates_indicator - Int!
carbon_neutral - Int!
use_shiphero_secret - Boolean!
account - AccountType
sf_warehouse - FulfillmentWarehouseType
connected_carrier - ConnectedCarrierType
row_id - BigInt
Example
{
  "id": 4,
  "ups_username": "abc123",
  "ups_pass_phrase": "abc123",
  "account_id": 4,
  "shipper_number": "xyz789",
  "warehouse": "xyz789",
  "updated_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "profile": "abc123",
  "pickup_time": "xyz789",
  "enable_surepost": 987,
  "have_ups_email": 987,
  "shipper_pays_duties": 987,
  "cost_center": "abc123",
  "force_alcohol": 123,
  "shipment_description": "xyz789",
  "ups": 123,
  "warehouse_id": "4",
  "backup_phone": 123,
  "third_party_shipper_number": "xyz789",
  "third_party_shipper_zip": "abc123",
  "third_party_shipper_country": "abc123",
  "third_party_billing_duties_shipper_number": "xyz789",
  "third_party_billing_duties_shipper_zip": "abc123",
  "third_party_billing_duties_shipper_country": "abc123",
  "auto_signature_mail_innovations": 123,
  "package_id": "abc123",
  "usps_endorsement_id": 987,
  "tpfc_negotiated_rates_indicator": 123,
  "carbon_neutral": 987,
  "use_shiphero_secret": true,
  "account": AccountType,
  "sf_warehouse": FulfillmentWarehouseType,
  "connected_carrier": ConnectedCarrierType,
  "row_id": {}
}

User

Fields
Field Name Description
id - String
legacy_id - Int
email - String
first_name - String
last_name - String
account - Account
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "email": "abc123",
  "first_name": "abc123",
  "last_name": "abc123",
  "account": Account
}

UserError

Description

Base Interface all user-facing GraphQL errors should implement. This is used to provide a common way to handle errors in the frontend.

A possible scenario would be having a create_user mutation that returns different types of error if the email is already in use, the password is too short, etc.

It could be declared like this:

class UsernameTakenError(ObjectType):
                              class Meta:
                                  interfaces = (UserError, )
                          
                              suggestedUsernames = List(String)
                          
                          
                          class PasswordTooShortError(ObjectType):
                              class Meta:
                                  interfaces = (UserError, )
                          
                          class UserCreationError(Union):
                              class Meta:
                                  types = (UsernameTakenError, PasswordTooShortError)
                          
                          class CreateUser(Mutation):
                              user = Field(User)
                              errors = List(UserCreationError)
                          

And it would be queried like this:

mutation {
    createUser(email: foo@bar.com, password: "123") {
        user {
            id
        }
        errors {
            __typename
            ... on UserError {
                message
            }
            ... on UsernameTakenError {
                message
                suggestedUsername
            }
            ... on PasswordTooShortError {
                message
            }
        }
    }
}

If new errors are added, and they implement the UserError interface, the frontend will be able to handle at least the message field without any changes.

based on: https://productionreadygraphql.com/2020-08-01-guide-to-graphql-errors

Fields
Field Name Description
message - String!
Possible Types
UserError Types

MissingAllocationType

AllocationErrorType

Example
{"message": "abc123"}

UserNoteInput

Fields
Input Field Description
source - String
message - String
Example
{
  "source": "abc123",
  "message": "xyz789"
}

UserQuota

Fields
Field Name Description
is_expired - Boolean There's no time window anymore, this will be always False
expiration_date - ISODateTime There's no time window anymore, this will be always empty
time_remaining - String There's no time window anymore, this will be always empty
credits_remaining - Int
max_available - Int
increment_rate - Int
Example
{
  "is_expired": false,
  "expiration_date": ISODateTime,
  "time_remaining": "abc123",
  "credits_remaining": 123,
  "max_available": 123,
  "increment_rate": 987
}

UserStoresType

Fields
Field Name Description
id - ID!
user_id - Int!
account_id - Int!
shop_name - String!
created_at - DateTime!
updated_at - DateTime
user - Packer
row_id - BigInt
Example
{
  "id": 4,
  "user_id": 987,
  "account_id": 123,
  "shop_name": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "user": Packer,
  "row_id": {}
}

UserStoresTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [UserStoresTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [UserStoresTypeCountableEdge],
  "total_count": 987
}

UserStoresTypeCountableEdge

Description

A Relay edge containing a UserStoresTypeCountable and its cursor.

Fields
Field Name Description
node - UserStoresType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": UserStoresType,
  "cursor": "abc123"
}

Vendor

Fields
Field Name Description
id - String
legacy_id - Int
name - String
email - String
account_number - String
account_id - String
address - Address
currency - String
internal_note - String
default_po_note - String
logo - String
partner_vendor_id - Int
created_at - ISODateTime
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "name": "abc123",
  "email": "abc123",
  "account_number": "xyz789",
  "account_id": "xyz789",
  "address": Address,
  "currency": "xyz789",
  "internal_note": "abc123",
  "default_po_note": "abc123",
  "logo": "abc123",
  "partner_vendor_id": 987,
  "created_at": ISODateTime
}

VendorConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [VendorEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [VendorEdge]
}

VendorEdge

Description

A Relay edge containing a Vendor and its cursor.

Fields
Field Name Description
node - Vendor The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Vendor,
  "cursor": "xyz789"
}

VendorsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - VendorConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": VendorConnection
}

Warehouse

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
identifier - String Name of the warehouse
dynamic_slotting - Boolean
invoice_email - String
phone_number - String
profile - String
address - Address
return_address - Address
company_name - String
company_alias - String
products - ProductConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "xyz789",
  "legacy_id": 987,
  "account_id": "xyz789",
  "identifier": "abc123",
  "dynamic_slotting": false,
  "invoice_email": "xyz789",
  "phone_number": "xyz789",
  "profile": "abc123",
  "address": Address,
  "return_address": Address,
  "company_name": "abc123",
  "company_alias": "xyz789",
  "products": ProductConnection
}

WarehouseNonSellableInventoryType

Fields
Field Name Description
warehouse_id - Int!
details - NonSellableInventoryDetailsType!
Example
{
  "warehouse_id": 123,
  "details": NonSellableInventoryDetailsType
}

WarehouseProduct

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
sku - String Stock Keeping Unit
warehouse_id - String
warehouse_identifier - String The warehouse identifier, usually Primary/Secondary
price - String Price of the product
value - String Price paid for the product
value_currency - String
on_hand - Int The total count of a SKU physically in the warehouse. (Note, Available is the count indicated in your sales channels)
inventory_bin - String The name of the bin where the product is stored
inventory_overstock_bin - String The name of the bin where overstock is stored
reserve_inventory - Int Count of a SKU that is not to be sold in your sales channel.For example, if you’re running a flash sale and want to hold some stock for returns or exchanges, you would enter your full inventory of say 100 units as the On Hand and a Reserve of 5 units. We’ll then tell the platform that you have 95 available for sale (On Hand minus Reserve). The Available count will remain 100
replenishment_level - Int Available only for accounts that use Dynamic Slotting and used specifically for replenishment reports. SKUs will appear on the replenishment report if inventory allocated and not enough in pickable bins, or if the pickable bin inventory is less than the replenishment level
reorder_amount - Int The number that should be reordered when a SKU reaches the Reorder Level
reorder_level - Int The Available value a SKU must reach to trigger a Reorder. (See Reorder Amount). Setting this to 0 will prevent a SKU from automatically being added to a PO
backorder - Int Count of how many units you owe to customers for open orders and don’t have stock for in the warehouse
allocated - Int Count of how many units you have in stock and owe to customers for open orders
available - Int The number of available stock for any given SKU that is pushed to any connected sales channel. This is On Hand minus any allocations to open orders.
non_sellable_quantity - Int Count of non sellable units of a SKU in the warehouse.
in_tote - Int Total number of units picked in totes
custom - Boolean
customs_value - String
created_at - ISODateTime
updated_at - ISODateTime
sell_ahead - Int
active - Boolean
warehouse - Warehouse
product - Product
inbounds - WarehouseProductInboundConnection
Arguments
status - String
created_from - ISODateTime
created_to - ISODateTime
sort - String
before - String
after - String
first - Int
last - Int
locations - ItemLocationConnection
Arguments
customer_account_id - String
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "xyz789",
  "sku": "abc123",
  "warehouse_id": "abc123",
  "warehouse_identifier": "xyz789",
  "price": "abc123",
  "value": "abc123",
  "value_currency": "abc123",
  "on_hand": 123,
  "inventory_bin": "xyz789",
  "inventory_overstock_bin": "xyz789",
  "reserve_inventory": 987,
  "replenishment_level": 123,
  "reorder_amount": 123,
  "reorder_level": 123,
  "backorder": 123,
  "allocated": 123,
  "available": 987,
  "non_sellable_quantity": 123,
  "in_tote": 987,
  "custom": true,
  "customs_value": "xyz789",
  "created_at": ISODateTime,
  "updated_at": ISODateTime,
  "sell_ahead": 987,
  "active": false,
  "warehouse": Warehouse,
  "product": Product,
  "inbounds": WarehouseProductInboundConnection,
  "locations": ItemLocationConnection
}

WarehouseProductConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WarehouseProductEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [WarehouseProductEdge]
}

WarehouseProductEdge

Description

A Relay edge containing a WarehouseProduct and its cursor.

Fields
Field Name Description
node - WarehouseProduct The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WarehouseProduct,
  "cursor": "xyz789"
}

WarehouseProductInbound

Fields
Field Name Description
id - String
legacy_id - Int
sku - String
warehouse_id - String
po_id - String
purchase_order_line_item_id - String
po_date - ISODateTime
quantity - Int
quantity_received - Int
quantity_rejected - Int
sell_ahead - Int
status - String
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "sku": "abc123",
  "warehouse_id": "abc123",
  "po_id": "abc123",
  "purchase_order_line_item_id": "xyz789",
  "po_date": ISODateTime,
  "quantity": 987,
  "quantity_received": 987,
  "quantity_rejected": 987,
  "sell_ahead": 123,
  "status": "abc123"
}

WarehouseProductInboundConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WarehouseProductInboundEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [WarehouseProductInboundEdge]
}

WarehouseProductInboundEdge

Description

A Relay edge containing a WarehouseProductInbound and its cursor.

Fields
Field Name Description
node - WarehouseProductInbound The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WarehouseProductInbound,
  "cursor": "abc123"
}

WarehouseProductMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
warehouse_product - WarehouseProduct
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "warehouse_product": WarehouseProduct
}

WarehouseProductsQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WarehouseProductConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": WarehouseProductConnection
}

WarehouseToCustomersLabelChargeTrigger

Description

An enumeration.

Values
Enum Value Description

CHARGE_ESTIMATE_AND_RECONCILE

CHARGE_FULL_LABEL_COST_ON_BILL_UPLOAD

Example
"CHARGE_ESTIMATE_AND_RECONCILE"

WarehouseType

Fields
Field Name Description
id - ID! The ID of the object
account_id - ID!
from_name - String
from_address1 - String
from_address2 - String
from_city - String
from_state - String
from_zip - String
return_name - String
return_address1 - String
return_address2 - String
return_city - String
return_state - String
return_zip - String
invoice_email - String
phone_number - String
profile - String!
invoice_logo - String
invoice_note - String!
label_printer_type - String!
invoice_printer_type - String!
label_printer_id - String
invoice_printer_id - String
airprint - Boolean
from_country - String
return_country - String
barcode_printer_type - String
barcode_printer_id - String
ses_key - String
ses_secret - String
show_phone_on_invoice - Boolean!
identifier - String!
order_prefix - String!
remote_warehouse_id - Int
dynamic_slotting - Boolean!
dont_include_in_available - Boolean!
allocate_priority - Int!
dont_allocate - Boolean!
ses_email_verified - Boolean!
language - String!
invoice_footer_tagline - String
carrier_reference_1_prefix - String
carrier_reference_1 - Int!
carrier_reference_2_prefix - String
carrier_reference_2 - Int!
carrier_reference_3_prefix - String
carrier_reference_3 - Int!
customs_invoice_signature - String
inactive - Boolean!
timezone - String
only_pick_late_orders - Boolean!
allow_shipping_plans - Boolean!
account - AccountType
sf_warehouse - FulfillmentWarehouseType
business_relationships - BusinessRelationshipSchemaCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
products - ProductTypeCountableConnection
Arguments
before - String
after - String
first - Int
last - Int
row_id - Int
Example
{
  "id": 4,
  "account_id": "4",
  "from_name": "abc123",
  "from_address1": "abc123",
  "from_address2": "abc123",
  "from_city": "xyz789",
  "from_state": "abc123",
  "from_zip": "abc123",
  "return_name": "abc123",
  "return_address1": "abc123",
  "return_address2": "xyz789",
  "return_city": "xyz789",
  "return_state": "abc123",
  "return_zip": "abc123",
  "invoice_email": "xyz789",
  "phone_number": "abc123",
  "profile": "xyz789",
  "invoice_logo": "abc123",
  "invoice_note": "xyz789",
  "label_printer_type": "abc123",
  "invoice_printer_type": "abc123",
  "label_printer_id": "abc123",
  "invoice_printer_id": "xyz789",
  "airprint": false,
  "from_country": "abc123",
  "return_country": "abc123",
  "barcode_printer_type": "xyz789",
  "barcode_printer_id": "xyz789",
  "ses_key": "abc123",
  "ses_secret": "xyz789",
  "show_phone_on_invoice": false,
  "identifier": "abc123",
  "order_prefix": "abc123",
  "remote_warehouse_id": 987,
  "dynamic_slotting": false,
  "dont_include_in_available": true,
  "allocate_priority": 987,
  "dont_allocate": false,
  "ses_email_verified": true,
  "language": "abc123",
  "invoice_footer_tagline": "xyz789",
  "carrier_reference_1_prefix": "abc123",
  "carrier_reference_1": 123,
  "carrier_reference_2_prefix": "xyz789",
  "carrier_reference_2": 987,
  "carrier_reference_3_prefix": "xyz789",
  "carrier_reference_3": 987,
  "customs_invoice_signature": "xyz789",
  "inactive": false,
  "timezone": "xyz789",
  "only_pick_late_orders": false,
  "allow_shipping_plans": false,
  "account": AccountType,
  "sf_warehouse": FulfillmentWarehouseType,
  "business_relationships": BusinessRelationshipSchemaCountableConnection,
  "products": ProductTypeCountableConnection,
  "row_id": 987
}

WarehouseTypeCountableConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WarehouseTypeCountableEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [WarehouseTypeCountableEdge],
  "total_count": 987
}

WarehouseTypeCountableEdge

Description

A Relay edge containing a WarehouseTypeCountable and its cursor.

Fields
Field Name Description
node - WarehouseType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WarehouseType,
  "cursor": "abc123"
}

Webhook

Fields
Field Name Description
id - String
legacy_id - Int
account_id - String
shop_name - String
name - String
url - String
source - String
shared_signature_secret - String This will only be returned once when the webhook is created.
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": "xyz789",
  "shop_name": "xyz789",
  "name": "abc123",
  "url": "abc123",
  "source": "abc123",
  "shared_signature_secret": "xyz789"
}

WebhookConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WebhookEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [WebhookEdge]
}

WebhookEdge

Description

A Relay edge containing a Webhook and its cursor.

Fields
Field Name Description
node - Webhook The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": Webhook,
  "cursor": "xyz789"
}

WebhooksQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WebhookConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": WebhookConnection
}

WholesaleFulfillmentFlowOptions

Description

Allowed label formats

Values
Enum Value Description

B2B_FULFILLMENT

WHOLESALE_PICKING

Example
"B2B_FULFILLMENT"

WholesaleGenerateLabelInput

Fields
Input Field Description
pending_shipment_id - Int!
shipping_carrier - String
shipping_method - String
generate_carton_labels - Boolean
Example
{
  "pending_shipment_id": 987,
  "shipping_carrier": "abc123",
  "shipping_method": "abc123",
  "generate_carton_labels": true
}

WholesaleGenerateLabelOutput

Fields
Field Name Description
request_id - String
complexity - Int
label_batches - [LabelBatchItemType]
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "label_batches": [LabelBatchItemType]
}

WholesaleLineItem

Fields
Field Name Description
id - String
legacy_id - Int
line_item - LineItem
unit_of_measure - String
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "line_item": LineItem,
  "unit_of_measure": "xyz789"
}

WholesaleLineItemsQuerySpecConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WholesaleLineItemsQuerySpecEdge]! Contains the nodes in this connection.
total_count - Int
Example
{
  "pageInfo": PageInfo,
  "edges": [WholesaleLineItemsQuerySpecEdge],
  "total_count": 987
}

WholesaleLineItemsQuerySpecEdge

Description

A Relay edge containing a WholesaleLineItemsQuerySpec and its cursor.

Fields
Field Name Description
node - WholesaleLineItem The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WholesaleLineItem,
  "cursor": "xyz789"
}

WholesaleLocationType

Description

An enumeration.

Values
Enum Value Description

PICKABLE

NON_PICKABLE

SELLABLE

Example
"PICKABLE"

WholesaleOrder

Fields
Field Name Description
id - String
legacy_id - Int
version - WholesaleOrderVersion
fulfillment_flow - WholesaleFulfillmentFlowOptions
shipping_option - WholesaleShippingOptions
staging_location_id - Int
picking_flow - WholesaleOrderPickingFlow
outbound_progress - WholesaleOrderOutboundProgress
pickup_date - ISODateTime
status - WholesaleOrderStatus
status_message - String
preparation_date - ISODateTime
packing_layout - GenericScalar We will return this field only after the packing layout is completely defined, which happens once the order is in 'packed' status or has moved further along in the processing line.
order_type - String
gs1_labels_required - Boolean
trading_partner_id - String
trading_partner_name - String
store_location_number - String
distribution_center - String
vendor - String
vendor_id - String
requested_delivery_date - ISODateTime
ship_not_before_date - ISODateTime
ship_no_later_than_date - ISODateTime
depositor_order_number - String
department - String
division - String
service_level - String
internal_supplier_number - String
terms_of_sale - String
retailer_notes - String
quote_number - String
sales_requirement_code - String
reference_fields - JSONObjectScalar
order_id - String The id of the order associated with the wholesale order
order - Order
wholesale_shipping_details - [WholesaleShippingDetails]
wholesale_line_items - WholesaleLineItemsQuerySpecConnection
Arguments
sort - String
search - GenericScalar
before - String
after - String
first - Int
last - Int
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "version": "LEGACY",
  "fulfillment_flow": "B2B_FULFILLMENT",
  "shipping_option": "COURIER",
  "staging_location_id": 123,
  "picking_flow": "DESKTOP",
  "outbound_progress": "AWAITING_SCHEDULE",
  "pickup_date": ISODateTime,
  "status": "pending",
  "status_message": "xyz789",
  "preparation_date": ISODateTime,
  "packing_layout": GenericScalar,
  "order_type": "abc123",
  "gs1_labels_required": true,
  "trading_partner_id": "xyz789",
  "trading_partner_name": "abc123",
  "store_location_number": "abc123",
  "distribution_center": "abc123",
  "vendor": "abc123",
  "vendor_id": "xyz789",
  "requested_delivery_date": ISODateTime,
  "ship_not_before_date": ISODateTime,
  "ship_no_later_than_date": ISODateTime,
  "depositor_order_number": "abc123",
  "department": "abc123",
  "division": "abc123",
  "service_level": "xyz789",
  "internal_supplier_number": "xyz789",
  "terms_of_sale": "xyz789",
  "retailer_notes": "abc123",
  "quote_number": "abc123",
  "sales_requirement_code": "abc123",
  "reference_fields": JSONObjectScalar,
  "order_id": "xyz789",
  "order": Order,
  "wholesale_shipping_details": [
    WholesaleShippingDetails
  ],
  "wholesale_line_items": WholesaleLineItemsQuerySpecConnection
}

WholesaleOrderAutoAllocateForPickingMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
line_items - [WholesaleOrderAutoAllocateForPickingType]
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "line_items": [WholesaleOrderAutoAllocateForPickingType]
}

WholesaleOrderAutoAllocateForPickingType

Fields
Field Name Description
id - String
legacy_id - Int
line_item_id - ID
quantity - Int
product - Product
allocations - [AllocationType]
Example
{
  "id": "abc123",
  "legacy_id": 123,
  "line_item_id": 4,
  "quantity": 123,
  "product": Product,
  "allocations": [AllocatedAllocationType]
}

WholesaleOrderAutoAllocateInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
prioritized_location_ids - [String!]
sort_lots - WholesaleSortBinByLotsDate
location_type - WholesaleLocationType
sort_stock - WholesaleSortBinByStock
prioritize_largest_uom - Boolean
lot_expires_in_days - Int
Example
{
  "order_id": "xyz789",
  "prioritized_location_ids": ["xyz789"],
  "sort_lots": "RECEIVING_FIFO",
  "location_type": "PICKABLE",
  "sort_stock": "LEAST",
  "prioritize_largest_uom": true,
  "lot_expires_in_days": 123
}

WholesaleOrderConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WholesaleOrderEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [WholesaleOrderEdge]
}

WholesaleOrderEdge

Description

A Relay edge containing a WholesaleOrder and its cursor.

Fields
Field Name Description
node - WholesaleOrder The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WholesaleOrder,
  "cursor": "abc123"
}

WholesaleOrderEditOutboundScheduleInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
outbound_progress - WholesaleOrderOutboundProgress
pickup_date - Date
Example
{
  "order_id": "xyz789",
  "outbound_progress": "AWAITING_SCHEDULE",
  "pickup_date": "2007-12-03"
}

WholesaleOrderEditOutboundScheduleOutput

Fields
Field Name Description
request_id - String
complexity - Int
ok - Boolean! Defines the success of the operation
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "ok": true
}

WholesaleOrderGenerateBOLInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
Example
{"order_id": "abc123"}

WholesaleOrderGenerateBOLOutput

Fields
Field Name Description
request_id - String
complexity - Int
pdf_url - String! URL of the BOL pdf document
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "pdf_url": "xyz789"
}

WholesaleOrderMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
wholesale_order - WholesaleOrder
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "wholesale_order": WholesaleOrder
}

WholesaleOrderOutboundProgress

Description

An enumeration.

Values
Enum Value Description

AWAITING_SCHEDULE

READY_TO_PICKUP

COMPLETE

Example
"AWAITING_SCHEDULE"

WholesaleOrderPickingFlow

Description

An enumeration.

Values
Enum Value Description

DESKTOP

MOBILE

MOBILE_ONLY_PICKING

Example
"DESKTOP"

WholesaleOrderPrintManualPickingSheetInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
Example
{"order_id": "abc123"}

WholesaleOrderPrintManualPickingSheetOutput

Fields
Field Name Description
request_id - String
complexity - Int
picking_sheet_url - String! URL of the picking sheet
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "picking_sheet_url": "abc123"
}

WholesaleOrderPrintPackingListInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
skip_printing - Boolean
Example
{
  "order_id": "abc123",
  "skip_printing": false
}

WholesaleOrderPrintPackingListOutput

Fields
Field Name Description
request_id - String
complexity - Int
packing_list_url - String! URL of the packing list
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "packing_list_url": "xyz789"
}

WholesaleOrderPrintPackingSlipInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
Example
{"order_id": "abc123"}

WholesaleOrderPrintPackingSlipOutput

Fields
Field Name Description
request_id - String
complexity - Int
pdf_url - String! URL of the Packing Slip pdf document
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "pdf_url": "abc123"
}

WholesaleOrderQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WholesaleOrder
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": WholesaleOrder
}

WholesaleOrderSetReadyToPickInput

Fields
Input Field Description
order_id - String! The id of the order associated with the wholesale order you want to modify
Example
{"order_id": "xyz789"}

WholesaleOrderSetReadyToPickOutput

Fields
Field Name Description
request_id - String
complexity - Int
ok - Boolean! Defines the success of the operation
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "ok": false
}

WholesaleOrderStatus

Description
Overall status for the entire label generation workflow of an order accross all batches
Public usage. Not to be confused with fulfillment status. The reason why this exists is
due to reprocessing, there could be multiple print batches per order.
Values
Enum Value Description

pending

processing

ready_to_print

printed

error

voided

picking

packing

hospital

default

ready_to_pick

cancelled

packed

generating_labels

voiding_labels

label_error

warehouse_completed

fulfilled

canceled

Example
"pending"

WholesaleOrderVersion

Description
The version of the order. This is used to determine which version of the wholesale view to
                          display these orders in, amongst other things.
                          
                          The versioning is based on multiples of ten for the major and the integers between them as minors:
                          11 -> 1  1
                                |  |__> Minor, in this case, Downgrade from EARTH to LEGACY
                                |_____> Major, in this case, LEGACY
                          
Values
Enum Value Description

LEGACY

LEGACY_DOWNGRADED

EARTH

DEFAULT

Example
"LEGACY"

WholesaleOrdersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WholesaleOrderConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "abc123",
  "complexity": 123,
  "data": WholesaleOrderConnection
}

WholesaleShippingDetails

Fields
Field Name Description
id - String
legacy_id - Int
account_number - String Account number
scac - String SCAC code for the shipping details
carrier - String Shipping carrier
shipping_method - String Shipping method
bill_of_lading - String Bill of lading number
cost - Decimal Shipping cost
trailer_number - String Trailer number
pro_number - String PRO number
gs1_company_prefix - String Company prefix for GS1 labels
courier - String Name of the courier
Example
{
  "id": "xyz789",
  "legacy_id": 123,
  "account_number": "xyz789",
  "scac": "abc123",
  "carrier": "abc123",
  "shipping_method": "abc123",
  "bill_of_lading": "abc123",
  "cost": Decimal,
  "trailer_number": "abc123",
  "pro_number": "abc123",
  "gs1_company_prefix": "xyz789",
  "courier": "abc123"
}

WholesaleShippingDetailsInput

Fields
Input Field Description
scac - String SCAC code for the shipping details
freighter - String Freighter information
bill_of_lading - String Bill of lading number
cost - Float Shipping cost
trailer_number - String Trailer number
pro_number - String PRO number
gs1_company_prefix - String Company prefix for GS1 labels
carrier - String Shipping carrier (overrides order.shipping_carrier)
shipping_method - String Shipping method (overrides order.shipping_method)
Example
{
  "scac": "abc123",
  "freighter": "xyz789",
  "bill_of_lading": "abc123",
  "cost": 123.45,
  "trailer_number": "abc123",
  "pro_number": "xyz789",
  "gs1_company_prefix": "xyz789",
  "carrier": "xyz789",
  "shipping_method": "abc123"
}

WholesaleShippingOptions

Description

An enumeration.

Values
Enum Value Description

COURIER

FREIGHT

Example
"COURIER"

WholesaleSortBinByLotsDate

Description

An enumeration.

Values
Enum Value Description

RECEIVING_FIFO

RECEIVING_LIFO

EXPIRATION_FEFO

EXPIRATION_LEFO

Example
"RECEIVING_FIFO"

WholesaleSortBinByStock

Description

An enumeration.

Values
Enum Value Description

LEAST

MOST

Example
"LEAST"

WholesaleStagingLocationCandidatesQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - LocationConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "data": LocationConnection
}

WorkOrderAssemblyComponentType

Fields
Field Name Description
sku - String
account_id - ID
to_pick_quantity - Int
picked_quantity - Int
pick_location_id - ID
Example
{
  "sku": "abc123",
  "account_id": 4,
  "to_pick_quantity": 123,
  "picked_quantity": 987,
  "pick_location_id": "4"
}

WorkOrderAssemblySkuType

Fields
Field Name Description
to_create_quantity - Int
created_quantity - Int
receiving_location - Location
staging_location - Location
account_id - ID
sku - String
created_at - DateTime
updated_at - DateTime
components - [WorkOrderAssemblyComponentType]
items_to_pick - Int
items_per_kit - Int
lot_name - String
lot_expiration_date - Date
Example
{
  "to_create_quantity": 987,
  "created_quantity": 123,
  "receiving_location": Location,
  "staging_location": Location,
  "account_id": 4,
  "sku": "abc123",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "components": [WorkOrderAssemblyComponentType],
  "items_to_pick": 123,
  "items_per_kit": 987,
  "lot_name": "xyz789",
  "lot_expiration_date": "2007-12-03"
}

WorkOrderAssignPickLocationsOutput

Fields
Field Name Description
request_id - String
complexity - Int
work_order - WorkOrderIdentifiableType
assigned_component_skus - [String]
unassigned_component_skus - [String]
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "work_order": WorkOrderIdentifiableType,
  "assigned_component_skus": ["abc123"],
  "unassigned_component_skus": ["xyz789"]
}

WorkOrderAttachmentType

Fields
Input Field Description
url - String!
filename - String!
Example
{
  "url": "xyz789",
  "filename": "xyz789"
}

WorkOrderIdentifiableType

Fields
Field Name Description
id - String
legacy_id - Int
account_id - ID
warehouse_id - ID
name - String
configuration - String
type - WorkOrderType
scheduled_date - DateTime
requested_date - DateTime
started_at - DateTime
ended_at - DateTime
ready_to_pick_at - DateTime
assembly_in_progress_at - DateTime
completed_at - DateTime
created_at - DateTime
updated_at - DateTime
status - WorkOrderStatus
has_special_project - Boolean
priority - WorkOrderPriority
notes - [WorkOrderNotesType]
assembly_sku - WorkOrderAssemblySkuType
Example
{
  "id": "abc123",
  "legacy_id": 987,
  "account_id": 4,
  "warehouse_id": "4",
  "name": "xyz789",
  "configuration": "abc123",
  "type": "ASSEMBLY",
  "scheduled_date": "2007-12-03T10:15:30Z",
  "requested_date": "2007-12-03T10:15:30Z",
  "started_at": "2007-12-03T10:15:30Z",
  "ended_at": "2007-12-03T10:15:30Z",
  "ready_to_pick_at": "2007-12-03T10:15:30Z",
  "assembly_in_progress_at": "2007-12-03T10:15:30Z",
  "completed_at": "2007-12-03T10:15:30Z",
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z",
  "status": "PENDING_APPROVAL",
  "has_special_project": false,
  "priority": "HIGH",
  "notes": [WorkOrderNotesType],
  "assembly_sku": WorkOrderAssemblySkuType
}

WorkOrderIdentifiableTypeConnection

Fields
Field Name Description
pageInfo - PageInfo! Pagination data for this connection.
edges - [WorkOrderIdentifiableTypeEdge]! Contains the nodes in this connection.
Example
{
  "pageInfo": PageInfo,
  "edges": [WorkOrderIdentifiableTypeEdge]
}

WorkOrderIdentifiableTypeEdge

Description

A Relay edge containing a WorkOrderIdentifiableType and its cursor.

Fields
Field Name Description
node - WorkOrderIdentifiableType The item at the end of the edge
cursor - String! A cursor for use in pagination
Example
{
  "node": WorkOrderIdentifiableType,
  "cursor": "abc123"
}

WorkOrderMutationOutput

Fields
Field Name Description
request_id - String
complexity - Int
work_order - WorkOrderIdentifiableType
Example
{
  "request_id": "xyz789",
  "complexity": 123,
  "work_order": WorkOrderIdentifiableType
}

WorkOrderNotesType

Fields
Field Name Description
note - String
type - WorkOrdersNoteType
account_id - ID
created_at - DateTime
updated_at - DateTime
Example
{
  "note": "abc123",
  "type": "NOTE",
  "account_id": 4,
  "created_at": "2007-12-03T10:15:30Z",
  "updated_at": "2007-12-03T10:15:30Z"
}

WorkOrderPriority

Description

An enumeration.

Values
Enum Value Description

HIGH

MEDIUM

LOW

Example
"HIGH"

WorkOrderQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WorkOrderIdentifiableType
Example
{
  "request_id": "abc123",
  "complexity": 987,
  "data": WorkOrderIdentifiableType
}

WorkOrderStatus

Description

An enumeration.

Values
Enum Value Description

PENDING_APPROVAL

IN_PROGRESS

READY_TO_PICK

ASSEMBLY_IN_PROGRESS

COMPLETED

CANCELED

CLOSED

Example
"PENDING_APPROVAL"

WorkOrderType

Description

An enumeration.

Values
Enum Value Description

ASSEMBLY

CUSTOM

Example
"ASSEMBLY"

WorkOrdersNoteType

Description

An enumeration.

Values
Enum Value Description

NOTE

PACKING_DETAILS

ASSEMBLY_DETAILS

INSTRUCTIONS

Example
"NOTE"

WorkOrdersQueryResult

Fields
Field Name Description
request_id - String
complexity - Int
data - WorkOrderIdentifiableTypeConnection
Arguments
sort - String
before - String
after - String
first - Int
last - Int
Example
{
  "request_id": "xyz789",
  "complexity": 987,
  "data": WorkOrderIdentifiableTypeConnection
}

ZoneInfoType

Fields
Field Name Description
id - Int
name - String
Example
{"id": 123, "name": "xyz789"}