Should you notice any errors in our documentation, please don’t hesitate to contact us. Thank you!
Attribute Name | Meaning |
---|---|
customer_id | Id of customer the voucher owners are associated with |
curl --location -g --request GET 'https://www-staging.givve.com/api/voucher_owners?sort=created_at&skip_meta_totals=&page[number]=1&page[size]=25' \
--header 'Authorization: Bearer ' \
--header 'Accept-Version: v2'
{
"meta": {
"total_pages": 0,
"current_page": 0,
"page_size": 0,
"total_entries": 0
},
"data": [
{
"id": "string",
"identifier": "string",
"title": "string",
"name": "string",
"first_name": "string",
"last_name": "string",
"email": "string",
"address_line_1": "string",
"address_line_2": "string",
"zip_code": "12345",
"city": "City",
"country_code": "276",
"customer": {
"type": "customer",
"id": "string",
"name": "string"
},
"vouchers": [
{
"type": "voucher",
"id": "string",
"token": "string"
}
]
}
],
"links": {
"self": "http://example.com",
"first": "http://example.com",
"prev": "http://example.com",
"next": "http://example.com",
"last": "http://example.com"
}
}