Retrieve details about an existing order.
GET https://www.prayerletters.com/api/v1/orders/{order_id}

URL Parameters

order_id
The ID of the order to be retrieved.

Successful Response

HTTP/1.1 200 OK
{ "contents" : [ { "color" : true, "duplex" : false, "file" : "f-13g-wt17", "height" : 11, "landscape" : true, "merge" : [ { "align" : "left", "color" : "#000000", "font" : "f-0ac-wvz4", "page" : 1, "size" : 12, "text" : "Dear {greeting},", "x" : 1, "y" : 9.1 } ], "paper_type" : "p-0gf-e7ye", "type" : "sheet", "width" : 8.5 }, { "color" : false, "cols" : 1, "duplex" : false, "file" : "f-14g-9t2a", "height" : 3.667, "paper_type" : "p-0gf-e7ye", "rows" : 3, "type" : "sheet", "width" : 8.5 }, { "envelope_type" : "e-0e4-qp2v", "height" : 3.875, "outer" : false, "type" : "envelope", "width" : 8.875 }, { "envelope_type" : "e-0e4-qp2v", "height" : 4.125, "logo" : "l-01x-qbeh", "outer" : true, "type" : "envelope", "width" : 9.5 } ], "id" : "m-04f-hw3q", "invoice_amount" : 150.75, "rush" : false, "timeline" : { "created" : "2024-04-19T11:21:28", "mailed" : null }, "type" : "order" }

Error Response

403 orders.permission_error
You need the orders.read scope to perform this action.