curl --location 'https://api.skyhub.com.br/orders/Lojas Americanas-1518430501155-01/invoice' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Accountmanager-Key: Api' \
--header 'X-Api-Key: {TOKEN DO SELLER}' \
--header 'X-User-Email: {EMAIL DO SELLER}' \
--data '{
"status": "order_invoiced",
"invoice": {
"key": "99999999999999999999999999999999999999999999",
"volume_qty": 1,
"issue_date": "2025-03-20T15:50:33.782Z"
}
}'
curl --location 'https://api.skyhub.com.br/orders/Lojas Americanas-1518430501155-01/delivery' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Accountmanager-Key: Api' \
--header 'X-Api-Key: {TOKEN DO SELLER}' \
--header 'X-User-Email: {EMAIL DO SELLER}' \
--data '{
"status": "complete",
"delivered_date": "13/03/2025"
}'
curl --location 'https://api.skyhub.com.br/orders/Lojas Americanas-1518430501155-01/shipments' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-Accountmanager-Key: Api' \
--header 'X-Api-Key: {TOKEN DO SELLER}' \
--header 'X-User-Email: {EMAIL DO SELLER}' \
--data '{
"status": "order_shipped",
"shipment": {
"code": "{code}",
"delivered_carrier_date": "2025-03-20T15:50:33.782Z",
"items": [
{
"sku": "4295312",
"qty": 5
}
],
"track": {
"code": "{Código de rastreio}",
"carrier": "Correios",
"method": "SEDEX",
"url": "www.correios.com.br"
}
}