Hello i have a problem with fulill order with on API version 2023-01
I have following curl
curl --location --request POST 'https://matirejtest.myshopify.com/admin/api/2023-01/fulfillments.json' \
--header 'X-Shopify-Access-Token: xxxxx' \
--header 'Content-Type: application/json' \
--header 'Host: matirejtest.myshopify.com' \
--header 'User-Agent: SlinceShopifyClient/3.0.0' \
--data-raw '{
"fulfillment": {
"message": "The package was shipped this morning.",
"notify_customer": false,
"tracking_info": {
"number": 1562678,
"company": "UPS"
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 5249614217523,
"fulfillment_order_line_items": [
{
"id": 13714980110643,
"quantity": 1
}
]
}
]
}
}'
I cant fulfill my order with this request.
resulted in a `404 Not Found` response:\n
{"errors":"Not Found"
I’m pretty sure that i have order with id5249614217523 and that order have single line item with id
13714980110643 and quantity 1.
I fetch this order also through API from endpoint
“Retrieve a specific order”
I use package slince/shopify-api-php but i overwrite manager for create fufillment becouse it use old version of API 2022-04. Right now i make request on endpoint
admin/api/2023-01/fulfillments.json