Putting an item on sale for x percent off

New Member
12 0 0

Hi everyone. I'm trying to put an item on sale for 10% off, and here is the current code.

POST https:/myshopurl.com/admin/api/2022-04/price_rules.json
item Product ID
"starts_at":"current time",
"ends_at": "x days "

This worked, and i didn't get any error in the response JSON.
However, the item is still at full price and not discounted.
Is there something wrong with my JSON or there's a extra step that i'm missing , such as publish the discount offer?

Replies 0 (0)