photo POST
https://api.innovabrasil.com.br/photo
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| order_increment_id | string | order increment_id do Magento |
YES |
| product_sku | string | Product SKU Magento |
YES |
| quote_item_id | int | Quote Item Id do pedido no Magento |
YES |
| photo | file | Arquivo de Imagem (Foto) |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/json |
| Content-Type | application/json
multipart/form-data |
| Authorization | Bearer token |
Request Body
{
"order_increment_id" : "10000001",
"product_sku": "skuproduct",
"quote_item_id": "77",
"photo": FILE
}
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 201: Created
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Response Body
{
"id": 5,
"album_id": 5,
"photo": "20250625210336177954919.jpg",
"order": 0,
"created_at": "2025-06-25 20:58:25",
"updated_at": "2025-06-25 21:03:36",
"order_increment_id": "10000001",
"product_sku": "skuproduct",
"quote_item_id": "77",
"url_image": "http://apifiles.intranet/img/albums/10000001-77/20250625210336177954919.jpg",
"url_image_thumb": "http://apifiles.intranet/img/albums/10000001-77/thumb/20250625210336177954919.jpg"
}