Edit Tracking Code Get Permission Error

Flipnix
New Member
4 0 0

Hi all,

 

I want to call edit tracking code API to update the tracking code from my backend system. However, I get the following error:

 
The error message: Array ( [errors] => The api_client does not have the required permission(s). )
Parameters:
{ "fulfillment": { "notify_customer": false, "tracking_info": { "number": "en123457my,en123457en", "url": "https://www.tracking.my/", "company": "DHL" } } }
 
 
 
What should I do?
 
Thanks
 
0 Likes
dropshipper1234
New Member
2 0 0

Hey @Flipnix
Have you been able to find a solution to this? I just received the error as well. 
If you would let me know how you solved it, I'd really appreciate it. 
I'll let you know my solution if I fix it before you  

0 Likes
konnected
Tourist
6 0 9

I'm having the same problem! I haven't dug into it too much yet. Let me know if you find a solution.

0 Likes
konnected
Tourist
6 0 9

I solved it. Had to enable read/write permissions for "Merchant enabled fulfillment orders" in my API permissions.

0 Likes
thesilkroad
Tourist
4 0 1

For anyone else looking for this in the future, my solution was using the fulfillment id endpoint: 

PUT -> /admin/api/2020-07/orders/{order_id}/fulfillments/{fulfillment_id}.json

to modify the fulfillment with new tracking_urls. 

0 Likes