Get Customers
Changed onRetrieves the customers.
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"page": 1
}Response
Example response
{
"current_page": 1,
"data": [
{
"id": 3,
"email": "reseller@sellauth.test",
"username": null,
"anonymous_feedback": false,
"username_locked_at": null,
"discord_id": null,
"discord_username": null,
"balance": "100.00",
"total_completed": 0,
"total_spent_usd": "0.00",
"last_completed_at": null,
"newsletter_at": null,
"affiliate_code": null,
"affiliate_referrer_id": null,
"affiliate_referrer": null
},
{
"id": 2,
"email": "customer-240@sellauth.test",
"username": null,
"anonymous_feedback": false,
"username_locked_at": null,
"discord_id": null,
"discord_username": null,
"balance": "0.00",
"total_completed": 0,
"total_spent_usd": "0.00",
"last_completed_at": null,
"newsletter_at": null,
"affiliate_code": null,
"affiliate_referrer_id": null,
"affiliate_referrer": null
},
{
"id": 1,
"email": "customer@sellauth.test",
"username": null,
"anonymous_feedback": false,
"username_locked_at": null,
"discord_id": null,
"discord_username": null,
"balance": "100.00",
"total_completed": 0,
"total_spent_usd": "0.00",
"last_completed_at": null,
"newsletter_at": null,
"affiliate_code": "PARTNER10",
"affiliate_referrer_id": null,
"affiliate_referrer": null
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/customers?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/customers?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/customers?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/customers",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
added the optional property
//to the response with the status
- breaking
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info