Why am I getting a 404 error when posting to the fulfillment API?

Why am I getting a 404 error when posting to the fulfillment API?

rtw123
Visitor
1 0 0

Hi everyone,

 

I am submitting a request according to the documentation: https://shopify.dev/docs/api/admin-rest/2023-07/resources/fulfillment#post-fulfillments.
This is a POST request to the endpoint: https://*.myshopify.com/admin/api/2023-07/fulfillments.json.
With the following data:
{'X-Shopify-Access-Token': '*', 'Content-Type': 'application/json'}
{'fulfillment': {'line_items_by_fulfillment_order': [{'fulfillment_order_id':'*}], 'tracking_info': {'number':'*', 'company': 'UPS', 'url': 'https://www.ups.com/track'}}}
And I'm getting a 404 error. I checked the store address, permissions, etc. Everything seems to be correct. What could be the problem?

Reply 1 (1)

paul_n
Shopify Staff
1336 151 305

This does not appear to be a Flow question? 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.