SEOTOASTER 2.0 Documentation: Store API for developers
Class

Api_Store_Groupsprice

class Api_Store_Groupsprice extends Api_Service_Abstract

Groups REST API controller

Methods

JSON getAction()

Get groups price data

JSON postAction()

New group price creation

putAction()

JSON deleteAction()

Delete group price

Details

at line 44
public JSON getAction()

Get groups price data

Resourse:
: /api/store/groupsprice/

HttpMethod:
: GET

## Parameters:
* productId (type integer)
: productID

pairs (type sting)
: If given data will be returned as key-value array

Return Value

JSON List of groups price

at line 94
public JSON postAction()

New group price creation

Resourse:
: /api/store/groupsprice/

HttpMethod:
: POST

Return Value

JSON New group price model

at line 119
public putAction()

at line 140
public JSON deleteAction()

Delete group price

Resourse:
: /api/store/groupsprice/

HttpMethod:
: DELETE

## Parameters:
id (type integer)
: Group Id

productId (type integer)
: product Id

Return Value

JSON Result of operations