Attachments
Autorizações
Parâmetros de rota
order_idstringObrigatório
Corpo
filesstring · binary[]Obrigatório
Respostas
201
Attachment(s) add successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
post
POST /api/sales/orders/{order_id}/attachments HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 20
{
"files": [
"binary"
]
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"type": "text"
}