Orders

Generate an RMT receipt document for an order

Generate a Registered Massage Therapist (RMT) receipt document for a submitted or settled order. Only available for Canadian sites.

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 403 Forbidden when the site is not a Canadian site. Returns 422 Unprocessable Entity when the order has not been checked out.

get/shop/orders/{orderId}/rmt-receipt

Response

The generated Registered Massage Therapist (RMT) 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.