Purchase

Get one purchase by ID or display ID, in the same shape as an item of the purchase list. Purchases in warehouses the caller cannot view are reported as not found.

get/shops/{SHOP_ID}/purchases/{PURCHASE_ID}

Request

  • Base URL
    https://pos.pages.fm/api/v1
  • URL
    https://pos.pages.fm/api/v1/shops/{SHOP_ID}/purchases/{PURCHASE_ID}
  • Auth
    API key in query parameter api_key

Path parameters

SHOP_IDinteger required
Example:4

Shop ID

PURCHASE_IDstring required
Example:fb056b32-9cf6-4c5a-92de-0eb94db71121

Purchase ID (UUID) or display ID

Response

Success

successboolean

Success status

Changes