Orders
Generate a tax receipt document for an order
Generate a tax receipt document for a settled order.
Pass an Accept: text/html request header to receive an HTML body in the response when the generator produces one. Without the header, callers always receive the structured JSON form.
Returns 422 Unprocessable Entity when the order has not been checked out.
get/shop/orders/{orderId}/tax-receipt
Response
The generated tax receipt document. Either JSON (default) or HTML when the site's generator produces it and the request opted in via Accept: text/html.
Example response
{
"data": {
"type": "json"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.