EndpunktePurchasingPurchase ordersOrderidLinesLineidReceipts
Receive all or part of an ordered line into physical stock
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.
POST
bearerAuthheader
AuthentifizierungBearer <inv_ token>orderId*stringFormat
uuidlineId*stringFormat
uuidIdempotency-Key*stringUUID identifying this atomic operation; reuse it only to retry the exact same request.
Format
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
uuidapplication/json- body
quantity*integerReceipt quantity in base stock units.
Bereich
1 <= value <= 1000purchaseQuantity?integerReceipt quantity in the purchase unit snapshotted on the order line.
Bereich
1 <= value <= 1000000receivedAt?stringFormat
date-timelocation?|Länge
length <= 240note?stringLänge
length <= 20000unitCodes?array<>Replayed the original goods receipt
curl -X POST 'https://inventory.example.com/api/v1/purchase-orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/lines/497f6eca-6276-4993-bfeb-53cbbbba6f08/receipts' \ -H 'Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Beispielantwort
Leer