Accept a quote and create shipment
POST/accept-quote
Purpose (Flow B, step 2): Accept one live quote from POST /quotes and create the shipment.
Required body: full shipment payload (same shape as /quotes) plus carrierId from the /quotes response. Cargors creates the RFQ internally, accepts the quote, and returns shipment details + label URL.
Do not use this endpoint for RFQ Flow C — if you already have an RFQ and quoteId, use POST /rfqs/{rfqId}/accept-quote instead (no full payload needed). When called with a DEVELOPMENT API key, this endpoint validates and returns a sample response only.
Request
Responses
- 200
- 400
- 403
- 404
- 422
- 500
Quote accepted/validated. With DEVELOPMENT keys this is a sample response; with PRODUCTION keys a real shipment is created.
Bad request.
API key is invalid or expired.
Shipper, carrier quote, or shipment not found.
Quote acceptance processing validation error.
Internal server error.