Services
Create a service
Create a new service for a shipment.
What happens
- Service is created for the specified shipment
- Vendor is associated with the service
- Charges are recorded
Note
Services are typically created as part of shipment creation. Use this endpoint to add additional services to an existing shipment.
post/services
Request body
Response
Service created successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "SVC-12345",
"vendor": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-VENDOR-ABC-001",
"friendlyId": "V123456",
"name": "ABC Warehouse Services",
"email": "billing@abcwarehouse.com",
"phone": "+1-555-123-4567",
"status": "ACTIVE",
"currency": "USD",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
},
"charges": [
{
"chargeCode": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-USER-12345"
}
}
]
}