Aller au contenu principal

Third-Party Providers: API Integrations

How to build a DoorDash Retail Marketplace integration as a Third-Party Provider

Third-Party Providers: What We're Going to Build

Mission

DoorDash Mission: Grow and Empower local economies

Shared Goal: Deliver value to Merchants by building an integration that delivers seamless order fulfillment, real-time catalog and inventory updates, and efficient store onboarding.

Terminology

This section provides definitions for key terms used in the DoorDash Retail UI integration documentation. Familiarizing yourself with these terms will help you better understand the concepts and processes involved in integrating with DoorDash.

Key Terms

  • Store: A single brick-and-mortar location that sells items.

  • Business: A single business entity that can have multiple stores and shares a single Catalog.

  • Catalog: The comprehensive list of all items ever possibly available for sale.

  • Inventory: A list of stock status and pricing for items at a particular Store.

  • Menu: The customer-facing list of items for sale at a particular Store.

  • Order: The list of items a particular Customer ordered on one occasion.

  • Provider: A third-party entity that facilitates a Merchant’s integrated offering on DoorDash.

  • Merchant: A seller of items on DoorDash.

  • Customer: A buyer of items on DoorDash.

  • Dasher: A deliverer of items.

Understanding these terms is crucial for a seamless integration process. Refer to this page whenever you encounter unfamiliar terminology in the documentation.

Steps to Start API Integration

Note: API integration is required for Third-Party Providers. to share item-specific and store-level data as it enables near real-time data sharing, allowing us to closely mirror the in-store shopping experience on DoorDash.

  1. Join the Developer Portal:

    • Create a Developer Portal account to establish a Developer Portal organization.
      • Note: If you already have a DoorDash account with their associated email, you can just “Sign-In” using the existing account OR you can use a different email address to create a new account.
    • Follow these steps to add additional members to the development team.
  2. Add a Marketplace Integration:

    • Reach out to your DoorDash technical account manager to add a Marketplace integration.
  3. Create a Provider:

    • Configure a sandbox provider using the guide here.
  4. Create Credentials:

  5. Configure JWT Authentication:

  6. Test Store Setup:

    • Reach out to your DoorDash technical account manager to have a test store added to the Developer Portal.

Store Onboarding Process

Follow the steps outlined in detail in Merchant Onboarding Requirements for API-Integrated Retail Stores.

Integrations

Catalog Integration

Automatically ingest/update items sold by a business

Respond to typical events:

  • New item added - Whenever a new item is added to the POS by a merchant, add that item to the merchant’s DoorDash catalog
  • Item details changed - Whenever an item is changed in one of the following ways by a merchant within the POS, update that item within the Merchant’s DoorDash catalog

Resources

Catalog Pull [REQUIRED]

Enable faster merchant onboarding by exposing an endpoint from which DoorDash can pull any business' Catalog

Monthly full catalog refresh:

  • Once a month, for every business, trigger a Catalog pull to capture any new items that have been added by the Merchant (in addition to respoding in real-time to the event)

Resources

Inventory Integration

Automatically ingest/update pricing/availability on an active DoorDash menu

Respond to typical events:

  • Pricing change - Whenever the price of an item is changed, update the price within DoorDash
  • Availability change - Whenever an item goes in or out of stock at a store, update the availability within DoorDash
  • New item added - Whenever a new item is added to a store’s menu, add that item to the store’s DoorDash menu

Resources

Inventory Pull [REQUIRED]

Enable faster merchant onboarding by exposing an endpoint from which DoorDash can pull any store's inventory

Nightly full menu refresh:

  • Every night, for every store, trigger an inventory pull to fully refresh their inventory (in addition to respoding in real-time to the event)

Resources

Store Hours Integration

Automatically update store hours to ensure Customers are able to successfully place orders

Merchant-triggered store hours updates

  • Whenever a Merchant changes their store hours within the POS, update that store’s hours within DoorDash

Nightly store hours update

  • Every night, update every store’s hours

Resources

Store Hours Pull [REQUIRED]

Enable faster merchant onboarding by exposing an endpoint from which DoorDash can pull any store's hours

Nightly store hours refresh:

  • Every night, for every store, trigger a store hours pull to fully refresh their hours (in addition to respoding in real-time to the event)

Resources

Orders Integration

Note: An orders integration may not be required. If the Partner's platform doesn't provide merchants with tools to pick and pack orders, an orders integration will be impossible.

Receive orders from DoorDash and present to merchants for fulfillment right within the Partner's order fulfillment system

Resources

Mandatory Orders Integration Features

