- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
upsertProductTags - Product Module Reference
This documentation provides a reference to the upsertProductTags
method. This belongs to the Product Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
upsertProductTags(data, sharedContext?): Promise<ProductTagDTO[]>#
This method updates existing tags, or creates new ones if they don't exist.
Example#
Parameters#
data
UpsertProductTagDTO[]The attributes to update or create for each tag.
data
UpsertProductTagDTO[]Returns#
Promise
Promise<ProductTagDTO[]>The updated and created tags.
Promise
Promise<ProductTagDTO[]>upsertProductTags(data, sharedContext?): Promise<ProductTagDTO>#
This method updates an existing tag, or creates a new one if it doesn't exist.
Example#
Parameters#
The attributes to update or create for the tag.
Returns#
Promise
Promise<ProductTagDTO>The updated or created tag.
Promise
Promise<ProductTagDTO>Was this page helpful?