API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/purchase_orders/{id}/receive

POST/v1/purchase_orders/{id}/receive

Wareneingang buchen (partiell oder vollständig).

Data model

This operation works on the entity Purchase Order (purchase_order). All 33 fields — type, validation, required status, relationships — are listed in the schema reference.

Request body

NameTypeDescription
versioninteger
actualDeliveryDatestring<date-time>
receiptsrequiredobject[]

Path parameters

NameTypeDescription
idrequiredstring

Example

curl -X POST https://api.codemeta-os.de/v1/purchase_orders/{id}/receive \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "version": 0,
  "actualDeliveryDate": "string",
  "receipts": []
}'
const result = await cm.purchase_orders.post({
  "version": 0,
  "actualDeliveryDate": "string",
  "receipts": []
});

Response codes

HTTP Meaning
200 Default Response

Search