Retrieves information about the store's loyalty program info page content.
🔑Scopes
loyalty_program.read - Loyalty Program Read
Request
Header Params
Accept
string
required
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
Default:
application/json
Authorization
string
required
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.
Example:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Accept-Language
enum<string>
optional
Preferred language for the response. Defaults to en if not specified.
Allowed values:
enar
Example:
en
X-Manager-Token
string
required
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.
Store loyalty program info page content is retrieved successfully.
Body
status
string
optional
Indicates the overall status of the API response.
Example:
"success"
payload
object
optional
Contains the main content or data returned by the API.
title_ar
string
optional
The title of the content in Arabic.
Example:
"برنامج الولاء"
title_en
string
optional
The title of the content in English.
Example:
"Loyalty Program"
content_ar
string
optional
The HTML-formatted content in Arabic.
Example:
"<h4 style=\"margin-right:80px;\"><span style=\"background-color:hsl(30, 75%, 60%);\">مرحبًا بكم في برنامج الولاء الخاص بنا</span></h4><p>نحن نقدر ولاءكم ونقدم لكم مكافآت حصرية.</p><p> </p>"
content_en
string
optional
The HTML-formatted content in English.
Example:
"<h4 style=\"margin-right:80px;\"><span style=\"background-color:hsl(30, 75%, 60%);\">Welcome to our Loyalty Program</span></h4><p>We appreciate your loyalty and offer you exclusive rewards.</p><p> </p>"
message
object
optional
Contains additional information or messages related to the API response.
type
string
optional
Specifies the type of message.
Example:
"info"
code
null
optional
A code representing any specific message or error.
name
null
optional
A short, human-readable title or name for the message.
description
null
optional
A detailed description of the message.
Example
{"status":"\"success\"","payload":{"title_ar":"\"برنامج الولاء\"","title_en":"\"Loyalty Program\"","content_ar":"\"<h4 style=\\\"margin-right:80px;\\\"><span style=\\\"background-color:hsl(30, 75%, 60%);\\\">مرحبًا بكم في برنامج الولاء الخاص بنا</span></h4><p>نحن نقدر ولاءكم ونقدم لكم مكافآت حصرية.</p><p> </p>\"","content_en":"\"<h4 style=\\\"margin-right:80px;\\\"><span style=\\\"background-color:hsl(30, 75%, 60%);\\\">Welcome to our Loyalty Program</span></h4><p>We appreciate your loyalty and offer you exclusive rewards.</p><p> </p>\""},"message":{"type":"\"info\"","code":null,"name":null,"description":null}}