customers
public

Create a customer.

Scopes: customers:write

post/v1/customers/

Request

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

Request body

OR

Example request

{
  "external_id": "usr_1337",
  "name": "John Doe",
  "billing_address": {
    "country": "US"
  },
  "locale": "en",
  "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  "owner": {
    "email": "member@example.com",
    "name": "Jane Doe",
    "external_id": "usr_1337"
  },
  "email": "customer@example.com"
}

Response

Customer created.

Customer 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