I am trying to manually set an order fulfilled via APIs.
This is the endpoint I am calling: https://*******.myshopify.com/admin/api/2024-01/fulfillments.json via POST
with the X-Shopify-Access-Token and Content-Type in the headers
I pass this JSON:
{
"fulfillment": {
"message": "The package was shipped this morning",
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 5879128850767,
"fulfillment_order_line_items": []
}
]
}
}
Where the fulfillment order id is the one I got from the url of my order on the backoffice.
I am getting a 404. What can this be?