wholesale_order_generate_label
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | WholesaleGenerateLabelInput! | Yes |
Return Type
Mutation
mutation wholesale_order_generate_label(
$data: WholesaleGenerateLabelInput!
) {
wholesale_order_generate_label(
data: $data
) {
request_id
complexity
label_batches {
id
external_batch_id
account_id
user_id
order_id
package_id
package_type
status
error
label_status
pdf_file_url
last_printed_at
carrier
shipping_method
tracking_number
tracking_url
total_cost
label_id
ps_id
shipment_group
created_at
updated_at
package_identifier
external_package_id
order {
id
legacy_id
order_number
partner_order_id
shop_name
fulfillment_status
order_date
total_tax
subtotal
total_discounts
total_price
box_name
ready_to_ship
auto_print_return_label
custom_invoice_url
account_id
updated_at
created_at
email
profile
gift_note
packing_note
required_ship_date
shipping_lines {
title
carrier
method
price
}
shipping_address {
first_name
last_name
company
address1
address2
city
state
state_code
zip
country
country_code
email
phone
}
billing_address {
first_name
last_name
company
address1
address2
city
state
state_code
zip
country
country_code
email
phone
}
tags
line_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
sku
partner_line_item_id
product_id
quantity
price
product_name
option_title
fulfillment_status
quantity_pending_fulfillment
quantity_shipped
warehouse
quantity_allocated
backorder_quantity
custom_options
custom_barcode
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
subtotal
barcode
created_at
updated_at
order_id
shipped_line_item_lots {
id
legacy_id
line_item_id
lot_id
lot_name
lot_expiration_date
}
serial_numbers {
id
legacy_id
sku
line_item_id
serial_number
scanned
created_at
updated_at
}
promotion_discount
product {
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 {
id
legacy_id
account_id
identifier
dynamic_slotting
invoice_email
phone_number
profile
address {
...AddressFragment
}
return_address {
...AddressFragment
}
company_name
company_alias
active
products {
...ProductConnectionFragment
}
}
product {
...ProductFragment
}
inbounds {
pageInfo {
...PageInfoFragment
}
edges {
...WarehouseProductInboundEdgeFragment
}
}
locations {
pageInfo {
...PageInfoFragment
}
edges {
...ItemLocationEdgeFragment
}
}
}
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
}
}
tote_picks {
id
legacy_id
sku
created_at
updated_at
tote_id
current
picked_quantity
quantity
inventory_bin
line_item {
...LineItemFragment
}
location {
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 {
...PageInfoFragment
}
edges {
...ProductEdgeFragment
}
}
last_counted
created_at
expiration_lots {
pageInfo {
...PageInfoFragment
}
edges {
...LotEdgeFragment
}
}
}
deducted
}
}
cursor
}
total_count
}
authorizations {
transaction_id
authorized_amount
postauthed_amount
refunded_amount
card_type
date
}
holds {
fraud_hold
address_hold
shipping_method_hold
operator_hold
payment_hold
client_hold
}
shipments {
id
legacy_id
order_id
user_id
warehouse_id
pending_shipment_id
address {
name
address1
address2
city
state
country
zip
phone
}
profile
picked_up
needs_refund
refunded
delivered
shipped_off_shiphero
dropshipment
completed
created_date
line_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
line_item_id
shipment_id
shipping_label_id
quantity
line_item {
id
legacy_id
sku
partner_line_item_id
product_id
quantity
price
product_name
option_title
fulfillment_status
quantity_pending_fulfillment
quantity_shipped
warehouse
quantity_allocated
backorder_quantity
custom_options
custom_barcode
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
subtotal
barcode
created_at
updated_at
order_id
shipped_line_item_lots {
id
legacy_id
line_item_id
lot_id
lot_name
lot_expiration_date
}
serial_numbers {
id
legacy_id
sku
line_item_id
serial_number
scanned
created_at
updated_at
}
promotion_discount
product {
id
legacy_id
account_id
name
sku
price
value
value_currency
barcode
country_of_manufacture
dimensions {
...DimensionsFragment
}
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 {
...WarehouseProductFragment
}
fba_inventory {
...FbaInventoryFragment
}
images {
...ProductImageFragment
}
tags
vendors {
...ProductVendorFragment
}
components {
...ProductFragment
}
kit_components {
...KitComponentFragment
}
cases {
...CaseFragment
}
}
tote_picks {
id
legacy_id
sku
created_at
updated_at
tote_id
current
picked_quantity
quantity
inventory_bin
line_item {
...LineItemFragment
}
location {
...LocationFragment
}
deducted
}
}
lot {
id
legacy_id
account_id
po_id
name
sku
created_at
updated_at
expires_at
received_at
is_active
locations {
pageInfo {
...PageInfoFragment
}
edges {
...LocationEdgeFragment
}
}
purchase_orders {
pageInfo {
...PageInfoFragment
}
edges {
...PurchaseOrderEdgeFragment
}
}
}
}
cursor
}
}
shipping_labels {
id
legacy_id
account_id
shipment_id
order_id
box_id
box_name
status
tracking_number
alternate_tracking_id
order_number
order_account_id
carrier
shipping_name
shipping_method
cost
box_code
device_id
delivered
picked_up
refunded
needs_refund
profile
partner_fulfillment_id
full_size_to_print
packing_slip
warehouse
warehouse_id
insurance_amount
carrier_account_id
source
created_date
tracking_url
dimensions {
weight
height
width
length
}
label {
pdf_location
paper_pdf_location
thermal_pdf_location
image_location
}
address {
name
address1
address2
city
state
country
zip
phone
}
order {
...OrderFragment
}
shipment_line_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
line_item_id
shipment_id
shipping_label_id
quantity
line_item {
id
legacy_id
sku
partner_line_item_id
product_id
quantity
price
product_name
option_title
fulfillment_status
quantity_pending_fulfillment
quantity_shipped
warehouse
quantity_allocated
backorder_quantity
custom_options
custom_barcode
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
subtotal
barcode
created_at
updated_at
order_id
shipped_line_item_lots {
...ShippedLineItemLotFragment
}
serial_numbers {
...LineItemSerialNumberFragment
}
promotion_discount
product {
...ProductFragment
}
tote_picks {
...TotePickFragment
}
}
lot {
id
legacy_id
account_id
po_id
name
sku
created_at
updated_at
expires_at
received_at
is_active
locations {
...LocationConnectionFragment
}
purchase_orders {
...PurchaseOrderConnectionFragment
}
}
}
cursor
}
}
package_number
parcelview_url
tracking_status
in_shipping_container
shipping_container_id
last_mile_labels {
id
legacy_id
shipping_carrier
shipping_method
tracking_number
tracking_url
}
serial_numbers {
id
legacy_id
sku
line_item_id
serial_number
scanned
created_at
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
}
}
}
order {
...OrderFragment
}
total_packages
ready_to_ship
}
returns {
id
legacy_id
account_id
order_id
partner_id
reason
status
label_type
label_cost
labels {
id
legacy_id
tracking_number
status
created_date
carrier
shipping_method
cost
dimensions {
weight
height
width
length
}
length
width
height
weight
to_name
address1
address2
address_city
address_state
address_zip
address_country
pdf_location
}
cost_to_customer
shipping_carrier
shipping_method
dimensions {
weight
height
width
length
}
address {
name
address1
address2
city
state
country
zip
phone
}
line_items {
id
legacy_id
account_id
line_item_id
warehouse_id
product_id
return_id
quantity
quantity_received
restock
condition
is_component
type
reason
created_at
updated_at
line_item {
id
legacy_id
sku
partner_line_item_id
product_id
quantity
price
product_name
option_title
fulfillment_status
quantity_pending_fulfillment
quantity_shipped
warehouse
quantity_allocated
backorder_quantity
custom_options
custom_barcode
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
subtotal
barcode
created_at
updated_at
order_id
shipped_line_item_lots {
id
legacy_id
line_item_id
lot_id
lot_name
lot_expiration_date
}
serial_numbers {
id
legacy_id
sku
line_item_id
serial_number
scanned
created_at
updated_at
}
promotion_discount
product {
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 {
id
legacy_id
account_id
identifier
dynamic_slotting
invoice_email
phone_number
profile
address {
...AddressFragment
}
return_address {
...AddressFragment
}
company_name
company_alias
active
products {
...ProductConnectionFragment
}
}
product {
...ProductFragment
}
inbounds {
pageInfo {
...PageInfoFragment
}
edges {
...WarehouseProductInboundEdgeFragment
}
}
locations {
pageInfo {
...PageInfoFragment
}
edges {
...ItemLocationEdgeFragment
}
}
}
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
}
}
tote_picks {
id
legacy_id
sku
created_at
updated_at
tote_id
current
picked_quantity
quantity
inventory_bin
line_item {
...LineItemFragment
}
location {
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 {
...PageInfoFragment
}
edges {
...ProductEdgeFragment
}
}
last_counted
created_at
expiration_lots {
pageInfo {
...PageInfoFragment
}
edges {
...LotEdgeFragment
}
}
}
deducted
}
}
product {
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 {
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
}
}
}
product {
...ProductFragment
}
inbounds {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...WarehouseProductInboundFragment
}
cursor
}
}
locations {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
...ItemLocationFragment
}
cursor
}
}
}
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
}
}
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 {
...DimensionsFragment
}
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 {
...WarehouseProductFragment
}
fba_inventory {
...FbaInventoryFragment
}
images {
...ProductImageFragment
}
tags
vendors {
...ProductVendorFragment
}
components {
...ProductFragment
}
kit_components {
...KitComponentFragment
}
cases {
...CaseFragment
}
}
cursor
}
}
}
}
total_items_expected
total_items_received
total_items_restocked
created_at
display_issue_refund
order {
...OrderFragment
}
exchanges {
id
legacy_id
exchange_order_id
return_id
account_id
exchange_order {
...OrderFragment
}
exchange_items {
id
legacy_id
return_item_id
sku
quantity
}
original_return {
...ReturnFragment
}
}
return_history {
id
legacy_id
return_id
account_id
user_id
created_at
body
}
}
rma_labels {
id
legacy_id
account_id
order_id
rma_id
shipment_id
shipping_name
tracking_number
status
carrier
shipping_method
cost
box_code
dimensions {
weight
height
width
length
}
address {
name
address1
address2
city
state
country
zip
phone
}
paper_pdf_location
thermal_pdf_location
pdf_location
image_location
delivered
picked_up
refunded
needs_refund
profile
full_size_to_print
partner_fulfillment_id
created_at
updated_at
}
flagged
saturday_delivery
ignore_address_validation_errors
skip_address_validation
priority_flag
allocation_priority
allocations {
order_id
warehouse_id
allocated_at
allocation_reference
ready_to_ship
line_items {
order_id
warehouse_id
allocated_at
line_item_id
sku
quantity_allocated
is_kit_component
allocation_reference
}
is_locked
}
source
third_party_shipper {
account_number
zip
country
}
gift_invoice
allow_partial
require_signature
adult_signature_required
alcohol
expected_weight_in_oz
insurance
insurance_amount
currency
has_dry_ice
allow_split
hold_until_date
incoterms
tax_id
tax_type
dry_ice_weight_in_lbs
ftr_exemption
address_is_business
tote_qa
do_not_print_invoice
ignore_payment_capture_errors
partner_source_name
order_history {
id
legacy_id
order_id
user_id
account_id
username
order_number
information
created_at
order {
...OrderFragment
}
}
merged_orders {
order_id
is_master
}
attachments {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
order_id
account_id
description
url
filename
file_type
file_size
created_at
}
cursor
}
total_count
}
wholesale_order {
id
legacy_id
version
fulfillment_flow
shipping_option
staging_location_id
picking_flow
outbound_progress
pickup_date
status
status_message
preparation_date
packing_layout
order_type
gs1_labels_required
trading_partner_id
trading_partner_name
store_location_number
store_address1
store_city
store_country
store_state
store_zip
distribution_center
distribution_center_number
purchase_order_type
vendor
vendor_id
requested_delivery_date
ship_not_before_date
ship_no_later_than_date
depositor_order_number
department
department_number
division
service_level
internal_supplier_number
terms_of_sale
retailer_notes
quote_number
sales_requirement_code
reference_fields
order_id
order {
...OrderFragment
}
wholesale_shipping_details {
id
legacy_id
account_number
scac
carrier
shipping_method
bill_of_lading
cost
trailer_number
pro_number
gs1_company_prefix
courier
}
wholesale_line_items {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
line_item {
id
legacy_id
sku
partner_line_item_id
product_id
quantity
price
product_name
option_title
fulfillment_status
quantity_pending_fulfillment
quantity_shipped
warehouse
quantity_allocated
backorder_quantity
custom_options
custom_barcode
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
subtotal
barcode
created_at
updated_at
order_id
shipped_line_item_lots {
id
legacy_id
line_item_id
lot_id
lot_name
lot_expiration_date
}
serial_numbers {
id
legacy_id
sku
line_item_id
serial_number
scanned
created_at
updated_at
}
promotion_discount
product {
id
legacy_id
account_id
name
sku
price
value
value_currency
barcode
country_of_manufacture
dimensions {
...DimensionsFragment
}
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 {
...WarehouseProductFragment
}
fba_inventory {
...FbaInventoryFragment
}
images {
...ProductImageFragment
}
tags
vendors {
...ProductVendorFragment
}
components {
...ProductFragment
}
kit_components {
...KitComponentFragment
}
cases {
...CaseFragment
}
}
tote_picks {
id
legacy_id
sku
created_at
updated_at
tote_id
current
picked_quantity
quantity
inventory_bin
line_item {
...LineItemFragment
}
location {
...LocationFragment
}
deducted
}
}
unit_of_measure
}
cursor
}
total_count
}
}
}
user {
id
email
password
permissions
activated
activation_code
activated_at
last_login
persist_code
reset_password_code
first_name
last_name
created_at
updated_at
account_id
step_completed
parent
profile_image
token
default_picking_option
threepl_user_id
suuid
tokens_invalidated_at
do_not_email
use_sso
use_mfa
position
hourly_rate
default_language
payroll_id
has_appdot_access
allowed_warehouses {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
account_id
from_name
from_address1
from_address2
from_city
from_state
from_zip
return_name
return_address1
return_address2
return_city
return_state
return_zip
invoice_email
phone_number
profile
invoice_logo
invoice_note
label_printer_type
invoice_printer_type
label_printer_id
invoice_printer_id
airprint
from_country
return_country
barcode_printer_type
barcode_printer_id
ses_key
ses_secret
show_phone_on_invoice
identifier
order_prefix
remote_warehouse_id
dynamic_slotting
dont_include_in_available
allocate_priority
dont_allocate
ses_email_verified
language
invoice_footer_tagline
carrier_reference_1_prefix
carrier_reference_1
carrier_reference_2_prefix
carrier_reference_2
carrier_reference_3_prefix
carrier_reference_3
customs_invoice_signature
inactive
timezone
only_pick_late_orders
allow_shipping_plans
sf_warehouse {
id
warehouse_id
source_id
standard_cut_off
expedited_cut_off
micro_bin_monthly_rate
small_bin_monthly_rate
large_bin_monthly_rate
pallet_monthly_rate
cubic_storage_monthly_rate
timezone
latitude
longitude
location
address1
address2
city
state
zip
country
email
badge_color
is_active
is_test
is_lb_enabled
region
use_warehouse_fields
is_external
currency
is_shiphero_owned
code
warehouse {
...WarehouseTypeFragment
}
row_id
}
business_relationships {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
last_bill_submitted_at
last_bill_amount
id
account_id
customer_id
customer_profile_id
customer_warehouse_id
warehouse_id
warehouse_accepted
customer_accepted
date_created
from_name
use_customers_shipping_account
invoice_schedule
enable_chat
pause_shipping
use_customers_warehouse_info
do_not_overwrite_from_name
billing_day
billing_frequency
payment_terms
billing_profile_id
created_at
label_charge_trigger
billing_email
show_label_costs_to_customer
customer_can_access_bills
returns_use_3pl_shipping_accounts
export_bills_on_tally
tally_bills_on_schedule
do_not_allow_account_switch
open_invoices
warehouse {
...WarehouseTypeFragment
}
products {
...ProductTypeCountableConnectionFragment
}
row_id
has_products_in_warehouse
active
lot_tracking_settings {
...LotTrackingSettingsFragment
}
invoice_build_strategy
export_bills_to_quickbooks
finalize_and_export_bills_on_tally_qbo_schedule
attach_csv_qbo_auto
account_status
}
cursor
}
total_count
}
products {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
sku
account_id
on_hand
allocated
backorder
kit
inventory_bin
inventory_overstock_bin
parent_id
barcode
freshly_imported
updated_at
created_at
id
name
option
active
needs_thumb
thumbnail
value
product_condition
vendor_sku
last_counted
count_priority
brand
weight_in_oz
height
length
width
barcode_pdf
barcode_image
barcode_zpl
large_thumbnail
reorder_amount
reorder_level
warehouse
reserve_inventory
custom
value_currency
product_type
adhoc_parent_sku
track_inventory
replenishment_level
replenishment_max_level
replenishment_increment
total_pickable
total_unpickable
price
kit_build
no_air
final_sale
customs_value
do_not_count
warehouse_id
kitting_map_components {
...KittingMapTypeCountableConnectionFragment
}
kitting_map_parents {
...KittingMapTypeCountableConnectionFragment
}
product_images {
...ProductImageSchemaCountableConnectionFragment
}
item_bins {
...ProductLocationTypeCountableConnectionFragment
}
warehouse_obj {
...WarehouseTypeFragment
}
product_info {
...ProductInfoTypeFragment
}
history {
...ProductHistoryTypeCountableConnectionFragment
}
location_change_log {
...LocationChangeLogTypeCountableConnectionFragment
}
location_changes {
...LocationChangeLogTypeCountableConnectionFragment
}
product_case_info {
...ProductCaseInfoTypeFragment
}
row_id
locations {
...ProductLocationTypeCountableConnectionFragment
}
warehouse_account_id
warehouse_identifier
quantity_expected
quantity_pending_return
quantity_shipped
available
available_valid
on_order
sell_ahead
non_sellable_quantity
quantity_to_replenish
product_attributes {
...ProductAttributeTypeFragment
}
is_used_in_automation_rule
expired {
...ExpiredDetailsTypeFragment
}
visits_velocity
}
cursor
}
total_count
}
row_id
}
cursor
}
total_count
}
stores {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
user_id
account_id
shop_name
created_at
updated_at
user {
...PackerFragment
}
row_id
}
cursor
}
total_count
}
row_id
name
}
row_id
}
}
}Variables
{
"data": {
"pending_shipment_id": 987,
"shipping_carrier": "abc123",
"shipping_method": "abc123",
"generate_carton_labels": true
}
}Response
{
"data": {
"wholesale_order_generate_label": {
"request_id": "abc123",
"complexity": 987,
"label_batches": LabelBatchItemType
}
}
}