Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I am trying to fulfil an order with the API.
I get the fulfillment_orders for the order:
{
"fulfillment_orders": [
{
"id": 5162433085613,
"shop_id": ***,
"order_id": 4183684907181,
...
"supported_actions": [
"create_fulfillment",
"hold"
],
"destination": null,
"line_items": [
{
"id": 10909262577837,
"shop_id": ***,
"fulfillment_order_id": 5162433085613,
"quantity": 1,
"line_item_id": 10763713675437,
"inventory_item_id": 43141097849005,
"fulfillable_quantity": 1,
"variant_id": 41044827701421
}
],
"fulfill_at": null,
...
}
]
}
{"fulfillment":{"message":"MSG","notify_customer":true,
"tracking_info": {"number": 1562678,"url": "https://www.my-shipping-company.com","company": "my-shipping-company"},
"line_items_by_fulfillment_order":[
{"fulfillment_order_id":5162433085613,
"fulfillment_order_line_items":[
{"id":10763713675437,
"quantity":1}
]}]}}
but when posting that I get:
Solved! Go to the solution
This is an accepted solution.
Found the problem. The tutorial at: https://shopify.dev/apps/fulfillment/order-management-apps is INCORRECT.
You can't use: https://{shop}.myshopify.com/admin/api/2021-10/fulfillments.json
You must use: https://{shop}.myshopify.com/admin/api/2021-10/orders/<number>/fulfillments.json
to fulfil an order.
This is an accepted solution.
Found the problem. The tutorial at: https://shopify.dev/apps/fulfillment/order-management-apps is INCORRECT.
You can't use: https://{shop}.myshopify.com/admin/api/2021-10/fulfillments.json
You must use: https://{shop}.myshopify.com/admin/api/2021-10/orders/<number>/fulfillments.json
to fulfil an order.
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By