List coupons
Changed onRequest
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
Sort order. Format: column.direction. Allowed columns: code, created_at, expires_at. Direction: asc or desc. Default: created_at.desc.
Page number (0-indexed)
Number of items per page
Response
List of coupons
Example response
{
"data": [
{
"id": "cou_7n42DGM5Tflk9n8mt7Fhc7",
"plan_ids": [
"plan_7n42DGM5Tflk9n8mt7Fhc7"
]
}
]
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became optional for the status - info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking
- breaking
the
///////response's property format changed fromdecimalto no format for status - breaking
the
///////response's property format changed fromdecimalto no format for status - info
response discriminator property name changed for
//response property fromdiscriminatortotypefor the response status
- breaking