Shipments
Create shipment
Create a new shipment with a tracking code for a specific payment within a company.
Required permissions:
- shipment:create
- payment:basic:read
post/shipments
Request body
Example request
{
"company_id": "biz_xxxxxxxxxxxxxx",
"payment_id": "pay_xxxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"delivery_estimate": "2023-12-01T05:00:00.401Z",
"id": "ship_xxxxxxxxxxxxx",
"payment": {
"id": "pay_xxxxxxxxxxxxxx"
},
"service": "Priority",
"tracking_code": "9400111899223456789012",
"updated_at": "2023-12-01T05:00:00.401Z"
}