Product Badge
GET
v1/badges/This endpoint retrieves a list of all predefined store badges available to the merchant.
Request
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.
Preferred language for the response. Defaults to en
if not specified.
Role of the user.
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
Request samples
Responses
An object containing localized text for the badge body.
(Optional) Boolean indicating if the object is an example badge (true) or intended for real use (false).
(Optional) Object defining the badge icon.
{
"data": [
{
"body": {
"ar": "منتج مميز",
"en": "Special Product"
},
"is_example": true,
"icon": null
}
]
}