Print Bill of Lading (BOL) (New)

Call this endpoint to generate and print Bill of Lading (BOL) for booked shipments. Once the LTL shipment is booked successfully you can call the Print BOL API to download the BOL document in PDF format.

Note: This page shows examples using only the required parameters and inputs for printing Bill of Lading (BOL). For a full list of customization options and additional capabilities, refer to the Marketplace Fulfillment API Reference.

Endpoint

GET https://marketplace.walmartapis.com/v4/fulfillment/inbound-shipments-bol/?shipmentId={shipmentId}&mode=LTL

Sample request

This sample request downloads the Bill of Lading (BOL) in PDF format for a specific inbound shipment and shipping mode.

curl --request GET \ --url https://marketplace.walmartapis.com/v4/fulfillment/inbound-shipments-bol/?shipmentId={shipmentId}&mode=LTL \ --header 'accept: application/pdf'
import requests url = "https://marketplace.walmartapis.com/v4/fulfillment/inbound-shipments-bol/?shipmentId={shipmentId}&mode=LTL"
headers = { "accept": "application/pdf"
} response = requests.get(url, headers=headers)
print(response.status_code)
print(response.content) # PDF content

Modify your code

Replace all placeholder values with your actual shipment data before making the API request.

  • Authorization - Replace with your actual Base64-encoded credentials.
  • WM_QOS.CORRELATION_ID - Use a unique correlation UUID to track the request.
  • WM_SEC.ACCESS_TOKEN - Replace with your valid access token obtained through authentication.

Sample response

If the Bill of Lading (BOL) is ready, the API returns a status OK indicating the document is available.
When successful, the response includes the PDF file of the BOL.

{ "status": "OK"
}

Result

If the request is successful, the response returns a 200 OK status.