Coupons
Coupons
GET
https://api.woowup.com/apiv3/coupons
Retrieve a list of redeemed coupons by assign_date descending
Path Parameters
Name | Type | Description |
---|---|---|
status | string | "available", "assigned", "pending", "cancelled", "used" |
from | string | Min assign_date of the returned coupons. Format yyyy-mm-dd hh:mm:ss (UTC |
to | string | Max assign_date of the returned coupons. Format yyyy-mm-dd hh:mm:ss (UTC) |
page | number | Number of the page returned. Default 0 |
limit | number | Items per page returned. Default 25, MAX 100 |
Example
Update Coupon
PUT
https://api.woowup.com/apiv3/coupons/:code
Request Body
Name | Type | Description |
---|---|---|
status | string |
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "A representation of a coupon", "type": "object", "required": ["status"], "properties": { "status": { "type": "string", "enum": ["available", "assigned", "pending", "cancelled", "used"] } }
Last updated