Purchase

Get a single purchase by its ID, returned as the full purchase shape (line items, charges, active payments, and custom data). Drafts are returned too, with status DRAFT. Purchases outside your company are not found (404).

Required permission: purchases_permissions_view, plus access to the purchase under the authenticated user's team restrictions.

get/public/v1/purchases/{id}

Request

  • Base URL
    https://app.distru.com
  • Auth
    HTTP bearer

Path parameters

idstring required

Purchase ID

Response

A single purchase

Changes

    • warning

      added the new DRAFT enum value to the / response property for the response status

    • info

      added the required property // to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property // to the response with the status