{
"id": "string",
"code": "string",
"companyId": "string",
"checkoutToken": "string",
"cartToken": "string",
"status": "Draft",
"customerId": "string",
"customerTin": "string",
"customerName": "string",
"customerCode": "string",
"currency": "aed",
"discountRate": 0,
"discountValue": 0,
"totalAmount": 0,
"netAmount": 0,
"vatAmount": 0,
"expenseAmount": 0,
"financialStatus": "Pending",
"fulfillmentStatus": "Fulfilled",
"billingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"shippingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"requiresCalculation": true,
"lines": [
{
"id": "string",
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"unitId": "string",
"salesUnitId": "string",
"quantity": 0,
"unitQuantity": 0,
"netValue": 0,
"price": 0,
"expenseValue": 0,
"priceValue1": 0,
"priceValue2": 0,
"priceValue3": 0,
"unitPrice": 0,
"lineValue": 0,
"discountValue": 0,
"discountRate": 0,
"vatValue": 0,
"vatRate": 0,
"vatCode": "string",
"sku": "string",
"dimension1Caption": "string",
"dimension2Caption": "string",
"dimension3Caption": "string",
"dimension1Value": "string",
"dimension2Value": "string",
"dimension3Value": "string"
}
],
"vatAnalysis": [
{
"vatRate": 0,
"vatAmount": 0,
"vatCode": "string",
"netAmount": 0
}
],
"tags": [
"string"
],
"sourceId": "string",
"sourceTags": [
"string"
],
"notes": "string",
"updateDate": "2019-08-24T14:15:22Z",
"insertDate": "2019-08-24T14:15:22Z",
"favorite": true,
"userId": "string",
"invoiceUrl": "string",
"notify": "string",
"notified": [
"string"
],
"customFields": [
{
"name": "string",
"value": null,
"translation": {
"value": {
"el": "string",
"en": "string",
"ro": "string",
"de": "string",
"fr": "string",
"it": "string",
"bg": "string",
"sq": "string",
"es": "string",
"ru": "string",
"pl": "string"
}
}
}
],
"shippingLine": {
"carrierId": "string",
"carrierCode": "string",
"title": "string",
"type": "Manual",
"netPrice": 0,
"totalAmount": 0,
"vatLines": [
{
"rate": 0,
"amount": 0
}
]
},
"giftLines": [
{
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"quantity": 0,
"vatCode": "string",
"imageLink": "string",
"productAlias": "string"
}
],
"expenseLines": [
{
"id": "string",
"netValue": 0,
"vatValue": 0
}
],
"payment": {
"id": "string",
"code": "string",
"provider": "OnePay",
"status": "Submitted",
"cardType": "Other",
"paymentDate": "2019-08-24T14:15:22Z",
"amount": 0,
"approvalCode": "string",
"cardNumber": "string",
"postDating": 0,
"installments": 0,
"bankId": "string",
"transactionId": "string"
}
}
curl --location --request PUT 'https://platform.shopranos.eu/api/Order/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"code": "string",
"companyId": "string",
"checkoutToken": "string",
"cartToken": "string",
"status": "Draft",
"customerId": "string",
"customerTin": "string",
"customerName": "string",
"customerCode": "string",
"currency": "aed",
"discountRate": 0,
"discountValue": 0,
"totalAmount": 0,
"netAmount": 0,
"vatAmount": 0,
"expenseAmount": 0,
"financialStatus": "Pending",
"fulfillmentStatus": "Fulfilled",
"billingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"shippingAddress": {
"address1": "string",
"address2": "string",
"firstName": "string",
"lastName": "string",
"city": "string",
"state": "string",
"country": "string",
"countryCode": "string",
"postalCode": "string",
"phoneNumber": "string",
"email": "user@example.com"
},
"requiresCalculation": true,
"lines": [
{
"id": "string",
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"unitId": "string",
"salesUnitId": "string",
"quantity": 0,
"unitQuantity": 0,
"netValue": 0,
"price": 0,
"expenseValue": 0,
"priceValue1": 0,
"priceValue2": 0,
"priceValue3": 0,
"unitPrice": 0,
"lineValue": 0,
"discountValue": 0,
"discountRate": 0,
"vatValue": 0,
"vatRate": 0,
"vatCode": "string",
"sku": "string",
"dimension1Caption": "string",
"dimension2Caption": "string",
"dimension3Caption": "string",
"dimension1Value": "string",
"dimension2Value": "string",
"dimension3Value": "string"
}
],
"vatAnalysis": [
{
"vatRate": 0,
"vatAmount": 0,
"vatCode": "string",
"netAmount": 0
}
],
"tags": [
"string"
],
"sourceId": "string",
"sourceTags": [
"string"
],
"notes": "string",
"updateDate": "2019-08-24T14:15:22Z",
"insertDate": "2019-08-24T14:15:22Z",
"favorite": true,
"userId": "string",
"invoiceUrl": "string",
"notify": "string",
"notified": [
"string"
],
"customFields": [
{
"name": "string",
"value": null,
"translation": {
"value": {
"el": "string",
"en": "string",
"ro": "string",
"de": "string",
"fr": "string",
"it": "string",
"bg": "string",
"sq": "string",
"es": "string",
"ru": "string",
"pl": "string"
}
}
}
],
"shippingLine": {
"carrierId": "string",
"carrierCode": "string",
"title": "string",
"type": "Manual",
"netPrice": 0,
"totalAmount": 0,
"vatLines": [
{
"rate": 0,
"amount": 0
}
]
},
"giftLines": [
{
"productId": "string",
"productVariantId": "string",
"productTitle": "string",
"quantity": 0,
"vatCode": "string",
"imageLink": "string",
"productAlias": "string"
}
],
"expenseLines": [
{
"id": "string",
"netValue": 0,
"vatValue": 0
}
],
"payment": {
"id": "string",
"code": "string",
"provider": "OnePay",
"status": "Submitted",
"cardType": "Other",
"paymentDate": "2019-08-24T14:15:22Z",
"amount": 0,
"approvalCode": "string",
"cardNumber": "string",
"postDating": 0,
"installments": 0,
"bankId": "string",
"transactionId": "string"
}
}'
{}