Hi Team,
We have an order where the line items are tagged correctly on the UI Dashboard to our main warehouse (43K) but when order is retrieved from the API, the warehouse that was tagged on the line item is different. On API it was tagged as Primary, can you help us check on this. By right it should supposed to tag the 43K Warehouse.
Here is the order: https://app.shiphero.com/dashboard/orders/details/253138341
Then this is the example payload request and response on the query:
Payload Request
query retrieveOrder {
order(id: "T3JkZXI6MjUzMTM4MzQx") {
complexity
request_id
data {
id
legacy_id
order_number
fulfillment_status
line_items {
edges {
node {
id
sku
quantity
quantity_pending_fulfillment
quantity_shipped
quantity_allocated
warehouse_id
warehouse
fulfillment_status
tote_picks {
picked_quantity
quantity
created_at
updated_at
}
}
}
}
}
}
}
Payload Response
{
"data": {
"order": {
"complexity": 101,
"request_id": "6220671f4416d63c0d59f32c",
"data": {
"id": "T3JkZXI6MjUzMTM4MzQx",
"legacy_id": 253138341,
"order_number": "DO814928222224850O",
"fulfillment_status": "fulfilled",
"line_items": {
"edges": [
{
"node": {
"id": "TGluZUl0ZW06NjYzNzA0ODE4",
"sku": "SSF-150 (2-2)",
"quantity": 1,
"quantity_pending_fulfillment": 0,
"quantity_shipped": 1,
"quantity_allocated": 0,
"warehouse_id": "V2FyZWhvdXNlOjgwMTgw",
"warehouse": "Primary",
"fulfillment_status": "fulfilled",
"tote_picks": []
}
},
{
"node": {
"id": "TGluZUl0ZW06NjYzNzA0ODE5",
"sku": "8149-44559#64",
"quantity": 1,
"quantity_pending_fulfillment": 0,
"quantity_shipped": 1,
"quantity_allocated": 0,
"warehouse_id": "V2FyZWhvdXNlOjgwMTgw",
"warehouse": "Primary",
"fulfillment_status": "fulfilled",
"tote_picks": []
}
},
{
"node": {
"id": "TGluZUl0ZW06NjYzNzA0ODIw",
"sku": "SSF-150 (2-1)",
"quantity": 1,
"quantity_pending_fulfillment": 0,
"quantity_shipped": 1,
"quantity_allocated": 0,
"warehouse_id": "V2FyZWhvdXNlOjgwMTgw",
"warehouse": "Primary",
"fulfillment_status": "fulfilled",
"tote_picks": []
}
}
]
}
}
}
}
}
Looking forward for your response. Thank you.
Kind Regards,
Altair
Cc: @Edwin