v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Supplier Invoices

Link a purchase request to a supplier invoice

This endpoint allows you to link a purchase request to a supplier invoice.

You can link one purchase request with one supplier invoice at a time. To link multiple purchase request to a supplier invoice, you need to call this endpoint multiple times. It's possible to link a purchase request to multiple supplier invoices too.

ℹ️ This endpoint requires the following scope: supplier_invoices:all

post/api/external/v2/supplier_invoices/{supplier_invoice_id}/linked_purchase_requests

Path parameters

supplier_invoice_idinteger required

Request body

purchase_request_idinteger required

ID of the Purchase request

Example request

{
  "purchase_request_id": 42
}

Response

Purchase request linked successfully