get https://api-staging.pluralonline.com/api/v1/customer/fetch/?customer_token=TsLrJUk0oqAwoqpKSYBflQ==
Use the below endpoint to Fetch Customer with Token
Request Parameters:
Attribute | Type | Details |
---|---|---|
customer_token* | string | vaild Token to be set for the customer. |
Request Query Param:
customer_token=TsLrJUk0oqAwoqpKSYBflQ==
Response Payload:
{
"country_code": "91",
"mobile_no": "xxx",
"status": "INACTIVE",
"customer_token": "TsLrJUk0oqAwoqpKSYBflQ=="
}
{
"error_code": "16250",
"error_message": "INVALID_CUSTOMER_TOKEN"
}
{
"error_code": "16050",
"error_message": "CUSTOMER_NOT_FOUND"
}
{
"error_code": "16010",
"error_message": "Oops, something went wrong!"
}