itemtypesubtype
Result: list of items
Product types
Access level: admin
List of subtypes for a product type
Function: itemtype.subtype
Access level: admin
Parameters:
-
elid— unique identifier of the parent product type. Required parameter.
Edit subtype data
Function: itemtype.subtype.edit
Access level: admin
Parameters:
-
plid— unique identifier of the product type. Required parameter; -
sok— parameter value must be non-empty, usuallyok. Required parameter; -
elid— unique identifier. If specified, the function will update an existing subtype. If omitted, a new subtype will be created. - additional request parameters.
Delete subtype
Function: itemtype.subtype.delete
Access level: admin
Parameters:
-
elid— unique identifier of the subtype. Required parameter.
Move subtype up/down in the list
Function: itemtype.subtype.up
Function: itemtype.subtype.down
Access level: admin
Parameters:
-
elid— unique identifier of the subtype. Required parameter; plid— unique identifier of the parent product type. Required parameter.
List of available tariffs for a subtype
Function: itemtype.subtype.pricelist
Access level: admin
Parameters:
-
elid— unique identifier of the subtype. Required parameter; plid— unique identifier of the parent product type. Required parameter.
Enable/Disable tariff plan for a subtype
Function: itemtype.subtype.pricelist.resume
Function: itemtype.subtype.pricelist.suspend
Access level: admin
Parameters:
-
elid— unique identifier of the tariff plan. Required parameter; plid— unique identifier of the subtype. Required parameter.
Service parameters
Functions related to service parameters are inherited from parent service types. See the article Product types (itemtype).
Useful tips
Related topics:
En
Es