Criar etiqueta
Changed onCria uma nova etiqueta para um pedido específico
Request
- Base URLhttps://api.dooki.com.br/v2
- URLhttps://api.dooki.com.br/v2/{alias}/orders/{orderId}/labels
- AuthAPI key in header User-Token and API key in header User-Secret-Key
Path parameters
Alias da loja
ID do pedido
Request body
Example request
{
"code": "123123123132",
"tracking_code": "P182371823713BR",
"tracking_url": "https://url.com/P182371823713BR",
"shipping_service": "pac",
"file_url": "https://url.com/label.pdf"
}Response
Etiqueta criada com sucesso
Example response
{
"data": [
{
"shipping_service": "pac",
"code": "123123123132",
"tracking_code": "P182371823713BR",
"tracking_url": "https://url.com/P182371823713BR",
"file_url": "https://url.com/label.pdf",
"created_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}
]
}Changes
- breaking
the
///response's property type changed fromstringtoobject, and format fromdate-timeto no format for status - breaking
the
///response's property type changed fromstringtoobject, and format fromdate-timeto no format for status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
the response optional property
///became not read-only for the status - info
the response optional property
///became not read-only for the status
- breaking