instacart · Schema

TokenRequest

Properties

Name Type Description
grant_type string The OAuth 2.0 grant type. Must be client_credentials.
client_id string The client ID provided by Instacart.
client_secret string The client secret provided by Instacart.
scope string The API scope to request access for, such as connect:fulfillment.
View JSON Schema on GitHub

JSON Schema

instacart-tokenrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TokenRequest",
  "title": "TokenRequest",
  "type": "object",
  "required": [
    "grant_type",
    "client_id",
    "client_secret",
    "scope"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials"
      ],
      "description": "The OAuth 2.0 grant type. Must be client_credentials."
    },
    "client_id": {
      "type": "string",
      "description": "The client ID provided by Instacart."
    },
    "client_secret": {
      "type": "string",
      "description": "The client secret provided by Instacart."
    },
    "scope": {
      "type": "string",
      "description": "The API scope to request access for, such as connect:fulfillment."
    }
  }
}