curl --request POST \
--url https://api-ai.textyess.com/webhooks/new-order/{organizationId} \
--header 'Content-Type: application/json' \
--header 'x-auth-token: <api-key>' \
--data '
{
"id": "<string>",
"shipping_address": {
"first_name": "<string>",
"last_name": "<string>",
"address1": "<string>",
"address2": "<string>",
"phone": "<string>",
"city": "<string>",
"zip": "<string>",
"company": "<string>",
"country_code": "<string>",
"province": "<string>",
"country": "<string>"
},
"billing_address": {
"first_name": "<string>",
"last_name": "<string>",
"address1": "<string>",
"address2": "<string>",
"phone": "<string>",
"city": "<string>",
"zip": "<string>",
"company": "<string>",
"country_code": "<string>",
"province": "<string>",
"country": "<string>"
},
"created_at": "<string>",
"email": "<string>",
"customer": {
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>"
},
"order_number": 123,
"total_price": "<string>",
"payment_gateway_names": [
{}
],
"line_items": [
{
"price": "<string>",
"quantity": 123,
"title": "<string>",
"variant_title": "<string>"
}
],
"financial_status": "<string>",
"phone": "<string>",
"fulfillments": [
{
"id": "<string>",
"shipment_status": "<string>",
"tracking_company": "<string>",
"tracking_url": "<string>",
"tracking_urls": [
"<string>"
]
}
],
"order_status_url": "<string>"
}
'