Customer Tags require customer scopes: reads use read_customers and writes use write_customers. Tags label customer profiles and can participate in customer-group rules. They are separate from Product Tags and do not filter products. The slug is optional when creating a Customer Tag and is generated from its name when omitted.
Endpoints#
Customer Tag limits
Get Customer Tag limits.
Returns the field and request limits enforced by Customer Tag endpoints.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
List Customer Tags
List Customer Tags for the store.
Returns a paginated, searchable, and sortable list. Customer counts include assignments in the token's store only.
Query parameters
| Name | Type | Description |
|---|---|---|
page
|
integer |
Page number. |
limit
|
integer |
Page size. |
search
|
string |
Search by name or slug. |
sort_by
|
string |
Sort by
Allowed values
namecustomer_countcreated_at |
sort_direction
|
string |
Sort direction:
Allowed values
ascdesc |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_TAG_LIST_INVALID_PAGEPage must be positive.
-
400CUSTOMER_TAG_LIST_INVALID_LIMITLimit is outside the Customer Tag range.
-
400CUSTOMER_TAG_LIST_INVALID_SORT_BYSort_by is not supported.
-
400CUSTOMER_TAG_LIST_INVALID_SORT_DIRECTIONSort_direction is not supported.
-
400CUSTOMER_TAG_SEARCH_TOO_LONGSearch exceeds the maximum length.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe query string has a parameter this request does not accept. The message and
error.details.allowed_parameterslist the ones it does. -
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Get a Customer Tag
Get one Customer Tag.
Returns the Customer Tag when it belongs to the token's store.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Customer Tag UUID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_REQUEST_INVALIDId is not a valid UUID.
-
404CUSTOMER_TAG_NOT_FOUNDCustomer Tag does not exist in this store.
-
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Create a Customer Tag
Create a Customer Tag.
Creates a Customer Tag. Omit slug to generate it from the name.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
required
|
string |
Customer Tag name. |
slug
|
string |
Customer Tag slug: lowercase letters, numbers and hyphens. Omit it to generate it from the name. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400CUSTOMER_TAG_NAME_REQUIREDName is required.
-
400CUSTOMER_TAG_NAME_TOO_LONGName exceeds the configured limit.
-
400CUSTOMER_TAG_NAME_COMMAName contains a comma.
-
400CUSTOMER_SLUG_INVALIDSlug is invalid.
-
409CUSTOMER_TAG_NAME_DUPLICATEA Customer Tag with this name already exists, ignoring capitalization;
details.existing_idnames it. -
409CUSTOMER_TAG_SLUG_DUPLICATEA Customer Tag with this slug already exists;
details.existing_idnames it. -
400CUSTOMER_TAGS_LIMITThe store has reached its Customer Tag limit.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk create Customer Tags
Create multiple Customer Tags.
Creates tags from names. Names that already exist, ignoring capitalization, are skipped; invalid names and names over the store limit are returned in row_errors with the same codes as Create a Customer Tag, and the other names are still created. The response is compact: totals counts created, skipped and failed names; created lists each new item's id and the name you sent; skipped and row_errors are unchanged. Get an item for its other fields.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
names
required
|
array<string> |
Customer Tag names to create. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400CUSTOMER_TAGS_BULK_EMPTYNames must contain at least one item.
-
400CUSTOMER_TAGS_BULK_CREATE_MAXThe request exceeds the bulk-create cap.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Update a Customer Tag
Update a Customer Tag.
Updates provided fields. Omitted fields remain unchanged.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Customer Tag UUID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
name
|
string |
Customer Tag name. |
slug
|
string |
Customer Tag slug: lowercase letters, numbers and hyphens. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_REQUEST_INVALIDId is not a valid UUID.
-
404CUSTOMER_TAG_NOT_FOUNDCustomer Tag does not exist in this store.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400CUSTOMER_TAG_NAME_REQUIREDName is required.
-
400CUSTOMER_TAG_NAME_TOO_LONGName exceeds the configured limit.
-
400CUSTOMER_TAG_NAME_COMMAName contains a comma.
-
400CUSTOMER_SLUG_INVALIDSlug is invalid.
-
409CUSTOMER_TAG_NAME_DUPLICATEA Customer Tag with this name already exists, ignoring capitalization;
details.existing_idnames it. -
409CUSTOMER_TAG_SLUG_DUPLICATEA Customer Tag with this slug already exists;
details.existing_idnames it. -
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Tag customers
Add the Customer Tag to customers.
Adds the tag to every listed customer of the token's store that does not have it. added is the number of customers tagged; already_tagged lists ids that already had the tag and not_found lists ids that are not customers of this store, so one bad id does not fail the batch. If any customer would go over its tag limit, no customer is changed and STOREFRONT_CUST_TOO_MANY_TAGS is returned. Each customer tagged sends customers/update with changed_fields tags. The message is CUSTOMERS_BULK_TAGGED when every id was tagged, otherwise CUSTOMERS_BULK_TAGGED_PARTIAL with the three counts. Duplicate ids count once.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Customer Tag UUID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
customer_ids
required
|
array<string> |
Customer UUIDs to tag. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_REQUEST_INVALIDId is not a valid UUID. A customer id is not a valid UUID (
details.fieldiscustomer_ids). -
404CUSTOMER_TAG_NOT_FOUNDCustomer Tag does not exist in this store.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400STOREFRONT_CUST_NO_CUSTOMER_IDScustomer_idsis empty. -
400STOREFRONT_CUST_BATCH_MAXMore customer ids than the customer bulk limit from Customer limits.
-
400STOREFRONT_CUST_TOO_MANY_TAGSA listed customer already has the most tags a customer can have; no customer was changed.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Untag customers
Remove the Customer Tag from customers.
Removes the tag from every listed customer of the token's store that has it. removed is the number of customers untagged; not_tagged lists ids that did not have the tag and not_found lists ids that are not customers of this store. Each customer untagged sends customers/update with changed_fields tags. The message is CUSTOMERS_BULK_UNTAGGED when every id was untagged, otherwise CUSTOMERS_BULK_UNTAGGED_PARTIAL. Duplicate ids count once.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Customer Tag UUID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
customer_ids
required
|
array<string> |
Customer UUIDs to untag. |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_REQUEST_INVALIDId is not a valid UUID. A customer id is not a valid UUID (
details.fieldiscustomer_ids). -
404CUSTOMER_TAG_NOT_FOUNDCustomer Tag does not exist in this store.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400STOREFRONT_CUST_NO_CUSTOMER_IDScustomer_idsis empty. -
400STOREFRONT_CUST_BATCH_MAXMore customer ids than the customer bulk limit from Customer limits.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Delete a Customer Tag
Delete a Customer Tag.
If assignments or customer-group rules depend on the tag, retry with the returned confirmation token.
Path parameters
| Name | Type | Description |
|---|---|---|
id
required
|
string |
Customer Tag UUID. |
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
confirmed
|
boolean |
On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request. |
confirmation_token
|
string |
Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection). |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400CUSTOMER_REQUEST_INVALIDId is not a valid UUID.
-
404CUSTOMER_TAG_NOT_FOUNDCustomer Tag does not exist in this store.
-
409CONFIRMATION_REQUIREDDeletion requires confirmation.
-
400CUSTOMER_CONFIRMATION_INVALIDThe confirmation token is invalid or expired.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Bulk delete Customer Tags
Delete multiple Customer Tags.
Deletes the selected store-scoped UUIDs transactionally. Dependency changes can require a fresh confirmation retry.
Headers
| Name | Type | Description |
|---|---|---|
Authorization
required
|
string |
Bearer Store API token. |
Body parameters
| Name | Type | Description |
|---|---|---|
tag_ids
required
|
array<string> |
Store-scoped Customer Tag UUIDs. |
confirmed
|
boolean |
On a confirmation retry, set this to true and send the returned confirmation_token. Omit it on the first request. |
confirmation_token
|
string |
Token from the CONFIRMATION_REQUIRED response. Omit it on the first request; when using it, repeat the same request (the same id, or for a bulk delete the same id selection). |
Errors
-
401UNAUTHORIZEDThe Authorization header is missing.
-
401INVALID_TOKENThe Authorization header is not Bearer followed by a token, or the token is not in the form Tringify issues.
-
401TOKEN_NOT_ACCEPTEDThe token is unknown, expired, revoked or replaced, or its app was uninstalled.
-
402SUBSCRIPTION_REQUIREDThe store does not have an active or trialing subscription.
-
403API_VERSION_UNSUPPORTEDThe credential is pinned to an API version that cannot be served.
-
403STORE_SUSPENDEDTringify has suspended the store. Every request is refused until it is reinstated.
-
403STORE_TERMINATEDTringify has terminated the store permanently. Every request is refused.
-
400STORE_API_INVALID_REQUEST_BODYRequest body is not valid JSON.
-
400CUSTOMER_TAGS_NONE_SPECIFIEDTag_ids must contain at least one UUID.
-
400CUSTOMER_TAGS_BULK_DELETE_MAXThe request exceeds the bulk-delete cap.
-
409CUSTOMER_TAG_BULK_RACEDDependencies changed; obtain a fresh confirmation.
-
409CONFIRMATION_REQUIREDDeletion requires confirmation.
-
400CUSTOMER_CONFIRMATION_INVALIDThe confirmation token is invalid or expired.
-
400STORE_API_BODY_PROPERTY_UNKNOWNThe body has a property this request does not accept. The message and
error.details.propertieslist the allowed and required properties (nestedfor each object or list of objects). -
400STORE_API_BODY_PROPERTY_INVALIDA body property has the wrong type (
error.details.expected_type). The message anderror.details.propertieslist the allowed and required properties. -
400STORE_API_QUERY_PARAMETER_UNKNOWNThe request has a query parameter; this endpoint takes none.
-
429RATE_LIMITEDThe request allowance is exhausted. Wait for Retry-After before retrying.
Fields#
Field |
Type |
Create |
Update |
Required |
Translatable |
|---|---|---|---|---|---|
|
text |
Yes |
Yes |
create |
No |
|
slug |
Yes |
Yes |
No |
|
|
integer |
No |
No |
No |
|
|
datetime |
No |
No |
No |
|
|
datetime |
No |
No |
No |
Webhook events#
Subscribe to these events to keep your integration in sync with customer tags. Each event shows the required Store API scope and store permission, the available payload fields, and an example payload. Subscription setup is validated against those permissions; delivery is always restricted to the subscription's store.
Customer tag created
Fired when a customer tag is created. Adding the tag to or removing it from a customer sends customers/update (tags).
Payload fields
| Field | Type | Description |
|---|---|---|
tag.id |
string |
Always present |
tag.name |
string |
Selectable in the Payload builder |
tag.slug |
string |
Selectable in the Payload builder |
tag.customer_count |
integer |
Selectable in the Payload builder |
tag.created_at |
string |
Selectable in the Payload builder |
tag.updated_at |
string |
Selectable in the Payload builder |
Customer tag updated
Fired when a customer tag is renamed.
Possible changed_fields values
The changed_fields array names exactly which of these changed in this event — use it to skip processing updates your integration doesn't care about.
name slug
Payload fields
| Field | Type | Description |
|---|---|---|
previous.id |
string |
Always present |
previous.name |
string |
Selectable in the Payload builder |
previous.slug |
string |
Selectable in the Payload builder |
previous.customer_count |
integer |
Selectable in the Payload builder |
previous.created_at |
string |
Selectable in the Payload builder |
previous.updated_at |
string |
Selectable in the Payload builder |
current.id |
string |
Always present |
current.name |
string |
Selectable in the Payload builder |
current.slug |
string |
Selectable in the Payload builder |
current.customer_count |
integer |
Selectable in the Payload builder |
current.created_at |
string |
Selectable in the Payload builder |
current.updated_at |
string |
Selectable in the Payload builder |
changed_fields |
array |
Selectable in the Payload builder |
Customer tag deleted
Fired when a customer tag is deleted. The tag is removed from its customers without a customers/update for each.
Payload fields
| Field | Type | Description |
|---|---|---|
tag.id |
string |
Always present |
tag.name |
string |
Selectable in the Payload builder |
tag.slug |
string |
Selectable in the Payload builder |
tag.customer_count |
integer |
Selectable in the Payload builder |
tag.created_at |
string |
Selectable in the Payload builder |
tag.updated_at |
string |
Selectable in the Payload builder |