{
"firstName": string,
"lastName": string,
"email": string,
"country": string, # one of: Canada, United States
"locationId": string,
"mobileNum": string
}
Null
201: Created (success)
403: Permission denied (invalid api key)
400: Invalid content type in header (not application/json)
400: Invalid request body argument
409: Consumer with same id/email/mobile number already exists
{
"firstName": string,
"lastName": string,
"email": string,
"country": string, # one of: Canada, United States
"locationId": string,
"mobileNum": string
}
{
"id": string,
"firstName": string,
"lastName": string,
"email": string,
"country": string,
"locationId": string,
"mobileNum": string,
"verificationStatus": boolean
}
201: Created (success)
403: Permission denied (invalid api key)
400: Invalid content type in header (not application/json)
400: Invalid request body argument
409: Consumer with same id/email/mobile number already exists
None
{
"id": string,
"firstName": string,
"lastName": string,
"email": string,
"country": string,
"locationId": string,
"mobileNum": string,
"verificationStatus": boolean
}
200: Return (success)
403: Permission denied (invalid api key)
404: Consumer not found given id
None
Null
204: No content (success)
403: Permission denied (invalid api key)
404: Consumer not found given id
{
"firstName": string,
"lastName": string,
"email": string,
"country": string, # one of: Canada, United States
"locationId": string,
"mobileNum": string,
"vehicleType": string
}
Null
201: Created (success)
403: Permission denied (invalid api key)
400: Invalid content type in header (not application/json)
400: Invalid request body argument
409: Courier with same id/email/mobile number already exists
{
"firstName": string,
"lastName": string,
"email": string,
"country": string, # one of: Canada, United States
"locationId": string,
"mobileNum": string,
"vehicleType": string
}
{
"id": string,
"firstName": string,
"lastName": string,
"email": string,
"country": string,
"locationId": string,
"mobileNum": string,
"vehicleType": string,
"verificationStatus": boolean
}
201: Created (success)
403: Permission denied (invalid api key)
400: Invalid content type in header (not application/json)
400: Invalid request body argument
409: Courier with same id/email/mobile number already exists
None
{
"id": string,
"firstName": string,
"lastName": string,
"email": string,
"country": string,
"locationId": string,
"mobileNum": string,
"vehicleType": string,
"verificationStatus": boolean
}
200: Return (success)
403: Permission denied (invalid api key)
404: Courier not found given id
None
Null
204: No content (success)
403: Permission denied (invalid api key)
404: Courier not found given id
{
"error": {
"message": string,
"details": string,
"status": string
}
}