Skip to main content

Create a subscriber

POST 

/subscriptions/subscribers

Create a subscriber

Request

Query Parameters

    filter string

Body

    data SubscriberCreaterequired
    type SubscriptionSubscriberType (string)required

    Possible values: [subscription_subscriber]

    attributes SubscriberAttributesrequired
    account_id UUID (string)required

    The unique identifier.

    name stringrequired

    Possible values: >= 3 characters and <= 1024 characters

    The name of the subscriber.

    email emailrequired

    Possible values: >= 3 characters and <= 1024 characters

    The email of the subscriber.

Responses

Success. The subscriber is created.

Schema
    data Subscriber
    id UUID (string)

    The unique identifier.

    type SubscriptionSubscriberType (string)required

    Possible values: [subscription_subscriber]

    attributes SubscriberAttributesrequired
    account_id UUID (string)required

    The unique identifier.

    name stringrequired

    Possible values: >= 3 characters and <= 1024 characters

    The name of the subscriber.

    email emailrequired

    Possible values: >= 3 characters and <= 1024 characters

    The email of the subscriber.

    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

    meta SubscriberMetarequired
    owner stringrequired

    The owner of a resource, either store or organization.

    timestamps Timestampsrequired
    updated_at stringrequired

    The date and time a resource was updated.

    created_at stringrequired

    The date and time a resource was created.

Loading...