Quantity Deals
Patch Quantity Deal
Changed onChanges only the fields you send. Fields you leave out keep their current value, and null clears a field.
patch/v1/shops/{shopId}/quantity-deals/{dealId}
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "tjqotbhpzwonwlzospqcs",
"product_id": 6,
"variant_id": 6,
"buy_quantity": 60,
"discounted_quantity": 55,
"percentage": 19,
"max_uses_per_cart": 44,
"priority": 27,
"starts_at": "2012-05-28",
"ends_at": "2012-05-28",
"enabled": true
}Changes
- info
endpoint added
- info