The customer was created.
Field | Type | Required | Description |
---|---|---|---|
id |
::String | ✔️ | The unique ID of the customer. You may use either the customer's id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_ , e.g. ext_123 ). |
external_id |
::String | ✔️ | Unique identifier for the customer in the client's app. |
name |
::String | ✔️ | Name of the customer. |
email |
T.nilable(::String) | ➖ | Email of the customer. |
avatar |
T.nilable(::String) | ➖ | Avatar URL of the customer. |
country |
T.nilable(::String) | ➖ | Country of the customer. |
created_at |
::String | ✔️ | The date the customer was created. |
link |
T.nilable(::OpenApiSDK::Operations::CreateCustomerLink) | ➖ | N/A |
partner |
T.nilable(::OpenApiSDK::Operations::CreateCustomerPartner) | ➖ | N/A |
discount |
T.nilable(::OpenApiSDK::Operations::CreateCustomerDiscount) | ➖ | N/A |