Coupons
Last updated
Last updated
GET
https://api.woowup.com/apiv3/coupons
Retrieve a list of redeemed coupons by assign_date descending
Name | Type | Description |
---|---|---|
Example
PUT
https://api.woowup.com/apiv3/coupons/:code
{ "$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"] } }
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
status
string