younifyd
Menu

Add Account Tags On Account

Add Account Tags

POST/v2/accounts/{accountID}/relationships/account-tags

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Add Account Tags On Account action (under Accounts).
  3. Fill in the fields below, then reference the result from later steps as {{addAccountTagsOnAccount.response.data}}.

Request

Path parameters

accountIDstring (uuid)required

The ID of the account you want to retrieve.

Request body

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

dataarray<object>
idstring

The unique identifier for the related Account Tag.

typestring

Specifies the type of the resource object.

json
{
  "data": [
    {
      "id": "652e39d8-d613-493e-8c20-fef99ad6327a",
      "type": "string"
    }
  ]
}

Response

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

dataarray<object>
idstring

The unique identifier for the related Account Tag.

typestring

Specifies the type of the resource object.

linksobject
selfstring

A URL to the specific resource.

json
{
  "data": [
    {
      "id": "652e39d8-d613-493e-8c20-fef99ad6327a",
      "type": "string"
    }
  ],
  "links": {
    "self": "https://useast.api.elasticpath.com/v2/accounts/deb6b25f-8451-4211-9a22-95610333df23/relationships/account-tags"
  }
}

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

Add Account Tags On Account — Elastic Path — Documentation