Webhook

order created { "event" "order created", "payload" { " id" "6410a184d806b3b2b9010078", "tenant id" 1005, "merchant id" "633ec9d2f2580c845c0fa515", "user id" 3477, "user" { "id" 3477, "tenant id" 1005, "first name" "jamie", "last name" "stephens", "mobile" "+447841582147", "mobile verified at" null, "email" "jamie\@crispandfry co uk", "email verified at" null, "country code" "gb", "is new user" true, "status" 1, "created at" "2023 03 14t16 30 54 000000z", "updated at" "2023 03 14t16 30 54 000000z", "deleted at" null, "tenants limit" 3, "full name" "jamie stephens", "status name" "active", "is email verified" false, "is mobile verified" false, "roles" \[ "t1004" ], "permissions" \[ "manageuser" ], "admin tenants" \[], "merchant users" \[], "social accounts" \[], "redirect panel" "tenant" }, "cart" { " id" "6410a105d0c440632b0590e5", "tenant id" 1005, "cart items" \[ { "merchant id" "633ec9d2f2580c845c0fa515", "product id" "63437e37d41d765a630b506c", "item image url" "https //cdn upload hyperzod app/public/1005/images/9559e455 1436 4460 8b06 b24294f49cbd png", "product name" "bigmuscles nutrition premium gold whey 1kg whey protein isolate blend | usa fda regd brand", "quantity" 1, "product price" 55, "product options" \[], "discount rate" 0, "tax percent" 0, "sub total amount" 55, "product price formatted" "€55 00", "sub total amount formatted" "€55 00", "sub total amount with tax" 55, "tax" 0, "sub total amount with tax formatted" "€55 00", "tax formatted" "€0 00" } ], "total items" 1, "total amount" 59 16, "is updated" false, "updated at" "2023 03 14t16 32 04 891000z", "created at" "2023 03 14t16 29 57 511000z", "raw calculation" { "delivery fee" 4, "delivery tax" 0 16, "sub total amount" 55, "tax" 0, "total amount" 59 16 }, "sub total amount" 55, "message" \[ "cart does not have options" ], "custom charges" \[], "delivery fee" 4, "delivery tax" 0 16, "is delivery tax applied" true, "tax" 0, "user id" 3477, "cart id" "6410a105d0c440632b0590e5", "total amount formatted" "€59 16", "sub total amount formatted" "€55 00", "discount amount formatted" "€0 00", "tax formatted" "€0 00", "delivery fee formatted" "€4 00", "delivery tax formatted" "€0 16", "currency setting" { "code" "eur", "symbol direction" "left", "symbol type" "symbol native", "symbol" "€", "symbol native" "€" } }, "merchant" { " id" "633ec9d2f2580c845c0fa515", "tenant id" 1005, "phone" null, "language translation" \[ { "locale" "en", "key" "name", "value" "alex medicine" } ], "email" "a\@gmail com", "address" "13505 geneva street", "delivery by" "tenant", "accepted order types" \[ "delivery" ], "merchant package id" null, "commission" { "type" "percentage", "value" 10, "calculate on status" 1 }, "group ids" \[], "merchant category ids" \[], "status" true, "delivery amount" 4, "min order amount" 0, "average rating" 0, "is accepting orders" true, "is open" true, "merchant id" "633ec9d2f2580c845c0fa515", "slug" "alex medicine", "images" { "cover" { "image url" "https //cdn upload hyperzod app/public/1005/images/f2737e83 5be3 4c85 bcd4 84a1d0b3b5aa png", "image thumb url" "https //cdn upload hyperzod app/public/1005/images/thumb f2737e83 5be3 4c85 bcd4 84a1d0b3b5aa png" }, "logo" { "image url" "https //cdn upload hyperzod app/public/1005/images/ed7ef982 f8cb 44b6 a251 c1ff1310ac18 png", "image thumb url" "https //cdn upload hyperzod app/public/1005/images/thumb ed7ef982 f8cb 44b6 a251 c1ff1310ac18 png" } }, "delivery location type" "radius", "delivery radius" 20000, "delivery radius meters" 20000000, "delivery radius unit" "km", "merchant location" { "type" "point", "coordinates" \[ 81 0072193, 26 8496217 ] }, "comment" "opening next on tuesday at 00 00", "merchant address location" \[ 26 8496217, 81 0072193 ], "is featured" null, "featured rank" 0, "is sponsored" true, "sponsored expiration" "2023 02 01 00 00 00", "sponsored text" null, "sponsored rank" 0, "delivery setting" { "default type" "fixed", "delivery tax enabled" true, "delivery tax percent" 4, "types" { "slabs" { "unit" "mi", "slabs" \[ { "distance from" 0, "distance to" 1, "fee" 0, "time" 0 } ] }, "fixed" { "amount" 4, "time" "30 mins" } } }, "scheduling setting" { "enable" true, "is forced enabled" false, "days from" 0, "days to" 4, "hours from current time" 2, "hours from merchant opening time" 0, "hours from merchant closing time" 0 }, "merchant categories" \[], "name" "alex medicine", "language translate columns" \[ "name" ] }, "payment mode id" 3, "payment mode" { "id" 2, "tenant id" 1005, "payment mode id" 3, "language translation" \[ { "key" "alias", "value" "cash on delivery", "locale" "en" } ], "settings value" null, "active" true, "alias" "cash on delivery", "payment mode" { "id" 3, "name" "cod", "logo url" "https //cdn store hyperzod app/assets/images/pg/cash svg", "alias" "cod", "is offline mode" true, "description" null, "active" true, "is default" true, "created at" "2023 02 23t14 52 37 000000z", "updated at" "2023 02 23t14 52 37 000000z", "deleted at" null, "supported currencies" \[] } }, "order type" "delivery", "review" null, "order status" 1, "order amount" 59 16, "order amount formatted" "€59 16", "currency" { "code" "eur", "symbol direction" "left", "symbol type" "symbol native", "symbol" "€", "symbol native" "€" }, "delivery timestamp human" { "date" "2023 03 14", "time" "16 32 17 32", "local date" "2023 03 14", "local time" "22 02 23 02" }, "delivery timestamp unix" 1678811524, "is scheduled" false, "is user first order" true, "push auth token" null, "meta" { "custom form" \[] }, "ip" "80 41 199 102", "device" "web", "delivery address" { " id" "6410a18143b2b8f42e078fd4", "tenant id" 1005, "user id" 3477, "address type" "home", "location lat lon" \[ 51 8600262, 4 2998538 ], "address" "120 121 priory st, carmarthen sa31 1nb, uk", "building" "121", "area" null, "landmark" null, "city" null, "region" "wales", "zip code" null, "country" "united kingdom", "country code" "gb", "updated at" "2023 03 14t16 32 01 546000z", "created at" "2023 03 14t16 32 01 546000z" }, "order id" 2317, "created timestamp unix" 1678811524, "updated at" "2023 03 14t16 32 04 972000z", "created at" "2023 03 14t16 32 04 972000z", "order status history" \[ { "order status" 1, "timestamp" "2023 03 14 16 32 04", "local timestamp" "2023 03 14 22 02 04" } ], "order uuid" "6410a184d806b3b2b9010078", "local created at" "2023 03 14 22 02 04", "order type label" "delivery", "allowed update order status" { "merchant" \[ 1, 2, 3, 6 ] }, "mq queue" "webhook order created", "binding key" "order created" } }