POST Getir/OrderList

Request Information

URI Parameters

None.

Body Parameters

WebhookModel
NameDescriptionTypeAdditional information
foodOrder

FoodOrder

None.

Request Formats

application/json, text/json

Sample:
{
  "foodOrder": {
    "id": "sample string 1",
    "status": 2,
    "isScheduled": true,
    "confirmationId": "sample string 4",
    "client": {
      "id": "sample string 1",
      "name": "sample string 2",
      "contactPhoneNumber": "sample string 3",
      "clientPhoneNumber": "sample string 4",
      "deliveryAddress": {
        "id": "sample string 1",
        "address": "sample string 2",
        "aptNo": "sample string 3",
        "city": "sample string 4",
        "district": "sample string 5",
        "floor": "sample string 6",
        "doorNo": "sample string 7",
        "description": "sample string 8"
      },
      "location": {
        "lat": 1.1,
        "lon": 2.1
      }
    },
    "courier": {
      "id": "sample string 1",
      "status": 2,
      "name": "sample string 3",
      "location": {
        "lat": 1.1,
        "lon": 2.1
      }
    },
    "products": [
      {
        "id": "sample string 1",
        "imageURL": "sample string 2",
        "wideImageURL": "sample string 3",
        "count": 4,
        "product": "sample string 5",
        "name": {
          "tr": "sample string 1",
          "en": "sample string 2"
        },
        "price": 6.1,
        "optionPrice": 7.1,
        "priceWithOption": 8.1,
        "totalPrice": 9.1,
        "totalOptionPrice": 10.1,
        "totalPriceWithOption": 11.1,
        "optionCategories": [
          {
            "optionCategory": "sample string 1",
            "name": {
              "tr": "sample string 1",
              "en": "sample string 2"
            },
            "options": [
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              },
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              }
            ]
          },
          {
            "optionCategory": "sample string 1",
            "name": {
              "tr": "sample string 1",
              "en": "sample string 2"
            },
            "options": [
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              },
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              }
            ]
          }
        ],
        "displayInfo": {
          "title": {
            "tr": "sample string 1",
            "en": "sample string 2"
          },
          "options": {
            "tr": [
              {},
              {}
            ],
            "en": [
              {},
              {}
            ]
          }
        },
        "note": "sample string 12",
        "discountedPriceWithOption": 13.1,
        "totalDiscountedPriceWithOption": 14.1
      },
      {
        "id": "sample string 1",
        "imageURL": "sample string 2",
        "wideImageURL": "sample string 3",
        "count": 4,
        "product": "sample string 5",
        "name": {
          "tr": "sample string 1",
          "en": "sample string 2"
        },
        "price": 6.1,
        "optionPrice": 7.1,
        "priceWithOption": 8.1,
        "totalPrice": 9.1,
        "totalOptionPrice": 10.1,
        "totalPriceWithOption": 11.1,
        "optionCategories": [
          {
            "optionCategory": "sample string 1",
            "name": {
              "tr": "sample string 1",
              "en": "sample string 2"
            },
            "options": [
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              },
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              }
            ]
          },
          {
            "optionCategory": "sample string 1",
            "name": {
              "tr": "sample string 1",
              "en": "sample string 2"
            },
            "options": [
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              },
              {
                "option": "sample string 1",
                "name": {
                  "tr": "sample string 1",
                  "en": "sample string 2"
                },
                "price": 2.0
              }
            ]
          }
        ],
        "displayInfo": {
          "title": {
            "tr": "sample string 1",
            "en": "sample string 2"
          },
          "options": {
            "tr": [
              {},
              {}
            ],
            "en": [
              {},
              {}
            ]
          }
        },
        "note": "sample string 12",
        "discountedPriceWithOption": 13.1,
        "totalDiscountedPriceWithOption": 14.1
      }
    ],
    "clientNote": "sample string 5",
    "doNotKnock": true,
    "dropOffAtDoor": true,
    "totalPrice": 8.1,
    "totalDiscountedPrice": 9.1,
    "checkoutDate": "2025-12-06T06:44:40.5574285+03:00",
    "deliveryType": 11,
    "isEcoFriendly": true,
    "paymentMethod": 13,
    "paymentMethodText": {
      "en": "sample string 1",
      "tr": "sample string 2"
    },
    "restaurant": {
      "id": "sample string 1",
      "name": "sample string 2",
      "brand": {
        "id": "sample string 1",
        "name": "sample string 2"
      }
    },
    "isQueued": true,
    "cancelDate": "2025-12-06T06:44:40.5574285+03:00",
    "cancelNote": "sample string 16",
    "cancelReason": {
      "id": "sample string 1",
      "cancelSource": 2,
      "messages": {
        "tr": "sample string 1",
        "en": "sample string 2"
      }
    }
  }
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.