Skip to main content

Retrieve delivery plan

The GET /pic/link/purchase-orders/delivery-plan/:id endpoint allows you obtain the delivery plan of a purchase order. πŸ‘”πŸ’ΌπŸ€

Authorization​

This endpoint requires authentication through Basic Auth with the username and password of the backend that will consume it. To create and configure a backend, follow the backends tutorial

Request parameters​


NameTypeDefaultDescription
idstringRequiredIdentifier of the purchase order

Examples​

curl --location 'https://<identifier>.api.appliqloud.com/pic/link/purchase-orders/delivery-plan/4500002' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>'

Responses​


The delivery plan was successfully retrieved

{
"purchaseOrderId":"450000001",
"deliveries":[
{
"date":"2024-08-11",
"items":[
{
"itemId":"10",
"quantity":3
}
]
},
{
"date":"2024-08-12",
"items":[
{
"itemId":"10",
"quantity":2
}
]
}
]
}