Get customer
Get a single customer
URL: GET https://api.scriptix.io/api/v3/reseller/customer/{Id}/
Request headers
The following headers need to be present
Parameter | Value | Description |
---|---|---|
x-zoom-s2t-key | Scriptix Reseller API Token | API key of type Reseller needed for authorization |
Request path arguments
Argument | Description |
---|---|
Id | ID of customer |
Responses
Status code | Description |
---|---|
200 | Customer |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Server Error |
HTTP 200 OK
Content-type: application/json
Response: APIResultResponse<ResellerCustomer>
JSON Response
{
"result": {
"id": 1,
"name": "Acme Inc.",
"email": "[email protected]",
"phone": "+31 012 345678",
"is_active": true,
"registration_date": "2021-01-25T10:31:46.960411+00:00",
"last_modified": "2021-01-25T10:31:46.960411+00:00"
},
"count": 1,
"total_results": 1
}