cURL
curl --request GET \ --url https://api.retailreadyai.com/api/orders/compliance_report/binary/{order_id} \ --header 'Authorization: Bearer <token>'
{ "filename": "compliance_report_g0f9e8d7-6i5j-4k3l-7m8n-9o0p4q5r6s7t.pdf", "mime_type": "application/pdf", "pdf_content": "JVBERi0xL..." }
Get a compliance report binary for an order. This returns base64 encoded PDF content.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully retrieved compliance report binary
Suggested filename of the content
"compliance_report_g0f9e8d7-6i5j-4k3l-7m8n-9o0p4q5r6s7t.pdf"
MIME type of the content
"application/pdf"
Base64 encoded PDF content
"JVBERi0xL..."