expiration_lots
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
sku | String | No | ||
po_id | String | No | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
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 {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
po_id
name
sku
created_at
updated_at
expires_at
received_at
is_active
locations {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
warehouse_id
type {
id
legacy_id
account_id
name
daily_storage_cost
category
is_lpn_allowed
}
name
zone
pickable
sellable
staging
is_cart
pick_priority
dimensions {
weight
height
width
length
}
length
width
height
max_weight
temperature
products {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...ProductFragment
}
cursor
}
}
last_counted
created_at
expiration_lots {
...LotConnectionFragment
}
}
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
}
}
}
}Variables
{
"sku": "abc123",
"po_id": "abc123",
"analyze": true
}Response
{
"data": {
"expiration_lots": {
"request_id": "abc123",
"complexity": 987,
"data": LotConnection
}
}
}