{
  "opencollection": "1.0.0",
  "info": {
    "name": "Instacart Catalog Authentication Pickup API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pickup",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Find stores offering pickup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/stores/pickup",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns an array of stores that offer pickup for the customer's location, sorted by distance with the closest store first."
        },
        {
          "info": {
            "name": "Preview time slots for pickup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/service_options/pickup",
            "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 pickup fulfillments. Useful for displaying pickup time options to customers before they complete checkout."
        },
        {
          "info": {
            "name": "Create a pickup order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.instacart.com/v2/fulfillment/users/:user_id/orders/pickup",
            "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 pickup order for a previously reserved time slot. The response can take several seconds, so orders should be created as soon as possible after checkout to minimize wait time."
        }
      ]
    }
  ],
  "bundled": true
}