Create Menu Example

POST https://openapi.doordash.com/marketplace/api/v1/menus

POST MENU

Request Body

{"store"=>{"merchant_supplied_id"=>"{{Location_ID}}", "provider_type"=>"{{Provider_type}}"}, "menu"=>{"name"=>"Dinner Menu", "subtitle"=>"DoorDash Pizza", "active"=>true, "categories"=>[{"name"=>"Pizzas", "subtitle"=>"Choose from one our famous pies!", "sort_id"=>0, "active"=>true, "merchant_supplied_id"=>"ad9b5cdc-1e78-4770-b7c2-695b5ca7afc", "items"=>[{"name"=>"Create your own Pizza", "description"=>"Choose from our available toppings to create your own masterpiece", "price"=>2200, "merchant_supplied_id"=>"3940554d-b637-4fec-948f-502083689c2q", "active"=>true, "sort_id"=>0, "extras"=>[{"name"=>"Toppings", "active"=>true, "sort_id"=>0, "merchant_supplied_id"=>"d507a17d-2abd-489e-90f4-fd8f60eafb20/l", "min_num_options"=>1, "max_num_options"=>4, "min_option_choice_quantity"=>1, "max_option_choice_quantity"=>2, "min_aggregate_options_quantity"=>1, "max_aggregate_options_quantity"=>4, "options"=>[{"name"=>"Pepperoni", "active"=>true, "price"=>100, "merchant_supplied_id"=>"9e8b02b5-4f1d-4690-b1fc-83a901b82deb", "sort_id"=>0, "default"=>true, "dish_info"=>{"nutritional_info"=>{"calorific_info"=>{"lower_range"=>200}}}}, {"name"=>"Onions", "active"=>true, "price"=>55, "merchant_supplied_id"=>"8970747d-cc30-410a-8807-a0ac59967893", "default"=>false, "sort_id"=>1, "dish_info"=>{"classification_info"=>{"classification_tags"=>["TAG_KEY_DIETARY_VEGETARIAN"]}, "nutritional_info"=>{"calorific_info"=>{"lower_range"=>100}}}}, {"name"=>"Olives", "active"=>true, "price"=>25, "merchant_supplied_id"=>"de43cbc9-80d0-4b46-a494-efccdc4b24cc", "default"=>false, "sort_id"=>2}, {"name"=>"Meatballs", "active"=>true, "description"=>"", "price"=>150, "merchant_supplied_id"=>"d5db3439-9370-4bee-9752-260ba8a11f46", "default"=>false, "sort_id"=>3}, {"name"=>"Pineapple", "active"=>true, "description"=>"", "price"=>50, "merchant_supplied_id"=>"5696cb1a-75d2-4dbf-891f-51ad3d7c9d66", "default"=>false, "sort_id"=>4}, {"name"=>"Ham", "active"=>true, "description"=>"", "price"=>100, "merchant_supplied_id"=>"c17b1086-6fd4-4c87-b5f9-c6006c31eb7a", "default"=>false, "sort_id"=>5}]}], "dish_info"=>{"classification_info"=>{"classification_tags"=>["TAG_KEY_DIETARY_VEGETARIAN"]}, "nutritional_info"=>{"calorific_info"=>{"lower_range"=>800, "higher_range"=>1500}}}}]}]}, "store_open_hours"=>[{"start_time"=>"10:00:00", "end_time"=>"22:00:00", "day_index"=>"MON"}, {"start_time"=>"10:00:00", "end_time"=>"22:00:00", "day_index"=>"TUE"}, {"start_time"=>"11:00:00", "end_time"=>"22:00:00", "day_index"=>"WED"}, {"start_time"=>"11:00:00", "end_time"=>"22:00:00", "day_index"=>"THU"}, {"start_time"=>"11:00:00", "end_time"=>"22:00:00", "day_index"=>"FRI"}, {"start_time"=>"11:00:00", "end_time"=>"22:00:00", "day_index"=>"SAT"}, {"start_time"=>"11:00:00", "end_time"=>"20:00:00", "day_index"=>"SUN"}], "store_special_hours"=>[{"start_time"=>"00:00:00", "end_time"=>"00:00:00", "date"=>"2021-11-18", "closed"=>true}, {"start_time"=>"00:00:00", "end_time"=>"00:00:00", "date"=>"2022-07-04", "closed"=>true}, {"start_time"=>"00:00:00", "end_time"=>"00:00:00", "date"=>"2022-09-07", "closed"=>true}, {"start_time"=>"09:00:00", "end_time"=>"21:00:00", "date"=>"2022-11-24", "closed"=>false}, {"start_time"=>"12:00:00", "end_time"=>"16:00:00", "date"=>"2022-11-25", "closed"=>false}, {"start_time"=>"11:00:00", "end_time"=>"13:00:00", "date"=>"2022-12-24", "closed"=>false}, {"start_time"=>"00:00:00", "end_time"=>"00:00:00", "date"=>"2022-12-25", "closed"=>true}, {"start_time"=>"09:00:00", "end_time"=>"11:00:00", "date"=>"2023-01-11", "closed"=>false}, {"start_time"=>"14:00:00", "end_time"=>"21:00:00", "date"=>"2023-01-11", "closed"=>false}, {"start_time"=>"00:00:00", "end_time"=>"00:00:00", "date"=>"2023-01-16", "closed"=>true}, {"start_time"=>"11:00:00", "end_time"=>"16:30:00", "date"=>"2023-01-18", "closed"=>false}, {"start_time"=>"06:00:00", "end_time"=>"02:00:00", "date"=>"2023-01-21", "closed"=>false}]}

HEADERS

KeyDatatypeRequiredDescription
User-Agentstring
Content-Typestring
auth-versionstring
``null