price_rule REST API issue

New Member
1 0 0

I'm having problem creating a new price_rule through REST API.

The endpoint I call is https://{myApiKey}:{myApiPassword}@{myShopName}

My payload is as follow:

Schermata 2021-01-25 alle 14.27.04.png 
I got a "200 OK" response but in the response there's not any price_rule ID as I would expect.
Schermata 2021-01-25 alle 14.23.32.png 
My API permissions are ok. I already use some endpoints...
Any idea about that?
Thank you all!
Shopify Staff
Shopify Staff
834 98 188

This is an accepted solution.

Hey @Fabio_FitPaddy,

This is likely due to Postman sending cookies with the request. Please see this post for a fix:

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog