curl --request GET \
--url https://api.pricenow.dev/api/orders \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": [
{
"id": 123,
"accountId": 123,
"purchasedAt": "2023-11-07T05:31:56Z",
"lastUpdateAt": "2023-11-07T05:31:56Z",
"status": "PAID",
"referenceNumber": "<string>",
"currency": "<string>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"metadata": {
"weatherGuarantee": {}
}
}
],
"totalAmount": 123
}Get all orders of the current account.
curl --request GET \
--url https://api.pricenow.dev/api/orders \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": [
{
"id": 123,
"accountId": 123,
"purchasedAt": "2023-11-07T05:31:56Z",
"lastUpdateAt": "2023-11-07T05:31:56Z",
"status": "PAID",
"referenceNumber": "<string>",
"currency": "<string>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"metadata": {
"weatherGuarantee": {}
}
}
],
"totalAmount": 123
}Language of the response
en, de, fr, it UUID of the sales channel
PAID, CREATED, REFUNDED, CANCELLED, PARTIALLY_CANCELLED, PARTIALLY_REFUNDED, RESERVED, PENDING