The following features are mandatory for all Third-Party Provider orders integrations serving Retail merchants.

  • Auto-confirm orders - instructions
  • Order adjustments
  • Receive updated order payloads
    • Following a successful order adjustment, DoorDash will fire a webhook with an updated order payload reflected the adjustment
    • Subscribe to the "Order Adjustment" event type in the Developer Portal
    • Parse updated order payload and surface to merchants in partner portal: the new "event" object descirbes what type of adjustment was performed and when; the "order" object is exactly the same as a typical order, it simply reflects the adjusted order.
  • "Ready for Pickup" signal - instructions
    • Improves order delivery speed
  • DoorDash order cancellations - instructions
    • Allows DoorDash to send notifications to the Partner whenever an already submitted order is canceled downstream within the DoorDash ecosystem
  • Masked customer phone number - instructions
    • Enables merchants to contact customers directly (helpful for substitutions)

Optional Orders Integration Features

The following features are optional for Third-Party Provider orders integration serving Retail merchants.

  • Dasher flows - enable merchants to better interact with Dashers to improve fulfillment rates
  • Self-delivery - enable merchants to deliver their own orders (useful for states that don't allow third-party delivery)
    • Overview
    • Send self-delivery order statuses to DoorDash to surface to the customer in the app - instructions
  • Receive Bag Fees - allow merchants to collect a bag fee and any necessary taxes related to the fee to meet any specific government regulations - instructions

Useful Additional Features

Store Temporary Deactivation

Give your merchants the ability to pause their DoorDash storefront to accommodate for unexpected issues: busy periods, internet outages, natural disasters, etc. Follow these instructions to enable this feature.

Note: Be sure to set temporary deactivations (by setting an end date when deactivating) so stores don't lose revenue.

Item Level Promotions

Add and update promotions for existing items at the store level

Resources

Testing

Contact DoorDash to request a test store. Indicate which of the 2 options below you prefer. Your technical account manager will configure a store for testing and notify you when ready.

Testing will be done with a Partner-provided test catalog

* You will deliver test catalog data via [catalog integration](#catalog-integration). DoorDash will build a new catalog attached to a new test business using that data. DoorDash will then create a test store on that business that you can test using item IDs from your system.

Testing Orders Integrations After you have a test store, follow these instructions

* _Important note:_ For order adjustment requests in the sandbox environment, you *must* include the following header - `"dd-tenant-id": "doortest:default"`

Merchant Enablement Material

Produce instructions for merchants to onboard and manage their integration and host them on your merchant help center by following this guide.

Certification

Once your integration is built and tested, request production access from DoorDash. Your DoorDash technical account manager will schedule a 2-hour live session to certify your integration. Certification will cover the following requirements.

PHASEREQUIREMENTDETAILSMANDATORY
CATALOG VALIDATIONSCatalog API - CreateCreate items with robust details using the POST Catalog APIRequired
CATALOG VALIDATIONSAge-restricted item taggingAge-restricted items - alcohol, CBD, OTC - are properly tagged when sent to the Catalog APIRecommended
CATALOG VALIDATIONSItem categorizationItems include category information (at least first level - e.g. "Liquor" - ideally first and second level - e.g. "Liquor >> Whiskey")Recommended
CATALOG VALIDATIONSCatalog API - UpdateUpdate existing catalog items using the PATCH Catalog APIRequired
CATALOG VALIDATIONSCatalog PullHost an endpoint from which DoorDash can pull catalog data for individual businesses.Required
CATALOG VALIDATIONSSNAPSNAP items are properly tagged when sent to the Catalog APIOptional
INVENTORY VALIDATIONSItem level hoursSend item-specific hours for an item to restrict their selling within the store's opening hours to abide by state-specific regulations (e.g. alcohol items in New Jersey)Recommended
INVENTORY VALIDATIONSItem availability - inactive to activeUpdate item activation status from unavailable to availableRequired
INVENTORY VALIDATIONSItem availability - active to inactiveUpdate item activation status from available to unavailableRequired
INVENTORY VALIDATIONSItem availability - active to inactive + price changeUpdate item activation status from available to unavailable with a price changeRequired
INVENTORY VALIDATIONSItem availability - inactive to active + price changeUpdate item activation status from unavailable to available with a price changeRequired
INVENTORY VALIDATIONSItem availability - active to inactive when removed from catalogUpdate item to unavailable when removed from catalogRequired
INVENTORY VALIDATIONSItem priceUpdate item price (no availability change)Required
INVENTORY VALIDATIONSItem location (aka aisles)Send detailed item location information (aisle, section, shelf, bin, etc.) to support Dasher shopping accuracy and speed.Dasher Pick Required
INVENTORY VALIDATIONSInventory PullHost an endpoint from which DoorDash can pull inventory data for individual stores.Required
INVENTORY VALIDATIONSItems with Modifiers (must use Inventory Pull)Support items with modifiers (e.g. pizza with toppings, sandwich with different sizes / breads / fillings / toppings).Optional
INVENTORY VALIDATIONSDemonstrate Modifier (aka Item Option) Deactivation (86'ing) (Webhook)Take one of an item's modifiers (aka item option) off the menu by deactivated it.Optional
INVENTORY VALIDATIONSDemonstrate Modifier (aka Item Option) Reactivation (86'ing) (Webhook)Restore one of an item's modifiers (aka item option) to the menu by reactivating it.Optional
STORE HOURS VALIDATIONSStandard store hoursUpdate store hours via the PATCH Store Management endpointRequired
STORE HOURS VALIDATIONSSpecial store hoursUpdate store hours via the PATCH Store Management endpointRequired
STORE HOURS VALIDATIONSStore hours pullHost an endpoint from which DoorDash can pull store hours data for individual stores.Required
PROMOTIONS VALIDATIONSStrikethrough pricingSend both a "base_price" and a "sale_price" through the Inventory APIRecommended
PROMOTIONS VALIDATIONSItem promotions - createSend item promotions via the Promotion Management POST endpointOptional
PROMOTIONS VALIDATIONSItem promotions - updateUpdate existing item promotion via the Promotion Management PATCH endpointOptional
PROMOTIONS VALIDATIONSItem promotions - Redemption CapSend a "redemption_limit.limit_per_order" value in the payload and confirm that it is in line with Merchant's wishes and is honored by DoorDash.Optional
ORDER VALIDATIONSOrder receiptSuccessfully receive order webhooks from DoorDash and respond to webhook with either 200 (synchronous confirmation) or 202 (asynchronous confirmation)Merchant Pick Required
ORDER VALIDATIONSAsynchronous Order Confirmation - successConfirm an order asynchronously with a "success" status.Recommended
ORDER VALIDATIONSAsynchronous Order Confirmation - failConfirm an order asynchronously with a "fail" status and a "failure_reason" value.Recommended
ORDER VALIDATIONSValidate Merchant TipsSurface "merchant_tip_amount" in the Merchant-facing portal.Optional
ORDER VALIDATIONSCancellation - DoorDash to PartnerConsume order cancellation webhooks sent from DoorDash to the Partner when a Customer or Dasher or Merchant cancel an order through DoorDash. Surface this cancellation to Merchants so they stop fulfilling the order.Merchant Pick Required
ORDER VALIDATIONSCancellation - Partner to DoorDashEnable Merchants to cancel orders within Partner portal. Send cancellation request to DoorDash.Merchant Pick Required
ORDER VALIDATIONSStore Temporary Deactivation - DeactivateEnable Merchants to pause orders from DoorDash. Send temporary store deactivation request to DoorDash. Important: be sure to set a duration or an end date so the deactivation is temporary.Recommended
ORDER VALIDATIONSStore Temporary Deactivation - ReactivateReactivate a store by sending a request to DoorDash.Recommended
ORDER VALIDATIONSCustomer Substitution PreferencesSuccessfully consume and surface Customer Substitution Preferences when Merchants substitute itemsRecommended
ORDER VALIDATIONSOrder Cart Adjustment - substitutionSuccessfully substitute an itemMerchant Pick Required
ORDER VALIDATIONSOrder Cart Adjustment - item deletion (fulfill the rest of the order)Successfully remove an item, while leaving the rest of the order intactMerchant Pick Required
ORDER VALIDATIONSOrder Cart Adjustment - item quantity changeSuccessfully increase / decrease the quantity of an individual item in an orderMerchant Pick Required
ORDER VALIDATIONSOrder Cart Adjustment - Updated Order PayloadsConsume updated order payloads following Order Cart AdjustmentsMerchant Pick Required
ORDER VALIDATIONSOrder Cart Adjustment - confirm successful adjustmentWait for receipt of ORDER_ADJUSTMENT webhook, which confirms successful order adjustment, before updating the order in the Merchant-facing portalRecommended
ORDER VALIDATIONSMasked Customer Phone NumberConsume masked customer phone number and surface to merchant in partner's interfaceMerchant Pick Required
ORDER VALIDATIONSOrder Ready for PickupSend an order ready for pickup signal for a confirmed order in response to a merchant indicating order ready within the partner's interfaceMerchant Pick Required
ORDER VALIDATIONSDasher Status WebhooksSuccessfully consume Dasher status webhooks and surface status to Merchants within Partner portalRecommended
ORDER VALIDATIONSSelf Delivery APIsSend self-delivery statuses and courier tracking information (if supporting self-delivery merchants)Optional
TOOLINGOrder Failure Reason DocumentationDocument the order failure reasons that Partner will send when asynchronously confirming an order with status:fail. We'll surface these definitions to our support team to promote successful Merchant support interactions.Merchant Pick Required
TOOLINGPrice inflation toolGive merchants the ability to inflate prices that are sent to DoorDash. Cap inflation at 10%.Recommended
TOOLINGItem availability logicUse the following logic to determine if an item is in / out of stock (is_active = TRUE/FALSE) 1. If merchant's balance on hand data is accurate, use positive stock levels to determine if an item should be is_active = TRUE 2. If merchant's balance on hand data is not accurate / not available, use the following logic to determine if an item should be is_active = TRUE a. If an item has been hidden from eCommerce sales by the merchant within the partner's portal, that item should be sent as is_active = FALSE b. If an item has been created, restocked, or sold within the past 60 days, that item should be sent as is_active = TRUERequired
TOOLINGOut of Stock ButtonGive Merchant the ability to immediately mark an item out of stock that’s come in an order see better fulfillment qualityRecommended
TOOLINGOrder NotificationsMake it clear and obvious to Merchants that they have a new order to fulfill to see better fulfillment qualityMerchant Pick Required
TOOLINGSupport Escalation PathDefine a support escalation path for DoorDash Merchants to get help (a) onboarding to the integration and (b) managing their integration (catalog, inventory, orders)Required
ONBOARDING“Integrate with DoorDash” buttonBuild an "Integrate with DoorDash" button into Partner portalRequired
ONBOARDING“Live on DoorDash already?” questionPrompt Merchants to answer whether they are "Live on DoorDash already?" questionRequired
ONBOARDINGSales referral formLink Merchants out to the DoorDash sales referral form.Required
ONBOARDINGStore Onboarding requestStore Onboarding request sent with proper location_id, address fields, etc.Required
ONBOARDINGRealtime webhook cadenceAre the webhooks sent in real-time from the partner? Meaning there is no delay between when the merchant requests the integration to when the webhook is sent to DoorDashRequired
ONBOARDINGAcknowledgment of programmatic webhook contents sourcing requirementAre the webhooks' contents sourced programmatically from merchant information stored in the partner environment? Note: these fields should not be entered manually by a user during this flow as it introduces the risk of human error.Required
ONBOARDINGStore Onboarding request - error handlingIn case of synchronous failure of Store Onboarding request, surface Merchant-owned issues to the Merchant in Partner portal. Partner-owned issues should be delivered to a Partner support queue.Required
ONBOARDINGStore Onboarding Status WebhooksSubscription to Store Onboarding Status Webhooks is required for onboarding. Use them to determine when to enroll a store in regular integrated updates.Required
ONBOARDINGStore Onboarding Status Webhooks - blocked statusesSurface blocked statuses with details and guidance to Merchants in Partner portal to unblock onboarding. Where issues are Partner-owned, send these to Partner support queue.Required
ONBOARDINGCatalog pullCatalog pull required for onboarding. All stores that request onboarding must be immediately enrolled and eligible for all pull operations.Required
ONBOARDINGInventory pullInventory pull required for onboarding. All stores that request onboarding must be immediately enrolled and eligible for all pull operations.Required
ONBOARDINGStore hours pullStore hours pull required for onboarding. All stores that request onboarding must be immediately enrolled and eligible for all pull operations.Required
MERCHANT ENABLEMENT CONTENTOverviewBriefly describe the integration between your system and DoorDash.Required
MERCHANT ENABLEMENT CONTENTGet startedDescribe how net new merchants can sign up for your system. Provide hyperlinks to existing website or video content. You can also use this section to share an onboarding checklist, the time to complete each activity, or any other relevant information for merchants using your system.Required
MERCHANT ENABLEMENT CONTENTAdd or Enable the DoorDash IntegrationDescribe how merchants can prepare for the onboarding process from your environment, including any software/hardware requirements and steps they need to take on their end before the integration can be set up if applicable. Use a video recording or detailed screenshots when possible.Required
MERCHANT ENABLEMENT CONTENTInventory ManagementDescribe how the merchant can create or edit their inventory to ensure it is ready for ingestion, in addition to including how they can manage their inventory after the integration is complete.Required
MERCHANT ENABLEMENT CONTENTOrder ManagementDescribe how the merchant can manage orders via the integration if this is done via the integration.Merchant Pick Required