Upload gift card designs
POST
v1/managers/store/gift-card-uploadUpload new designs for gift cards.
Request
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.
Preferred language for the response. Defaults to en
if not specified.
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.
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.
Array of design file objects to be uploaded.
The local path to the design file to be uploaded.
Request samples
Responses
Array containing the URLs of the successfully uploaded gift card designs.
{
"status": "object",
"payload": [
"https://zid-testing.s3-accelerate.amazonaws.com/public/gift_cards/a65e385b-6a12-4bb9-b347-d1ebddb7c067-WhatsApp%20Image%202023-03-23%20at%2011.50.52.png"
],
"message": {
"type": "object",
"code": "string",
"name": "string",
"description": "string"
}
}