warehouse_product_update
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | UpdateWarehouseProductInput! | Yes |
Return Type
WarehouseProductMutationOutput
Mutation
mutation warehouse_product_update(
$data: UpdateWarehouseProductInput!
) {
warehouse_product_update(
data: $data
) {
request_id
complexity
warehouse_product {
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 {
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
is_assembly
packer_note
size
style
vendor_part_number
consumer_package_code
buyer_part_number
buyer_style_number
auto_pack
warehouse_products {
...WarehouseProductFragment
}
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
}
assembly_components {
id
legacy_id
account_id
sku
quantity
}
cases {
id
legacy_id
case_barcode
case_quantity
}
}
cursor
}
}
}
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
is_assembly
packer_note
size
style
vendor_part_number
consumer_package_code
buyer_part_number
buyer_style_number
auto_pack
warehouse_products {
...WarehouseProductFragment
}
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
}
assembly_components {
id
legacy_id
account_id
sku
quantity
}
cases {
id
legacy_id
case_barcode
case_quantity
}
}
inbounds {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
sku
warehouse_id
po_id
purchase_order_line_item_id
po_date
quantity
quantity_received
quantity_rejected
sell_ahead
status
}
cursor
}
}
locations {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
account_id
warehouse_id
location_id
sku
quantity
loose_quantity
allocated_quantity
created_at
updated_at
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 {
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
is_assembly
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
}
assembly_components {
...AssemblyComponentFragment
}
cases {
...CaseFragment
}
}
cursor
}
}
last_counted
created_at
expiration_lots {
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 {
...LocationConnectionFragment
}
purchase_orders {
...PurchaseOrderConnectionFragment
}
}
cursor
}
}
}
location_type {
id
legacy_id
account_id
name
daily_storage_cost
category
is_lpn_allowed
}
expiration_lot {
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 {
...LocationTypeFragment
}
name
zone
pickable
sellable
staging
is_cart
pick_priority
dimensions {
...DimensionsFragment
}
length
width
height
max_weight
temperature
products {
...ProductConnectionFragment
}
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 {
...PurchaseOrderLineItemConnectionFragment
}
attachments {
...PurchaseOrderAttachmentConnectionFragment
}
vendor {
...VendorFragment
}
warehouse {
...WarehouseFragment
}
origin_of_shipment
tracking_numbers {
...PurchaseOrderTrackingNumberConnectionFragment
}
ship_date
}
cursor
}
}
}
lpns {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
container_type
status
lpn_id
sku
units
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 {
...ShippingLinesFragment
}
shipping_address {
...OrderAddressFragment
}
billing_address {
...OrderAddressFragment
}
tags
line_items {
...LineItemQuerySpecConnectionFragment
}
authorizations {
...AuthorizationFragment
}
holds {
...OrderHoldsFragment
}
shipments {
...ShipmentFragment
}
returns {
...ReturnFragment
}
rma_labels {
...RMALabelFragment
}
flagged
saturday_delivery
ignore_address_validation_errors
skip_address_validation
priority_flag
allocation_priority
allocations {
...OrderWarehouseAllocationFragment
}
source
third_party_shipper {
...OrderThirdPartyShipperFragment
}
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
ftr_exemption_value
address_is_business
tote_qa
do_not_print_invoice
ignore_payment_capture_errors
service_point_id
partner_source_name
order_history {
...OrderHistoryFragment
}
merged_orders {
...MergedOrderFragment
}
attachments {
...OrderAttachmentQuerySpecConnectionFragment
}
wholesale_order {
...WholesaleOrderFragment
}
}
}
cursor
}
}
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
is_assembly
packer_note
size
style
vendor_part_number
consumer_package_code
buyer_part_number
buyer_style_number
auto_pack
warehouse_products {
...WarehouseProductFragment
}
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
}
assembly_components {
id
legacy_id
account_id
sku
quantity
}
cases {
id
legacy_id
case_barcode
case_quantity
}
}
warehouse_product {
...WarehouseProductFragment
}
}
cursor
}
}
}
}
}Variables
{
"data": {
"customer_account_id": "QWNjb3VudDoxMjM0",
"sku": "BLUE-TEE-M",
"warehouse_id": "V2FyZWhvdXNlOjEyMzQ=",
"on_hand": 2,
"price": 19.99,
"value": "19.99",
"value_currency": "19.99",
"inventory_bin": "A01-01-01",
"inventory_overstock_bin": "OVR-01",
"reserve_inventory": 2,
"replenishment_level": 2,
"replenishment_max_level": 2,
"replenishment_increment": 2,
"reorder_amount": 2,
"reorder_level": 2,
"customs_value": 19.99,
"active": true
}
}Response
{
"data": {
"warehouse_product_update": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"warehouse_product": {sku: "BLUE-TEE-M", name: "Blue Tee"}
}
}
}