POST
/
api
/
documents
/
bol
/
{order_id}
Attach BOL to an order
curl --request POST \
  --url https://api.retailreadyai.com/api/documents/bol/{order_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_content": "JVBERi0xL...",
  "file_name": "bol.pdf",
  "bill_of_lading_number": "12345689",
  "pro_number": "123-4567890",
  "carrier": "UPS FREIGHT",
  "carrier_alpha_code": "EXLA",
  "scheduled_delivery_date": "2024-10-19 07:00:00",
  "external_load_number": "LOAD-1234"
}'
{
  "message": "BOL uploaded successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

order_id
string
required

The ID of the order to attach the BOL to

Body

application/json

Response

200
application/json

Successfully uploaded BOL

The response is of type object.