Tried to create a Price Rule, returns 200, but then lists all of the other price rule

myesac
New Member
1 0 0

Hi,

I am trying to create a Price Rule for a merchant using Admin API and it returns 200, but then just lists all of the other price rules in the response body.

I am using the exact same call for another merchant and it works as expected. I tried using both Postman and an external call using dotnet. The API key and Secret are correct, as I use them to list all Price Rules and Scopes and they work fine.

Any ideas?

 

Reply 1 (1)
csam
Shopify Staff
154 24 25

Hi @myesac 

Could you please provide an x-request-id for one of the non-working requests, as well as one of the working ones? The requests will have to have been made within the past 7 days. I will take a look in our logs and see what I can find. Thanks!

CS | API 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 Shopify.dev or the Shopify Web Design and Development Blog