{
"sub_total": 100,
"discount": "10",
"shopping_cost": 15,
"total": 90,
"payment_method": "stripe",
"date": "2024-07-01 22:05:00",
"customer": {
"name": "Lamha Customer",
"phone1": "+966512345678",
"phone2": "+966512345678",
"Country": "SA",
"District": "البوادي",
"City": "Jeddah",
"AddressLine1": "جدة , البوادي , بجوار مخبز الØÙ…د",
"AddressLine2": "",
"email": "",
"national_address": ""
},
"items": [
{
"name": "شنطة جلد",
"quantity": 1,
"Sku": "123",
"amount": "10",
"weight": "0.5"
},
{
"name": "ساعة يد منقوشة",
"quantity": 3,
"Sku": "123456",
"amount": "25",
"weight": "1"
}
],
"callback_url": "https://webhook.site/66c8e131-72a0-4adc-9ba1-3861c6e5e817",
"callback_pdf_url": "https://webhook.site/66c8e131-72a0-4adc-9ba1-3861c6e5e817"
}curl --location --request PUT 'https://app.lamha.sa/api/v2/order/79311' \
--header 'X-LAMHA-TOKEN: Lamha_rPAHG9wey1xjYJErCz9678EuBkyExIzOksbHygh0' \
--header 'Content-Type: application/json' \
--data-raw '{
"sub_total": 100,
"discount": "10",
"shopping_cost": 15,
"total": 90,
"payment_method": "stripe",
"date": "2024-07-01 22:05:00",
"customer": {
"name": "Lamha Customer",
"phone1": "+966512345678",
"phone2": "+966512345678",
"Country": "SA",
"District": "البوادي",
"City": "Jeddah",
"AddressLine1": "جدة , البوادي , بجوار مخبز الØÙ…د",
"AddressLine2": "",
"email": "",
"national_address": ""
},
"items": [
{
"name": "شنطة جلد",
"quantity": 1,
"Sku": "123",
"amount": "10",
"weight": "0.5"
},
{
"name": "ساعة يد منقوشة",
"quantity": 3,
"Sku": "123456",
"amount": "25",
"weight": "1"
}
],
"callback_url": "https://webhook.site/66c8e131-72a0-4adc-9ba1-3861c6e5e817",
"callback_pdf_url": "https://webhook.site/66c8e131-72a0-4adc-9ba1-3861c6e5e817"
}'{
"success": true,
"msg": "The Order has been Update",
"order_id": 79311
}