customers
public

Get Customer State

Changed on

Get a customer state by ID.

The customer state includes information about the customer's active subscriptions and benefits.

It's the ideal endpoint to use when you need to get a full overview of a customer's status.

Scopes: customers:read customers:write

get/v1/customers/{id}/state

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/customers/{id}/state
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: customers:read, customers:write)
    • or HTTP bearer
    • or HTTP bearer

Path parameters

idstring uuid4 required

The customer ID.

Response

Successful Response

CustomerState required(unresolved $ref)

Changes

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status