Endpoint: https://{base_url}/v1/shipments/
Method: POST
Headers:
JWT {id_token}
application/json
application/json
Payload:
Response codes:
Due to a trigger in the API, when it is necessary to group the submissions, the following rules must be observed
curl --location 'http://{base_url}/v1/shipments/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: JWT {id_token}' \
--data '{
"seller": "dfb888d6-6a5d-4c0e-b7e3-546f0f74a3fb",
"packages": ["10e0f9a3-7bb3-4f51-8b26-c65888e0a5b6", "0d569eb3-3574-40e9-818b-b3e62a0d1fc1"]
}'
{
"seller": "dfb888d6-6a5d-4c0e-b7e3-546f0f74a3fb",
"packages": ["10e0f9a3-7bb3-4f51-8b26-c65888e0a5b6", "0d569eb3-3574-40e9-818b-b3e62a0d1fc1"]
}
What's Next
Retrieving a Shipment