Skip to content

Get Purchase Order ​

Returns the details of a single purchase order.

Required license

This endpoint requires the Stock management add-on.

Request ​

GET /api/oauth/v2/resource/wares/purchases/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters ​

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique ID of the purchase order

Response ​

Success (200 OK) ​

json
{
  "data": {
    "id": "e5f6a7b8-c9d0-1234-efab-234567890123",
    "amount": 50,
    "notice": "Nachbestellung Q3",
    "createdAt": "2026-08-10T08:30:00+02:00",
    "updatedAt": "2026-08-10T08:30:00+02:00",
    "createdBy": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "updatedBy": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "ware": "c3d4e5f6-a7b8-9012-cdef-012345678901"
  }
}

Note: A completed purchase order is deleted and no longer exists — this endpoint then returns 404, not 200 with a status. See List Purchase Orders for full sync details.

Response fields ​

See List Purchase Orders for the full field reference — the data object here has the same fields as one entry of data[] there.

Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares/purchases/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope wares not present, or Stock management add-on not licensed
404not_foundPurchase order not found, already completed, or not permitted for the related ware

Offisy GmbH