Authorization: ********************
{
"id": "your_order_id",
"app_execution_id": "app_exec_1234",
"type": "physical_goods",
"contact": {
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"key": "value"
}
},
"items": [
{
"name": "Product 1",
"amount": 12000,
"quantity": 2,
"sale_amount": 12000
}
],
"expiration": {
"timestamp": 1711929600,
"description": "Sorry, the event is booked."
},
"currency": "INR",
"subtotal": 12380,
"tax": {
"value": 1200,
"description": "GST"
},
"shipping": {
"value": 15000,
"description": "Prime shipping"
},
"discount": {
"value": 1000,
"description": "10OFF on first purchase"
},
"total_amount": 200
}
curl --location --request POST '/orders' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"id": "your_order_id",
"app_execution_id": "app_exec_1234",
"type": "physical_goods",
"contact": {
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"key": "value"
}
},
"items": [
{
"name": "Product 1",
"amount": 12000,
"quantity": 2,
"sale_amount": 12000
}
],
"expiration": {
"timestamp": 1711929600,
"description": "Sorry, the event is booked."
},
"currency": "INR",
"subtotal": 12380,
"tax": {
"value": 1200,
"description": "GST"
},
"shipping": {
"value": 15000,
"description": "Prime shipping"
},
"discount": {
"value": 1000,
"description": "10OFF on first purchase"
},
"total_amount": 200
}'
{
"id": "your_order_id",
"app_execution_id": "app_exec_1234",
"type": "physical_goods",
"contact": {
"name": "Alfred Hitchcock",
"email": "alfred@example.com",
"phone_number": "+19019019191 or +919876543210",
"metadata": {
"key": "value"
}
},
"items": [
{
"name": "Product 1",
"amount": 12000,
"quantity": 2,
"sale_amount": 12000
}
],
"expiration": {
"timestamp": 1711929600,
"description": "Sorry, the event is booked."
},
"currency": "INR",
"subtotal": 12380,
"tax": {
"value": 1200,
"description": "GST"
},
"shipping": {
"value": 15000,
"description": "Prime shipping"
},
"discount": {
"value": 1000,
"description": "10OFF on first purchase"
},
"total_amount": 200
}