Hi Shopify,
im trying to create price rules
using
https://"user-name":"password"@"my-store-name".myshopify.com/admin/api/2020-07/price_rules.json
with body
{
"price_rule": {
"title": "test",
"target_type": "line_item",
"target_selection": "all",
"allocation_method": "across",
"value_type": "fixed_amount",
"value": "-10.0",
"customer_selection": "all",
"starts_at": "2020-07-14T20:10:15+08:00"
}
}
the API returns 200 ok
with html body
Hey @amjad1,
This is due to cookies being sent from your HTTP client. Please see this post for more details.
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 Shopify.dev or the Shopify Web Design and Development Blog
User | Count |
---|---|
16 | |
12 | |
7 | |
5 | |
5 |