Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

cannot create price rule

cannot create price rule

redb77
Shopify Partner
1 0 0

Hi,

I try to create a price rule from api with this example

{
    "price_rule": {
        "title": "SUMMERSALE10OFF",
        "target_type": "line_item",
        "target_selection": "all",
        "allocation_method": "across",
        "value_type": "fixed_amount",
        "value": "-10.0",
        "customer_selection": "all",
        "starts_at": "2021-12-10T13:00:10Z"
    }
}
 
 
but rule does not created and in response I have all price rules already created in past.
Permission are ok.
thanks for help
Replies 0 (0)