Add gift card image¶
You can assign an image to a gift card by using the following endpoint:
Body parameters¶
-
The file must be in .png or .jpg format.
-
Use Content-Type: multipart/form-data.
-
The file field must be named gift_card_image.
Endpoint response¶
Status code: 200¶
{
"msg": "Imagen de tarjeta regalo asignada correctamente.",
"extra_info": {
"metadata": [
{
"id": 13,
"original_name": "imagen de prueba.pdf",
"key": "gift_cards/9e3037ef-6cf7-4625-8483-4ed2a6317bef.pdf"
}
]
}
}