নমুনা ফিড

অংশীদাররা বণিক দ্বারা সমর্থিত পূর্ণতা পদ্ধতির উপর ভিত্তি করে একটি action_link এর অংশ হিসাবে FoodOrderingMetadata- এর জন্য ফিড আপলোড করতে পারে:

  1. শুধুমাত্র Takeout সমর্থনকারী ব্যবসায়ীরা
  2. শুধুমাত্র ডেলিভারি সমর্থনকারী ব্যবসায়ীরা
  3. টেকআউট এবং ডেলিভারি সমর্থনকারী ব্যবসায়ীরা
  4. কোনো ফি ছাড়াই টেকআউট এবং ডেলিভারি সমর্থনকারী ব্যবসায়ীরা এবং ন্যূনতম প্রত্যাশিত পূরণের সময় প্রদর্শন করে

শুধুমাত্র টেকআউট

{
  "metadata": {
    "generation_timestamp": "1467993600",
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "merchant": [
    {
      "merchant_id": "merchant_foepa_2",
      "name": "Sample Food Ordering Restaurant",
      "telephone": "+1-650-123-4567",
      "url": "https://www.restaurantwebsite.com",
      "category": "restaurant",
      "geo": {
        "address": {
          "street_address": "803 11th Avenue",
          "locality": "Sunnyvale",
          "region": "CA",
          "country": "USA",
          "postal_code": "94089"
        }
      },
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_2",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "SERVICE",
                "fee_amount": {
                  "amount": {
                    "currency_code": "USD",
                    "units": 1,
                    "nanos": 750000000
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration": {
              "seconds": 1800
            },
            "advance_order_details": {
              "is_supported": true
            }
          }
        }
      ]
    }
  ]
}

শুধুমাত্র ডেলিভারি

{
  "metadata": {
    "generation_timestamp": "1467993600",
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "merchant": [
    {
      "merchant_id": "merchant_foepa_1",
      "name": "Sample Food Ordering Restaurant",
      "telephone": "+1-650-123-4567",
      "url": "https://www.restaurantwebsite.com",
      "category": "restaurant",
      "geo": {
        "address": {
          "street_address": "803 11th Avenue",
          "locality": "Sunnyvale",
          "region": "CA",
          "country": "USA",
          "postal_code": "94089"
        }
      },
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_1",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "DELIVERY",
                "fee_amount": {
                  "amount_range": {
                    "min_amount": {
                      "currency_code": "USD",
                      "units": 1,
                      "nanos": 750000000
                    },
                    "max_amount": {
                      "currency_code": "USD",
                      "units": 3,
                      "nanos": 750000000
                    }
                  }
                }
              }, 
              {
                "type": "SERVICE",
                "fee_amount": {
                  "cart_percentage": {
                    "value": 5.6
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration": {
              "seconds": 1800
            },
            "advance_order_details": {
              "is_supported": true
            }
          }
        }
      ]
    }
  ]
}

টেকআউট এবং ডেলিভারি

{
  "metadata": {
    "generation_timestamp": "1467993600",
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "merchant": [
    {
      "merchant_id": "merchant_foepa_3",
      "name": "Sample Food Ordering Restaurant",
      "telephone": "+1-650-123-4567",
      "url": "https://www.restaurantwebsite.com",
      "category": "restaurant",
      "geo": {
        "address": {
          "street_address": "803 11th Avenue",
          "locality": "Sunnyvale",
          "region": "CA",
          "country": "USA",
          "postal_code": "94089"
        }
      },
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_3",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "SERVICE",
                "fee_amount": {
                  "amount": {
                    "currency_code": "USD",
                    "units": 1,
                    "nanos": 750000000
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration": {
              "seconds": 1800
            },
            "advance_order_details": {
              "is_supported": true
            }
          }
        },
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_3",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "DELIVERY",
                "fee_amount": {
                  "amount_range": {
                    "min_amount": {
                      "currency_code": "USD",
                      "units": 1,
                      "nanos": 750000000
                    },
                    "max_amount": {
                      "currency_code": "USD",
                      "units": 3,
                      "nanos": 750000000
                    }
                  }
                }
              }, 
              {
                "type": "SERVICE",
                "fee_amount": {
                  "cart_percentage": {
                    "value": 5.6
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration_range": {
              "min_duration": {
                "seconds": 1850
              },
              "max_duration": {
                "seconds": 2400
              }
            },
            "advance_order_details": {
              "is_supported": true
            }
          }
        }
      ]
    }
  ]
}

কোনো ফি এবং ন্যূনতম সময়সীমা নেই

এই ব্যবসায়ীর টেকআউট এবং ডেলিভারির জন্য $0 ডেলিভারি এবং পরিষেবা ফি রয়েছে। এই বণিক 10 মিনিট বা তার বেশি সময়ের মধ্যে টেকআউট অর্ডার এবং 30 মিনিট বা তার বেশি সময়ের মধ্যে ডেলিভারি অর্ডার পূরণ করার আশা করেন। (অংশীদার তাদের ল্যান্ডিং পৃষ্ঠায় আরও সুনির্দিষ্ট এবং আপ-টু-ডেট সময় প্রদর্শন করতে পারে।)

{
  "metadata": {
    "generation_timestamp": "1467993600",
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "merchant": [
    {
      "merchant_id": "merchant_foepa_4",
      "name": "Sample Food Ordering Restaurant",
      "telephone": "+1-650-123-4567",
      "url": "https://www.restaurantwebsite.com",
      "category": "restaurant",
      "geo": {
        "address": {
          "street_address": "803 11th Avenue",
          "locality": "Sunnyvale",
          "region": "CA",
          "country": "USA",
          "postal_code": "94089"
        }
      },
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_4",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "SERVICE",
                "fee_amount": {
                  "amount": {
                    "currencyCode": "USD",
                    "units": 0,
                    "nanos": 0
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration_range": {
              "min_duration": {
                "seconds": 600
              }
            }
          }
        },
        {
          "url": "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_4",
          "action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION",
          "food_ordering_metadata": {
            "fee_details": [
              {
                "type": "SERVICE",
                "fee_amount": {
                  "amount": {
                    "currencyCode": "USD",
                    "units": 0,
                    "nanos": 0
                  }
                }
              },
              {
                "type": "DELIVERY",
                "fee_amount": {
                  "amount": {
                    "currencyCode": "USD",
                    "units": 0,
                    "nanos": 0
                  }
                }
              }
            ],
            "fulfillment_lead_time_duration_range": {
              "min_duration": {
                "seconds": 1800
              }
            }
          }
        }
      ]
    }
  ]
}