inbound_shipments
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
customer_ids | [String] | No | ||
statuses | [String] | No | ||
warehouse_ids | [String] | No | ||
search_term | String | No | ||
dates_from | ISODateTime | No | ||
dates_to | ISODateTime | No | ||
estimated_truck_arrival_from | ISODateTime | No | ||
estimated_truck_arrival_to | ISODateTime | No | ||
status_updated_at_from | ISODateTime | No | ||
status_updated_at_to | ISODateTime | No | ||
require_fai | Boolean | No | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query inbound_shipments(
$customer_ids: [String],
$statuses: [String],
$warehouse_ids: [String],
$search_term: String,
$dates_from: ISODateTime,
$dates_to: ISODateTime,
$estimated_truck_arrival_from: ISODateTime,
$estimated_truck_arrival_to: ISODateTime,
$status_updated_at_from: ISODateTime,
$status_updated_at_to: ISODateTime,
$require_fai: Boolean,
$analyze: Boolean
) {
inbound_shipments(
customer_ids: $customer_ids,
statuses: $statuses,
warehouse_ids: $warehouse_ids,
search_term: $search_term,
dates_from: $dates_from,
dates_to: $dates_to,
estimated_truck_arrival_from: $estimated_truck_arrival_from,
estimated_truck_arrival_to: $estimated_truck_arrival_to,
status_updated_at_from: $status_updated_at_from,
status_updated_at_to: $status_updated_at_to,
require_fai: $require_fai,
analyze: $analyze
) {
request_id
complexity
data {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
warehouse_id
status
carrier
pro_number
bol_reference
bol_url
expected_dock
dock_used
container_number
notes
estimated_truck_arrival
truck_arrived_at
truck_unload_started_at
truck_unload_finished_at
truck_departure_at
booking_contact_email
booking_contact_name
booking_contact_number
container_size
load_type
shipment_type
number_carton
pallets_quantity
people_for_unload
people_for_receiving
vendor_id
created_at
scheduled_at
status_updated_at
warehouse {
id
legacy_id
account_id
identifier
dynamic_slotting
invoice_email
phone_number
profile
address {
name
address1
address2
city
state
country
zip
phone
}
return_address {
name
address1
address2
city
state
country
zip
phone
}
company_name
company_alias
active
products {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
name
sku
price
value
value_currency
barcode
country_of_manufacture
dimensions {
weight
height
width
length
}
tariff_code
kit
kit_build
no_air
final_sale
customs_value
customs_description
not_owned
dropship
needs_serial_number
thumbnail
large_thumbnail
created_at
updated_at
product_note
virtual
ignore_on_invoice
ignore_on_customs
active
needs_lot_tracking
packer_note
size
style
vendor_part_number
consumer_package_code
buyer_part_number
buyer_style_number
auto_pack
warehouse_products {
id
legacy_id
account_id
sku
warehouse_id
warehouse_identifier
price
value
value_currency
on_hand
inventory_bin
inventory_overstock_bin
reserve_inventory
replenishment_level
replenishment_max_level
replenishment_increment
reorder_amount
reorder_level
backorder
allocated
available
non_sellable_quantity
in_tote
custom
customs_value
created_at
updated_at
sell_ahead
active
warehouse {
...WarehouseFragment
}
product {
...ProductFragment
}
inbounds {
...WarehouseProductInboundConnectionFragment
}
locations {
...ItemLocationConnectionFragment
}
}
fba_inventory {
id
legacy_id
quantity
marketplace_id
merchant_id
}
images {
src
position
}
tags
vendors {
vendor_id
vendor_sku
price
}
components {
...ProductFragment
}
kit_components {
id
legacy_id
account_id
sku
quantity
}
cases {
id
legacy_id
case_barcode
case_quantity
}
}
cursor
}
}
}
purchase_orders {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
po_number
account_id
warehouse_id
vendor_id
created_at
po_date
date_closed
arrived_at
packing_note
fulfillment_status
po_note
description
partner_order_number
subtotal
discount
total_price
tax
shipping_method
shipping_carrier
shipping_name
shipping_price
tracking_number
pdf
images
payment_method
payment_due_by
payment_note
locking
locked_by_user_id
line_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...PurchaseOrderLineItemFragment
}
cursor
}
}
attachments {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...PurchaseOrderAttachmentFragment
}
cursor
}
}
vendor {
id
legacy_id
name
email
account_number
account_id
address {
name
address1
address2
city
state
country
zip
phone
}
currency
internal_note
default_po_note
logo
partner_vendor_id
created_at
}
warehouse {
id
legacy_id
account_id
identifier
dynamic_slotting
invoice_email
phone_number
profile
address {
name
address1
address2
city
state
country
zip
phone
}
return_address {
name
address1
address2
city
state
country
zip
phone
}
company_name
company_alias
active
products {
pageInfo {
...PageInfoFragment
}
edges {
...ProductEdgeFragment
}
}
}
origin_of_shipment
tracking_numbers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...PurchaseOrderTrackingNumberFragment
}
cursor
}
}
ship_date
}
cursor
}
}
}
cursor
}
total_count
}
}
}Variables
{
"customer_ids": ["abc123"],
"statuses": ["abc123"],
"warehouse_ids": ["abc123"],
"search_term": "abc123",
"dates_from": ISODateTime,
"dates_to": ISODateTime,
"estimated_truck_arrival_from": ISODateTime,
"estimated_truck_arrival_to": ISODateTime,
"status_updated_at_from": ISODateTime,
"status_updated_at_to": ISODateTime,
"require_fai": true,
"analyze": true
}Response
{
"data": {
"inbound_shipments": {
"request_id": "abc123",
"complexity": 987,
"data": InboundShipmentConnection
}
}
}