Skip to main content

Declare a receiving tolerance policy

POST 

/receiving-policies

Creates or replaces the tolerance policy of one (ownerRef, supplierRef) pair (ADR 0026) and publishes ReceivingPolicyDeclared. An absent ownerRef declares the house default (a client-owned receipt does not fall back to it: the lookup is exact-match). Per side 0 <= tolerance < hardStop <= 1, else 400 invalid-tolerance-band. 201 on create, 200 on replace; both answer the stored policy with its version.

Request​

Responses​

The policy was replaced.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when this response is the replay of a stored answer for the same Idempotency-Key.

    ETag

    Strong entity tag of the resource: the quoted version, for example "3".