younifyd
Menu

Create Account Collection

Create account-level collection

POST/v1/collections

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Create Account Collection action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{createAccountCollection.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

descriptionstring

A short description of the purpose of this collection.

subscribedApplicationsIdsarray<integer (int64)>

A list of the IDs of the Applications where this collection is enabled.

namestringrequired

The name of this collection.

json
{
  "name": "My collection",
  "description": "My collection of SKUs",
  "subscribedApplicationsIds": [
    1,
    2,
    3
  ]
}

Response

Returns 201 with an object. Read it in later steps with {{createAccountCollection.response.data.<field>}}.

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

accountIdinteger (int64)

The ID of the account that owns this entity.

modifiedstring (date-time)

The time this entity was last modified.

descriptionstring

A short description of the purpose of this collection.

subscribedApplicationsIdsarray<integer (int64)>

A list of the IDs of the Applications where this collection is enabled.

namestring

The name of this collection.

modifiedByinteger (int64)

ID of the user who last updated this effect if available.

createdByinteger (int64)

ID of the user who created this effect.

applicationIdinteger (int64)

The ID of the Application that owns this entity.

campaignIdinteger (int64)

The ID of the campaign that owns this entity.

payloadarray<string>

The content of the collection.

json
{
  "id": 6,
  "created": {},
  "accountId": 3886,
  "modified": {},
  "name": "My collection",
  "createdBy": 134,
  "description": "My collection of SKUs",
  "subscribedApplicationsIds": [
    1,
    2,
    3
  ],
  "modifiedBy": 48,
  "applicationId": 1,
  "campaignId": 7,
  "payload": [
    "KTL-WH-ET-1",
    "KTL-BL-ET-1"
  ]
}

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.