{
  "opencollection": "1.0.0",
  "info": {
    "name": "Instacart Catalog Authentication Delivery API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Delivery",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Find stores offering delivery",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/stores/delivery",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns an array of stores that offer delivery for the customer's location, sorted by distance with the closest store first. Accepts location data such as latitude and longitude or a postal code."
        },
        {
          "info": {
            "name": "Preview time slots for delivery",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/service_options/delivery",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the user in the retailer's system."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Previews possible service options and available time slots for delivery fulfillments. Useful for displaying delivery time options to customers before they complete checkout."
        },
        {
          "info": {
            "name": "Reserve a previewed delivery time slot",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/service_options/delivery/hold",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the user in the retailer's system."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reserves a selected delivery time slot for the specified user and their cart items. The hold is temporary and must be followed by order creation before it expires."
        },
        {
          "info": {
            "name": "Create a delivery order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/orders/delivery",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the user in the retailer's system."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a delivery order for a previously reserved time slot. The order includes the cart items and delivery details. Orders should be created as soon as possible after the time slot is reserved."
        },
        {
          "info": {
            "name": "Get an order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/orders/:order_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the user in the retailer's system."
              },
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the order."
              }
            ]
          },
          "docs": "Retrieves details for a specific order, including its current status, items, and delivery or pickup information."
        },
        {
          "info": {
            "name": "Cancel an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/orders/:order_id/cancel",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the user in the retailer's system."
              },
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the order."
              }
            ]
          },
          "docs": "Cancels a delivery, pickup, or last mile delivery order. To successfully cancel, the order status must be brand_new. Once a shopper is assigned and the status moves to acknowledged, the order can no longer be canceled through this endpoint."
        }
      ]
    }
  ],
  "bundled": true
}