SEOTOASTER 2.0 Documentation: Store API for developers
Class

Api_Store_Tags

class Api_Store_Tags extends Api_Service_Abstract

Product Tags REST API controller

Methods

JSON getAction()

Find product tag by ID

JSON postAction()

Create new product tag

JSON putAction()

Update an existing product tag

deleteAction()

Deletes product tag by tag id

Details

at line 51
public JSON getAction()

Find product tag by ID

Resourse:
: /api/store/tags/id/:id

HttpMethod:
: GET

## Parameters:
id (type *mixed*)
: Tag ID or comma separated list of IDs

limit (type *int*)
: Specifies the number of records to retrieve. If omitted, will return all existing records.

offset (type *int*)
: Number of records to skip. Used for pagination result set.

count (type *boolean*)
: When set to true, 1 or non empty string total number of records will be returned in response in 'totalCount' key

Return Value

JSON Single tag or set of tags

at line 96
public JSON postAction()

Create new product tag

Return Value

JSON

at line 119
public JSON putAction()

Update an existing product tag

Return Value

JSON Returns updated models representations

at line 147
public deleteAction()

Deletes product tag by tag id

Resourse:
: /api/store/tags/

HttpMethod:
: DELETE

## Parameters:
id (type integer) Tag id