fulfillment_invoice
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
id | String | No | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query fulfillment_invoice(
$id: String,
$analyze: Boolean
) {
fulfillment_invoice(
id: $id,
analyze: $analyze
) {
request_id
complexity
data {
id
legacy_id
stripe_charge_id
stripe_invoice_id
stripe_invoice_number
stripe_invoice_status
stripe_invoice_url
stripe_next_payment_attempt
account_id
cc_info
amount
created_at
shipping_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
invoice_id
order_id
shipment_id
shipping_label_id
amount
shipping_rate
processing_fee
picking_fee
overcharge_fee
created_at
}
cursor
}
}
inbound_shipping_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
invoice_id
purchase_order_id
shipment_id
shipping_label_id
amount
cost
created_at
}
cursor
}
}
returns_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
invoice_id
order_id
rma_id
rma_label_id
amount
shipping_rate
picking_fee
inspection_fee
restocking_fee
created_at
}
cursor
}
}
returns_fulfillment_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
invoice_id
order_id
rma_id
rma_label_id
amount
sub_total_amount
picking_fee
inspection_fee
restocking_fee
fulfillment_taxes
created_at
}
cursor
}
}
storage_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
warehouse_id
invoice_id
amount
created_at
}
cursor
}
}
}
}
}Variables
{
"id": "abc123",
"analyze": true
}Response
{
"data": {
"fulfillment_invoice": {
"request_id": "abc123",
"complexity": 987,
"data": FulfillmentInvoice
}
}
}