EndpunkteAssignmentsResourcesIdLending
Read the resource lending policy
Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.
GET
bearerAuthheader
AuthentifizierungBearer <inv_ token>id*stringFormat
uuidX-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
Format
uuidResource lending policy, with disabled defaults when none has been stored
application/json- response
lending*curl -X GET 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/lending'Beispielantwort
{ "lending": { "enabled": true, "approvalRequired": true, "defaultDurationDays": 1, "maxDurationDays": 1 }}Check out, assign, or reserve inventory POST
Atomically creates an active loan or assignment and updates stock. A future reservation blocks its time window without changing current stock; its serialized unit is selected during checkout.
Enable or configure loans for an inventory item PATCH
Nächste Seite