photoupdate POST
https://api.innovabrasil.com.br/photoupdate
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| id | int | ID da Foto persistido na API |
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
{
"id": "3",
"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": 3,
"album_id": 4,
"photo": "20250624231411696110797.jpg",
"order": 0,
"created_at": "2025-06-24 23:04:33",
"updated_at": "2025-06-24 23:14:16",
"order_increment_id": "123",
"product_sku": "skuproduct",
"url_image": "http://apifiles.intranet/img/albums/1232117361/20250624231411696110797.jpg",
"url_image_thumb": "http://apifiles.intranet/img/albums/1232117361/thumb/20250624231411696110797.jpg"
}