Hello,
I am trying to create fulfilment order but I got {“errors”:“Not Found”}
Here my current approche:
Retrieve Fullfillment Orders for Order
GET Request: https://my-shopify-url.com/admin/api/2023-04/orders/4959467339959/fulfillment_orders.json
Response:
{
“fulfillment_orders”: [
{
“id”: 5966030536887,
“shop_id”: 60395061431,
“order_id”: 4959467339959,
“assigned_location_id”: 67356754103,
“request_status”: “unsubmitted”,
“status”: “open”,
“supported_actions”: [
“create_fulfillment”
],
“destination”: {
“id”: 5717925298359, …
Create Fulfillment for open Fulfillment Order
POST Request: https://my-shopify-url.com/admin/api/2023-04/fulfillments.json
Request JSON:
{
“fulfillment”: {
“location_id”: “67356754103”,
“tracking_info”: {
“number”: “LF062158295FR”,
“url”: “https://tracking.asendia.com/tracking/LF062158295FR”,
“company”: “Asendia”
},
“line_items_by_fulfillment_order”: [{
“fulfillment_order_id”: 5966030536887
}]
}
}
Response:
{
“errors”: “Not Found”
}
I am using API version 2023-04.
What am I doing wrong?
Besyt regards