Customer Profile
GET
v1/managers/store/customers/5835Retrieves detailed information about a specific customer, including their loyalty program data.
Request
Determines the attribute by which the results should be ordered. This parameter allows sorting based on a specific field, such as points or name.
Specifies the direction of sorting. This parameter allows sorting in ascending or descending order.
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
The User-Agent header contains information about the user agent (browser or app) making the request. It allows the server to provide a tailored response depending on the user agent's capabilities and preferences.
Preferred language for the response. Defaults to en
if not specified.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Request samples
Responses
Indicates the overall status of the API response.
Contains detailed information about the error encountered.
Specifies the type of message.
A specific code representing the error type.
A short, human-readable title or name for the error message.
A detailed description of the error, providing more context about what went wrong.
{
"status": "\"error\"",
"message": {
"type": "\"error\"",
"code": "\"ERROR_SESSION_INVALID\"",
"name": "\"عذراً\"",
"description": "\"انتهت فترة جلسة استخدام التطبيق، الرجاء تسجيل الدخول مرة أخرى\""
}
}