サンプル: メニューの入手(GET)のレスポンス(パートナー提供)
Marketplace APIs are limited access
弊社のマーケットプレイス統合パイプラインは、現在上限に達しています。加盟店オンボーディング用セルフサービスツール開発する当面の間は、新しいパートナーを受け付けておりません。統合の構築前にDoorDashにお問い合わせいただくには、 マーケットプレイス統合に関するお問い合わせ フォームにご入力ください。
以下の JSON オブジェクトは、パートナーから DoorDash に送信されるメニューの入手(GET)のレスポンスを示すものです。これらのリクエストには、メニューが 1 つしか渡されなかった場合でも、メニューの配列を返す必要があります。
フィールドの定義については上記のモデルを参照してください
{
  "store": {
    "merchant_supplied_id": "location1",
    "provider_type": "provider_a"
  },
  "menus": [
    {
      "id": "string",
      "reference": "string",
      "open_hours": [
        {
          "day_index": "MON",
          "start_time": "00:00",
          "end_time": "23:59"
        }
      ],
      "special_hours": [
        {
          "date": "2000-01-01",
          "closed": true,
          "start_time": "00:00",
          "end_time": "23:59"
        }
      ],
      "menu": {
        "name": "string",
        "subtitle": "string",
        "merchant_supplied_id": "string",
        "active": true,
        "categories": [
          {
            "name": "string",
            "subtitle": "string",
            "merchant_supplied_id": "string",
            "active": true,
            "sort_id": 0,
            "items": [
              {
                "name": "string",
                "description": "string",
                "merchant_supplied_id": "string",
                "active": true,
                "is_alcohol": true,
                "is_bike_friendly": true,
                "sort_id": 0,
                "price": 0,
                "tax_rate": "float",
                "extras": [
                  {
                    "name": "string",
                    "description": "string",
                    "merchant_supplied_id": "string",
                    "active": true,
                    "sort_id": 0,
                    "min_num_options": 0,
                    "max_num_options": 0,
                    "num_free_options": 0,
                    "min_option_choice_quantity": 0,
                    "max_option_choice_quantity": 0,
                    "min_aggregate_options_quantity": 0,
                    "max_aggregate_options_quantity": 0,
                    "options": [
                      {
                        "name": "string",
                        "description": "string",
                        "merchant_supplied_id": "string",
                        "active": true,
                        "price": 0,
                        "default": true,
                        "sort_id": 0,
                        "tax_rate": "float",
                        "extras": []
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}