Skip to main content

Create a new purchase request

POST 

/purchase-requests

Creates a new purchase request in draft status. All fields are optional in draft state. Returns the full newly created purchase request so the caller does not need a follow-up GET.

Permissions: requires purchase-requests:write (granted by can_buy). Setting payment_method=INVOICE additionally requires can_pay_on_invoice; setting buyer_code to another user requires can_purchase_on_behalf. Both yield 403 otherwise.

Request​

Responses​

Purchase request created successfully

Response Headers
    Location

    URL of the created resource