Deliverect · JSON Structure

Loyalty Api Loyalty Token Structure

Deliverect Loyalty SSO - OAuth Token Exchange

Type: object Properties: 6 Required: 4
RestaurantDeliveryOnline OrderingPoint of SaleOrder ManagementIntegration

LoyaltyToken is a JSON Structure definition published by Deliverect, describing 6 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

grant_type client_id client_secret code accountId loyaltyProfileId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/deliverect/refs/heads/main/json-structure/loyalty-api-loyalty-token-structure.json",
  "name": "LoyaltyToken",
  "description": "Deliverect Loyalty SSO - OAuth Token Exchange",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "default": "authorization_code",
      "example": "authorization_code"
    },
    "client_id": {
      "type": "string",
      "example": "609a1b2c3d4e5f6a7b8c9d0e"
    },
    "client_secret": {
      "type": "string",
      "example": "string"
    },
    "code": {
      "type": "string",
      "example": "string"
    },
    "accountId": {
      "type": "string",
      "example": "5b71c6489f00290d4",
      "description": "The deliverect customer account id"
    },
    "loyaltyProfileId": {
      "type": "string",
      "example": "609a1b2c3d4e5f6a7b8c9d0e",
      "description": "The loyalty profile id being use"
    }
  },
  "required": [
    "client_secret",
    "code",
    "client_id",
    "grant_type"
  ]
}