{
"paymentProvider": "OnePay",
"paymentProviderId": "string",
"customerId": "string",
"customerSourceId": "string",
"customerCode": "string",
"totalAmount": 0,
"netAmount": 0,
"vatAmount": 0,
"expenseAmount": 0,
"discountRate": 0,
"discountValue": 0,
"giftLines": [
{
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"quantity": 0,
"vatCode": "string",
"imageLink": "string",
"productAlias": "string"
}
],
"items": [
{
"productId": "string",
"productVariantId": "string",
"sku": "string",
"quantity": 0,
"netValue": 0,
"initialUnitPrice": 0,
"unitPrice": 0,
"initialPrice": 0,
"price": 0,
"lineValue": 0,
"expenseValue": 0,
"discountValue": 0,
"discountRate": 0,
"vatValue": 0,
"vatRate": 0,
"vatCode": "string"
}
],
"vatAnalysis": [
{
"vatRate": 0,
"vatAmount": 0,
"vatCode": "string",
"netAmount": 0
}
],
"expenseLines": [
{
"id": "string",
"netValue": 0,
"vatValue": 0
}
]
}
curl --location --request POST 'https://platform.shopranos.eu/api/Connector/CalculatePrices' \
--header 'Content-Type: application/json' \
--data-raw '{
"paymentProvider": "OnePay",
"paymentProviderId": "string",
"customerId": "string",
"customerSourceId": "string",
"customerCode": "string",
"totalAmount": 0,
"netAmount": 0,
"vatAmount": 0,
"expenseAmount": 0,
"discountRate": 0,
"discountValue": 0,
"giftLines": [
{
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"quantity": 0,
"vatCode": "string",
"imageLink": "string",
"productAlias": "string"
}
],
"items": [
{
"productId": "string",
"productVariantId": "string",
"sku": "string",
"quantity": 0,
"netValue": 0,
"initialUnitPrice": 0,
"unitPrice": 0,
"initialPrice": 0,
"price": 0,
"lineValue": 0,
"expenseValue": 0,
"discountValue": 0,
"discountRate": 0,
"vatValue": 0,
"vatRate": 0,
"vatCode": "string"
}
],
"vatAnalysis": [
{
"vatRate": 0,
"vatAmount": 0,
"vatCode": "string",
"netAmount": 0
}
],
"expenseLines": [
{
"id": "string",
"netValue": 0,
"vatValue": 0
}
]
}'
{}