voluptate
et
dolorem
false
324955.95861741
percentage
fixed
5049987.56002
Must be a valid date.
2024-09-25T12:35:22
Must be a valid email address.
["marvin.joseph@example.net"]
curl -L \ --request PUT \ --url 'https://api.sellauth.com/v1/shops/{shopId}/coupons/{couponId}/update' \ --header 'Content-Type: application/json' \ --data '{ "code": "dolorem", "global": false, "discount": 324955.95861741, "type": "percentage", "max_uses": 5049987.56002, "expiration_date": "2024-09-25T12:35:22", "allowed_emails": [ "marvin.joseph@example.net" ], "products": null }'
{ "id": 1, "code": "MYCOUPON", "salt": "298e8d2e935ca", "global": 0, "discount": 5, "uses": 0, "max_uses": null, "allowed_emails": null, "type": "percentage", "expiration_date": null, "shop_id": 1, "created_at": "2024-01-01T00:00:00.000000Z", "updated_at": "2024-01-01T00:00:00.000000Z" }