ForbiddenErrorData

Which scopes the endpoint needed and which the key held.

  • granted
    Type: array string[] enum
    required

    The scopes the calling key holds.

    values
    • *
    • products:read
    • pricing:read
    • inventory:read
    • inventory:write
  • required
    Type: array string[] enum
    required

    The scopes this endpoint requires.

    values
    • *
    • products:read
    • pricing:read
    • inventory:read
    • inventory:write
Examples
{
  "required": [
    "inventory:write"
  ],
  "granted": [
    "account:read",
    "inventory:read"
  ]
}