younifyd
Menu

Sync Catalog

Sync cart item catalog

PUT/v1/catalogs/{catalogId}/sync

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Sync Catalog action (under integration).
  3. Fill in the fields below, then reference the result from later steps as {{syncCatalog.response.data}}.

Request

Path parameters

catalogIdinteger (int64)required

The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**.

Request body

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

actionsarray<object>required
typestringrequired

The type of sync action.

One ofADDPATCHPATCH_MANYREMOVEREMOVE_MANYADD_PRICE_ADJUSTMENT

payloadobjectrequired
versioninteger (int64)

The version number of the catalog to apply the actions on.

json
{
  "actions": [
    {
      "payload": "{}",
      "type": "ADD"
    }
  ],
  "version": 244
}

Response

Returns 200 with an object. Read it in later steps with {{syncCatalog.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.

namestring

The cart item catalog name.

descriptionstring

A description of this cart item catalog.

subscribedApplicationsIdsarray<integer (int64)>

A list of the IDs of the applications that are subscribed to this catalog.

versioninteger (int64)

The current version of this catalog.

createdByinteger (int64)

The ID of user who created this catalog.

json
{
  "id": 6,
  "created": {},
  "accountId": 3886,
  "modified": {},
  "name": "seafood",
  "description": "seafood catalog",
  "version": 6,
  "createdBy": 6,
  "subscribedApplicationsIds": [
    1,
    2,
    3
  ]
}

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

Sync Catalog — Talon.One — Documentation