younifyd
Menu

Create An Account Tag

Create an Account Tag

POST/v2/account-tags

Use it in a workflow

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

Request

Request body

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

dataobjectrequired
typestring

Specifies the type of the resource object, use `account_tag` for Account Tags.

namestring

Specifies the name of the account tag.

descriptionstring

Describes the account tag.

json
{
  "data": {
    "type": "string",
    "name": "account-name-tag",
    "description": "string"
  }
}

Response

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

dataany
json
{
  "data": null
}

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

Create An Account Tag — Elastic Path — Documentation