Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to call Fulfillment API from version 2022-10 to fulfill an order in Shopify. Calling the API by passing Shopify API Key and Password and generating the token using Basic Authentication.
URL: https://{store}.myshopify.com/admin/api/2022-10/fulfillments.json
JSON:
{
fulfillment:
{
location_id: {locationid},
tracking_number: {tracking_number},
tracking_company: {tracking_company},
notify_customer: false,
line_items_by_fulfillment_order:
{
fulfillment_order_id: {orderid}
}
}
}
The API is returning Response with Status Code as ‘Forbidden’ and message as The api_client does not have the required permission(s).
I checked in Shopify account for access scopes and the account/app has been granted write_fulfillments access. Is there any additional scope required for the API call?
Hello @mayurib_cloud9,
Thank you for reaching out to the Shopify community.
It appears that you are experiencing an issue with the fulfillment resource. Please ensure that you have sufficient access to use this resource. The following scopes are required to create a fulfillment for the order:
Once you have confirmed that you have all the necessary access, please follow the instructions outlined below:
Here is the Postman collection for further reference/additional use.
If you encounter any difficulties or require further assistance, please do not hesitate to let us know. We are here to support you and ensure a smooth resolution of the issue.
Thanks
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024