Covers all questions related to inventory management, order fulfillment, and shipping.
Here is my post:
{
"fulfillment": {
"tracking_info": {
"number": "XXXXXXXXXXXXXXXXXXXXXXX",
"company": "DHL eCommerce"
},
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 00000000000,
"fulfillment_order_line_items": [{
"id": 000000000000,
"quantity": 2
}]
}]
}
}
This was working just a few days ago.
I am having the same problem creating a fulfillment; [error] => location_id must be specified when creating fulfillments.
It is giving a location ID error. If you include the location ID it returns a 404 and without it a 400 error.
this is the example in the shopify API:
{
"fulfillment": {
"message": "The package was shipped this morning.",
"notify_customer": false,
"tracking_info": {
"number": "1Z001985YW99744790",
"company": "UPS"
},
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 1046000798,
"fulfillment_order_line_items": [{
"id": 1058737530,
"quantity": 1
}]
}]
}
}
Here's what I'm posting:
{
"fulfillment": {
"message": "The package was shipping",
"notify_customer": false,
"tracking_info": {
"number": "420276049374811015300205691782",
"company": "DHL eCommerce"
},
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 6385204920639,
"fulfillment_order_line_items": [{
"id": 14169238339903,
"quantity": 2
}]
}]
}
}
am i missing something?
this is the example in the shopify API:
{
"fulfillment": {
"message": "The package was shipped this morning.",
"notify_customer": false,
"tracking_info": {
"number": "1Z001985YW99744790",
"company": "UPS"
},
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 1046000798,
"fulfillment_order_line_items": [{
"id": 1058737530,
"quantity": 1
}]
}]
}
}
Here's what I'm posting:
{
"fulfillment": {
"message": "The package was shipping",
"notify_customer": false,
"tracking_info": {
"number": "420276049374811015300205691782",
"company": "DHL eCommerce"
},
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 6385204920639,
"fulfillment_order_line_items": [{
"id": 14169238339903,
"quantity": 2
}]
}]
}
}
am i missing something?