Difference between revisions of "TagItem"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Set the Tag for a item of the catalog using a type and the productId passing a value for the tag. This method only can be used by logged user. ...") |
|||
Line 54: | Line 54: | ||
|Exceptions= | |Exceptions= | ||
* [[AuthenticationRequiredException]] | * [[AuthenticationRequiredException]] | ||
− | * [[InvalidItemException]] | + | * [[InvalidItemException]] 297 NEW |
* [[InvalidBooleanTagValueException]] | * [[InvalidBooleanTagValueException]] | ||
* [[InvalidTagTypeException]] | * [[InvalidTagTypeException]] |
Revision as of 12:24, 5 April 2019
Description
Set the Tag for a item of the catalog using a type and the productId passing a value for the tag.
This method only can be used by logged user.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- ItemId (int, required)
- The ID of the item that wants to untag.
- ItemType (ItemType, required)
- The type of the item being tagged
- tagType (TagType, required)
- Tag type. This is a list of possible values (Enumeration).
- tagValue (String, required)
- The type must be: int when be TagType.Stars or bool for others type
Returns
Returns a statuscode 0 if the tag propagated properly
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": true
}
Exceptions
- AuthenticationRequiredException
- InvalidItemException 297 NEW
- InvalidBooleanTagValueException
- InvalidTagTypeException
Caching
This method is not cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
7.0 | Initial method design | José Manuel Escartín |