younifyd
Menu

Update Store

Update store

PUT/v1/applications/{applicationId}/stores/{storeId}

Use it in a workflow

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

Request

Path parameters

applicationIdinteger (int64)required

The ID of the Application. It is displayed in your Talon.One deployment URL.

storeIdstringrequired

The ID of the store. You can get this ID with the [List stores](#tag/Stores/operation/listStores) endpoint.

Request body

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

namestringrequired

The name of the store.

descriptionstringrequired

The description of the store.

attributesobject

The attributes of the store.

integrationIdstring (string)required

The integration ID of the store. You choose this ID when you create a store. **Note**: You cannot edit the `integrationId` after the store has been created.

json
{
  "name": "South US store",
  "description": "This is the description of the store in south US.",
  "integrationId": "STORE-001",
  "attributes": {
    "country": "USA",
    "code": 1234
  }
}

Response

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

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

namestring

The name of the store.

descriptionstring

The description of the store.

attributesobject

The attributes of the store.

integrationIdstring (string)

The integration ID of the store. You choose this ID when you create a store. **Note**: You cannot edit the `integrationId` after the store has been created.

applicationIdinteger (int64)

The ID of the Application that owns this entity.

updatedstring (date-time)

Timestamp of the most recent update on this entity.

linkedCampaignIdsarray<integer (int64)>

A list of IDs of the campaigns that are linked with current store.

json
{
  "id": 6,
  "created": {},
  "name": "South US store",
  "description": "This is the description of the store in south US.",
  "integrationId": "STORE-001",
  "applicationId": 322,
  "updated": {},
  "attributes": {
    "country": "USA",
    "code": 1234
  },
  "linkedCampaignIds": [
    4,
    6,
    8
  ]
}

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

Was this page helpful?