POST api/Efood/EfoodProductInfo

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": "79461cf0-019b-4ec1-a502-9bd8b065da7b",
  "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",
    "EfoodInfo": {
      "$id": "3",
      "code": "sample string 1",
      "description": "sample string 2",
      "has_pending_self_service_changes": true,
      "has_times": true,
      "id": 5,
      "images": {
        "$id": "4"
      },
      "images_meta": [
        {
          "$id": "5"
        },
        {
          "$id": "6"
        },
        {
          "$id": "7"
        }
      ],
      "is_inside_working_hours": true,
      "items": [
        {
          "$id": "8",
          "additional_tax": 1.1,
          "additional_tax_included_in_price": true,
          "allergens": [
            {
              "$id": "9"
            },
            {
              "$id": "10"
            },
            {
              "$id": "11"
            }
          ],
          "allow_comments": true,
          "auto_reset": true,
          "barcode": {
            "$id": "12"
          },
          "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": "13"
          },
          "global_asset": {
            "$id": "14"
          },
          "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": "15",
            "original": {
              "$id": "16"
            },
            "thumb": {
              "$id": "17"
            },
            "banner": {
              "$id": "18"
            },
            "editable": {
              "$id": "19"
            },
            "featured": {
              "$id": "20"
            },
            "menu": {
              "$id": "21"
            },
            "popular": {
              "$id": "22"
            }
          },
          "images_meta": [
            {
              "$id": "23"
            },
            {
              "$id": "24"
            },
            {
              "$id": "25"
            }
          ],
          "is_available": true,
          "is_dailydish": true,
          "is_hidden": true,
          "is_inside_working_hours": true,
          "is_reorder_available": true,
          "material_tags": [
            {
              "$id": "26"
            },
            {
              "$id": "27"
            },
            {
              "$id": "28"
            }
          ],
          "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": "29"
          },
          "price_takeaway": {
            "$id": "30"
          },
          "printed_name": "sample string 41",
          "pvc_recycling_tax": 42,
          "quick_add": true,
          "schedules": {
            "$id": "31"
          },
          "shortage": true,
          "size_info": "sample string 46",
          "special_instructions": "sample string 47",
          "tags": [
            {
              "$id": "32"
            },
            {
              "$id": "33"
            },
            {
              "$id": "34"
            }
          ],
          "tiers": [
            {
              "$id": "35",
              "code": 1,
              "created_at": "2025-10-28T23:05:53.2104025+02:00",
              "dependency_code": 3,
              "description": {
                "$id": "36"
              },
              "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": "37",
                  "additional_tax": 1,
                  "auto_reset": true,
                  "code": 3,
                  "created_at": "2025-10-28T23:05:53.2104025+02:00",
                  "dependencies": [
                    {
                      "$id": "38"
                    },
                    {
                      "$id": "39"
                    },
                    {
                      "$id": "40"
                    }
                  ],
                  "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:53.2104025+02:00",
                  "vendor_reference_id": {
                    "$id": "41"
                  },
                  "vendor_reference_metadata": {
                    "$id": "42"
                  }
                },
                {
                  "$ref": "37"
                },
                {
                  "$ref": "37"
                }
              ],
              "order": 12,
              "restaurant_id": 13,
              "shortage": true,
              "type": "sample string 15",
              "updated_at": "2025-10-28T23:05:53.2104025+02:00",
              "vendor_reference_id": {
                "$id": "43"
              },
              "vendor_reference_metadata": {
                "$id": "44"
              }
            },
            {
              "$ref": "35"
            },
            {
              "$ref": "35"
            }
          ],
          "type_details": {
            "$id": "45"
          },
          "updated_at": "2025-10-28T23:05:53.2104025+02:00",
          "vat": {
            "$id": "46"
          },
          "vendor_reference_id": "sample string 51",
          "vendor_reference_metadata": {
            "$id": "47"
          }
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ],
      "name": "sample string 8",
      "order": 9,
      "schedules": {
        "$id": "48"
      },
      "tags": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "vendor_reference_id": "sample string 11",
      "vendor_reference_metadata": {
        "$id": "49"
      }
    },
    "EfoodOurProduct": {
      "$id": "50",
      "ID": 1,
      "CompanyID": 2,
      "Text": "sample string 3",
      "Text2": "sample string 4",
      "ProductCategoryID": 5,
      "ProductSizes": [
        {
          "$id": "51",
          "ID": 1,
          "ProductID": 2,
          "SizeID": 3,
          "Deleted": true,
          "ExternalId": "sample string 5",
          "EfoodInfo": {
            "$ref": "3"
          },
          "Size": {
            "$id": "52",
            "ID": 1,
            "CompanyID": 2,
            "Text": "sample string 3"
          }
        },
        {
          "$ref": "51"
        },
        {
          "$ref": "51"
        }
      ],
      "ProductExtras": [
        {
          "$id": "53",
          "ID": 1,
          "ProductID": 2,
          "ExtraID": 3,
          "ExternalId": "sample string 4",
          "EfoodInfo": {
            "$ref": "3"
          },
          "Extra": {
            "$id": "54",
            "ID": 1,
            "CompanyID": 2,
            "Text": "sample string 3"
          }
        },
        {
          "$ref": "53"
        },
        {
          "$ref": "53"
        }
      ]
    }
  }
}