Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
ID of the Purchase request
Example:
42
Response
Purchase request linked successfully
curl --request POST \
--url https://app.pennylane.com/api/external/v2/supplier_invoices/{supplier_invoice_id}/linked_purchase_requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"purchase_request_id": 42
}'
This response does not have an example.
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 one of the following scopes:
supplier_invoices:all
curl --request POST \
--url https://app.pennylane.com/api/external/v2/supplier_invoices/{supplier_invoice_id}/linked_purchase_requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"purchase_request_id": 42
}'
This response does not have an example.
The access token received from the authorization server in the OAuth 2.0 flow.
ID of the Purchase request
42
Purchase request linked successfully
Was this page helpful?