POST api/Efood/ProductInfo

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
req
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "efoodProductConnectionRequests": [
    {
      "$id": "2",
      "EfoodID": "sample string 1",
      "ProductSizeID": 1,
      "ProductExtraID": 1
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "guid": "757c7d7d-3818-4713-9af9-c1200c68a9c2",
  "BranchID": 2,
  "isConnected": true,
  "ProductID": 3,
  "EfoodId": 4,
  "WebOrderId": 5,
  "efoodCancelReason": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EfoodRequest'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Outcome": 0,
  "Message": "sample string 1",
  "Data": {
    "$id": "2",
    "ID": 1,
    "CompanyID": 2,
    "Text": "sample string 3",
    "Text2": "sample string 4",
    "ProductCategoryID": 5,
    "ProductSizes": [
      {
        "$id": "3",
        "ID": 1,
        "ProductID": 2,
        "SizeID": 3,
        "Deleted": true,
        "ExternalId": "sample string 5",
        "EfoodInfo": {
          "$id": "4",
          "code": "sample string 1",
          "description": "sample string 2",
          "has_pending_self_service_changes": true,
          "has_times": true,
          "id": 5,
          "images": {
            "$id": "5"
          },
          "images_meta": [
            {
              "$id": "6"
            },
            {
              "$id": "7"
            },
            {
              "$id": "8"
            }
          ],
          "is_inside_working_hours": true,
          "items": [
            {
              "$id": "9",
              "additional_tax": 1.1,
              "additional_tax_included_in_price": true,
              "allergens": [
                {
                  "$id": "10"
                },
                {
                  "$id": "11"
                },
                {
                  "$id": "12"
                }
              ],
              "allow_comments": true,
              "auto_reset": true,
              "barcode": {
                "$id": "13"
              },
              "buyer": "sample string 6",
              "buyer_price": 7,
              "category_code": "sample string 8",
              "category_codes": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "category_is_inside_working_hours": true,
              "category_order": 10,
              "code": "sample string 11",
              "commissionable_price": 12.1,
              "dailydish_type": 13,
              "description": "sample string 14",
              "excluded_from_minimum_order": true,
              "food_labelling": {
                "$id": "14"
              },
              "global_asset": {
                "$id": "15"
              },
              "has_options": true,
              "has_pending_self_service_changes": true,
              "has_plus_sign": true,
              "has_times": true,
              "has_variations": true,
              "hashcode": "sample string 23",
              "id": 24,
              "images": {
                "$id": "16",
                "original": {
                  "$id": "17"
                },
                "thumb": {
                  "$id": "18"
                },
                "banner": {
                  "$id": "19"
                },
                "editable": {
                  "$id": "20"
                },
                "featured": {
                  "$id": "21"
                },
                "menu": {
                  "$id": "22"
                },
                "popular": {
                  "$id": "23"
                }
              },
              "images_meta": [
                {
                  "$id": "24"
                },
                {
                  "$id": "25"
                },
                {
                  "$id": "26"
                }
              ],
              "is_available": true,
              "is_dailydish": true,
              "is_hidden": true,
              "is_inside_working_hours": true,
              "is_reorder_available": true,
              "material_tags": [
                {
                  "$id": "27"
                },
                {
                  "$id": "28"
                },
                {
                  "$id": "29"
                }
              ],
              "materialtags": "sample string 30",
              "max_quantity_available": 31,
              "max_quantity_per_order": 32,
              "metric_description": "sample string 33",
              "name": "sample string 34",
              "need_server_calculation": true,
              "option_codes": [
                "sample string 1",
                "sample string 2",
                "sample string 3"
              ],
              "order": 36,
              "pos_code": "sample string 37",
              "price": 38.1,
              "price_before_tax": {
                "$id": "30"
              },
              "price_takeaway": {
                "$id": "31"
              },
              "printed_name": "sample string 41",
              "pvc_recycling_tax": 42,
              "quick_add": true,
              "schedules": {
                "$id": "32"
              },
              "shortage": true,
              "size_info": "sample string 46",
              "special_instructions": "sample string 47",
              "tags": [
                {
                  "$id": "33"
                },
                {
                  "$id": "34"
                },
                {
                  "$id": "35"
                }
              ],
              "tiers": [
                {
                  "$id": "36",
                  "code": 1,
                  "created_at": "2025-10-28T23:05:55.1956726+02:00",
                  "dependency_code": 3,
                  "description": {
                    "$id": "37"
                  },
                  "free_options": 5,
                  "has_pending_self_service_changes": true,
                  "id": 7,
                  "is_deleted": true,
                  "item_code": "sample string 9",
                  "maximum_selections": 10,
                  "name": "sample string 11",
                  "options": [
                    {
                      "$id": "38",
                      "additional_tax": 1,
                      "auto_reset": true,
                      "code": 3,
                      "created_at": "2025-10-28T23:05:55.1956726+02:00",
                      "dependencies": [
                        {
                          "$id": "39"
                        },
                        {
                          "$id": "40"
                        },
                        {
                          "$id": "41"
                        }
                      ],
                      "has_pending_self_service_changes": true,
                      "id": 6,
                      "is_available": true,
                      "is_default": true,
                      "is_deleted": true,
                      "item_code": "sample string 10",
                      "name": "sample string 11",
                      "order": 12,
                      "price": 13.0,
                      "printed_name": "sample string 14",
                      "pvc_recycling_tax": 15,
                      "restaurant_id": 16,
                      "selected": true,
                      "shortage": true,
                      "tier_code": 19,
                      "tier_dependency_code": 20,
                      "updated_at": "2025-10-28T23:05:55.1956726+02:00",
                      "vendor_reference_id": {
                        "$id": "42"
                      },
                      "vendor_reference_metadata": {
                        "$id": "43"
                      }
                    },
                    {
                      "$ref": "38"
                    },
                    {
                      "$ref": "38"
                    }
                  ],
                  "order": 12,
                  "restaurant_id": 13,
                  "shortage": true,
                  "type": "sample string 15",
                  "updated_at": "2025-10-28T23:05:55.1956726+02:00",
                  "vendor_reference_id": {
                    "$id": "44"
                  },
                  "vendor_reference_metadata": {
                    "$id": "45"
                  }
                },
                {
                  "$ref": "36"
                },
                {
                  "$ref": "36"
                }
              ],
              "type_details": {
                "$id": "46"
              },
              "updated_at": "2025-10-28T23:05:55.1956726+02:00",
              "vat": {
                "$id": "47"
              },
              "vendor_reference_id": "sample string 51",
              "vendor_reference_metadata": {
                "$id": "48"
              }
            },
            {
              "$ref": "9"
            },
            {
              "$ref": "9"
            }
          ],
          "name": "sample string 8",
          "order": 9,
          "schedules": {
            "$id": "49"
          },
          "tags": [
            "sample string 1",
            "sample string 2",
            "sample string 3"
          ],
          "vendor_reference_id": "sample string 11",
          "vendor_reference_metadata": {
            "$id": "50"
          }
        },
        "Size": {
          "$id": "51",
          "ID": 1,
          "CompanyID": 2,
          "Text": "sample string 3"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ],
    "ProductExtras": [
      {
        "$id": "52",
        "ID": 1,
        "ProductID": 2,
        "ExtraID": 3,
        "ExternalId": "sample string 4",
        "EfoodInfo": {
          "$ref": "4"
        },
        "Extra": {
          "$id": "53",
          "ID": 1,
          "CompanyID": 2,
          "Text": "sample string 3"
        }
      },
      {
        "$ref": "52"
      },
      {
        "$ref": "52"
      }
    ]
  }
}