API permission problem

Solved
Servitel
Tourist
12 1 2

Hi to everybody

I''m in process to write a php program for update some order details. I have created an api key with r/w on these permissions: read_order_edits, write_order_edits,read_orders, write_order

When I try to update an order I receive this error message:

"The api_client does not have the required permission(s)."

I have checked many times API permissions.

The url I call is for example this one: https://KEY:PASSWORD@COMPANY_NAME.myshopify.com/admin/api/2021-10/fullfillments/{fullfill_id}//updat...

 

Any idea ?

Accepted Solution (1)
Servitel
Tourist
12 1 2

This is an accepted solution.

Found the solutions:

I have added these permissions: read_assigned_fulfillment_orders, write_assigned_fulfillment_orders

 

And work fine !

I hope this can help

View solution in original post

Reply 1 (1)
Servitel
Tourist
12 1 2

This is an accepted solution.

Found the solutions:

I have added these permissions: read_assigned_fulfillment_orders, write_assigned_fulfillment_orders

 

And work fine !

I hope this can help