GET products/show
This method returns information related with a product. Single product is returned by each call
Resource URL
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
product_identifier (mandatory) | Identifier | The identifier of the product that should be returned as a result. The allowed product identifier fields are the following:
| ||||||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved product |
code | String | The code of the retrieved product |
alternative_code | String | The alternative code of the retrieved product |
description | String | The description of the retrieved product |
short_description | String | A short description of the retrieved product Available from CRM.COM R16.3.0 and onwards |
long_description | String | A long description of the retrieved product Available from CRM.COM R12.3.0 and CRM.COM R13.1.0 onwards |
priority_level | Integer | The priority level of the product Available from CRM.COM R12.3.0 |
non_stockable | Boolean | The flag shoes if the retrieved product is non-stockable Available from CRM.COM R18.0.0 |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_string_9 | String | User Defined Field of type String |
udf_string_10 | String | User Defined Field of type String |
udf_string_11 | String | User Defined Field of type String |
udf_string_12 | String | User Defined Field of type String |
udf_string_13 | String | User Defined Field of type String |
udf_string_14 | String | User Defined Field of type String |
udf_string_15 | String | User Defined Field of type String |
udf_string_16 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
global_rate | Global Rate Object | The global rate of the retrieved product Available from CRM.COM R15.0.0 |
Product Type Object | The type of the retrieved product | |
Product Brand Object | The brand of the retrieved product | |
Product Family Object | The product family of the retrieved product | |
Log Information Object | The Log Information related with the retrieved product | |
Bundle Restrictions Object | The bundle restrictions of the new product This parameter is applicable only if the product is classified as a flexible bundle Available from CRM.COM R14.0.0 | |
Set of Price Plans Object | The Price Plans containing the retrieved product | |
Set of Product Validity Object | The Product validity of the retrieved product (If is empty then the product is always valid) | |
Set of Product to Product Category Object | The Product Categories of the retrieved product | |
Set of Product Components Object | The components of the retrieved product. This is applicable only if the product type composition method is set to fixed or flexible bundle | |
usage_service_catalogs_set | Set of Usage Service Catalogs Object | The Usage Service Catalogs containing the retrieved product. Available only when the retrieved product is a usage service. Available from CRM.COM R9.0.0 |
tax_rate_set | Set of Tax Rate Objects | The TAX Rate of the retrieved product Available from CRM.COM R14.0.0 |
Set of Vat Rate Objects | The VAT Rate of the retrieved product Deprecate from CRM.COM R17.0.0 | |
metadata_set | Set of Metadata Attributes | The set of metadata attributes available for the retrieved product Available from CRM.COM R15.0.0 |
allowed_metadata_set | Set of Metadata Attributes | The allowed set of metadata attributes whose values will be set on the installed items. Available only for traceable physical goods Available from CRM.COM R15.0.0 |
Referred Objects Response Data
Examples
Example 1
HTTP Method: GET
Request:
Response:
{ "status": { "message": null, "description": null, "code": "OK" }, "data": { "tax_code": { "default": false, "effective_date": null, "percentage": 10, "id": "1D3F3BA24EEBBD50E4B3289F0CB50885", "description": "10", "alternative_code": null }, "udf_float_1": null, "udf_float_2": null, "brand": { "name": "Test1", "id": "0CCF5FFE863F3753E49AD78C36FA23B3", "alternative_code": "Test" }, "udf_float_3": null, "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "validity_set": [ { "id": "75F0A51A812B89014958AFD2BA476A6B", "valid_from": "2014-03-01T00:00:00", "valid_to": "2014-04-30T00:00:00" } ], "price_plans_set": [ ], "id": "367A10D0A25DE1CCFAB298903DC082AE", "family": { "name": "Movie Packages 3", "id": "226492B49E346D0C3236EC740E7509F4", "alternative_code": "1" }, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "test product", "log_information": { "updated_date": "2014-03-27T10:43:49", "created_date": "2013-07-23T16:01:39", "updated_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": null }, "created_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" }, "updated_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" } }, "components_set": [ ], "type": { "name": "test", "id": "12D79B1697759744C21D68F3D9617EEC", "alternative_code": "tests" }, "description": "test product", "categories_set": [ { "id": "AA950BF4170835FD9FAED95CC678DA43", "category": { "name": "Residential 1", "id": "AB7967530FB60ECC0C645B63739D6073", "alternative_code": null } } ], "alternative_code": "tp" } }
GET products/list
This method returns information related with products. Multiple products are returned by each call
Resource URL
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
product_identifier (semi-optional) | Identifier | The identifier of the product that should be returned as a result. The allowed product identifier fields are the following:
| ||||||||||||
product_type_identifier (semi-optional) | Identifier | The identifier of the product type related with the products that will be returned as results. The allowed product type identifier fields are the following:
| ||||||||||||
product_brand_identifier (semi-optional) | Identifier | The identifier of the product brand related with the products that will be returned as results. The allowed product brand identifier fields are the following:
| ||||||||||||
product_family_identifier (semi-optional) | Identifier | The identifier of the product family related with the products that will be returned as results. The allowed product family identifier fields are the following:
| ||||||||||||
product_category_identifier (semi-optional) | Identifier | The identifier of the product category related with the products that will be returned as results. The allowed product category identifier fields are the following:
| ||||||||||||
as_of_date_valid (optional) | Date | Returns only the products that are valid based on specific date | ||||||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved product |
code | String | The code of the retrieved product |
alternative_code | String | The alternative code of the retrieved product |
description | String | The description of the retrieved product |
short_description | String | A short description of the retrieved product Available from CRM.COM R16.3.0 and onwards |
long_description | String | A long description of the retrieved product Available from CRM.COM R12.3.0 and CRM.COM R13.1.0 onwards |
priority_level | Integer | The priority level of the product Available from CRM.COM R12.3.0 |
non_stockable | Boolean | The flag shoes if the retrieved product is non-stockable Available from CRM.COM R18.0.0 |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_string_9 | String | User Defined Field of type String |
udf_string_10 | String | User Defined Field of type String |
udf_string_11 | String | User Defined Field of type String |
udf_string_12 | String | User Defined Field of type String |
udf_string_13 | String | User Defined Field of type String |
udf_string_14 | String | User Defined Field of type String |
udf_string_15 | String | User Defined Field of type String |
udf_string_16 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
global_rate | Global Rate Object | The global rate of the retrieved product Available from CRM.COM R15.0.0 |
Product Type Object | The type of the retrieved product | |
Product Brand Object | The brand of the retrieved product | |
Product Family Object | The product family of the retrieved product | |
Log Information Object | The Log Information related with the retrieved product | |
Bundle Restrictions Object | The bundle restrictions of the new product This parameter is applicable only if the product is classified as a flexible bundle Available from CRM.COM R14.0.0 | |
Set of Price Plans Object | The Price Plans containing the retrieved product | |
Set of Product Validity Object | The Product validity of the retrieved product (If is empty then the product is always valid) | |
Set of Product to Product Category Object | The Product Categories of the retrieved product | |
Set of Product Components Object | The components of the retrieved product. This is applicable only if the product type composition method is set to fixed or flexible bundle | |
usage_service_catalogs_set | Set of Usage Service Catalogs Object | The Usage Service Catalogs containing the retrieved product. Available only when the retrieved product is a usage service. Available from CRM.COM R9.0.0 |
tax_rate_set | Set of Tax Rate Objects | The TAX Rate of the retrieved product Available from CRM.COM R14.0.0 |
Set of Vat Rate Objects | The VAT Rate of the retrieved product Deprecate from CRM.COM R17.0.0 | |
metadata_set | Set of Metadata Attributes | The set of metadata attributes available for the retrieved product Available from CRM.COM R15.0.0 |
allowed_metadata_set | Set of Metadata Attributes | The allowed set of metadata attributes whose values will be set on the installed items. Available only for traceable physical goods Available from CRM.COM R15.0.0 |
Referred Objects Response Data
Examples
Example 1
HTTP Method: GET
Request:
Response:
{ "status": { "message": null, "description": null, "code": "OK" }, "data": [ { "tax_code": { "default": false, "effective_date": null, "percentage": 10, "id": "1D3F3BA24EEBBD50E4B3289F0CB50885", "description": "10", "alternative_code": null }, "udf_float_1": null, "udf_float_2": null, "brand": { "name": "Test1", "id": "0CCF5FFE863F3753E49AD78C36FA23B3", "alternative_code": "Test" }, "udf_float_3": null, "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "validity_set": [ ], "price_plans_set": [ ], "id": "367A10D0A25DE1CCFAB298903DC082AE", "family": { "name": "Movie Packages 3", "id": "226492B49E346D0C3236EC740E7509F4", "alternative_code": "1" }, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "test product", "log_information": { "updated_date": "2014-03-27T10:48:04", "created_date": "2013-07-23T16:01:39", "updated_by_unit": { "group_name": null, "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": null }, "created_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" }, "updated_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" } }, "components_set": [ ], "type": { "name": "test", "id": "12D79B1697759744C21D68F3D9617EEC", "alternative_code": "tests" }, "description": "test product", "categories_set": [ { "id": "AA950BF4170835FD9FAED95CC678DA43", "category": { "name": "Residential 1", "id": "AB7967530FB60ECC0C645B63739D6073", "alternative_code": null } } ], "alternative_code": "tp" }, { "tax_code": { "default": true, "effective_date": null, "percentage": 20, "id": "18", "description": "V.A.T. 20%", "alternative_code": "2000" }, "udf_float_1": null, "udf_float_2": null, "brand": { "name": "Test1", "id": "0CCF5FFE863F3753E49AD78C36FA23B3", "alternative_code": "Test" }, "udf_float_3": null, "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "validity_set": [ ], "price_plans_set": [ ], "id": "DAD03F53603E48B419E48BFDD737B65C", "family": { "name": "Movie Packages2 ", "id": "6902FB8B7A0BCC2AC52631B9DCC99DBE", "alternative_code": "3" }, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "Add on for P1", "log_information": { "updated_date": "2014-03-26T17:12:35", "created_date": "2012-05-08T15:20:46", "updated_by_unit": { "group_name": null, "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": null }, "created_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" }, "updated_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" } }, "components_set": [ ], "type": { "name": "Subscription", "id": "2B0EC029035C637200648C9B2D6A2FFB", "alternative_code": "SUBSCRIPTION" }, "description": "Add on for P1", "categories_set": [ { "id": "740DB5164CC87E5D17100845967CA510", "category": { "name": "Residential 1", "id": "AB7967530FB60ECC0C645B63739D6073", "alternative_code": null } }, { "id": "C26961C7C48D83F1860573C3832D1CCE", "category": { "name": "Residential 2", "id": "12BE7A9BC9CE6A189C268F6440A60AB2", "alternative_code": null } } ], "alternative_code": "P1" }, { "tax_code": { "default": true, "effective_date": null, "percentage": 20, "id": "18", "description": "V.A.T. 20%", "alternative_code": "2000" }, "udf_float_1": null, "udf_float_2": null, "brand": { "name": "Test1", "id": "0CCF5FFE863F3753E49AD78C36FA23B3", "alternative_code": "Test" }, "udf_float_3": null, "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "validity_set": [ { "id": "5E3EC1DA286670CA778EA866C63EA815", "valid_from": "2012-06-01T01:55:41", "valid_to": null } ], "price_plans_set": [ ], "id": "DBC04604FA8626E5E380AC5C59A28017", "family": { "name": "Movie Packages 1", "id": "97BF1778AB08D1CCE8E0A3DE1590AECC", "alternative_code": "2" }, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "Desc", "log_information": { "updated_date": "2013-07-22T22:47:01", "created_date": "2012-06-02T01:50:08", "updated_by_unit": { "group_name": null, "name": "Verification Unit", "id": "F80C8030B13BB3CEDBD6D31F198F98D0", "description": null, "alternative_code": "Verification" }, "created_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" }, "updated_by_user": { "person_name": "Rossides Giorkos", "username": "g_rossides", "id": "4AD9C84FA60F9FE407140E20F707726A" } }, "components_set": [ { "set_component": { "number": null, "id": "293DD7C2E2C7425B13937BBC737254F7", "description": "HUMAX Digital Satellite Receiver/Decoder IR-6000Z", "alternative_code": null }, "quantity": 1, "id": "22816CE8E2FDDA721D8CB75BB6B55DF8" }, { "set_component": { "number": null, "id": "E643A06D8F0E8AF5B11ECB909B57C809", "description": "HUMAX Digital Satellite Receiver/Decoder IR-5000Z", "alternative_code": null }, "quantity": 1, "id": "E9B9BBD72FCCF72BD94ECBEEF076EB37" } ], "type": { "name": "Subscription Packages", "id": "BC954969D3172372D498D3BB2BA590A0", "alternative_code": "subpackages" }, "description": "Desc", "categories_set": [ { "id": "7E44487354EC0C3DA78A3BB0AAF67085", "category": { "name": "Residential 1", "id": "AB7967530FB60ECC0C645B63739D6073", "alternative_code": null } } ], "alternative_code": null }, { "tax_code": null, "udf_float_1": null, "udf_float_2": null, "brand": null, "udf_float_3": null, "udf_float_4": null, "udf_string_1": null, "udf_string_2": null, "udf_string_3": null, "udf_string_4": null, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "udf_string_8": null, "validity_set": [ ], "price_plans_set": [ { "effective_date": "2013-06-27T12:10:20", "type": "BASE", "name": "Base Price Plan", "id": "6800B3AF1771693DBA2957BB0AC43D84", "description": null, "code": "BPP", "expiration_date": "2014-04-21T09:21:57", "version_num": 1 } ], "id": "FEF0DD4C066AFF666253AD9E54DFB54A", "family": null, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "description", "log_information": { "updated_date": "2013-07-11T14:42:57", "created_date": "2013-07-11T11:49:46", "created_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" }, "updated_by_user": { "person_name": "Master Partner", "username": "MPAdministrator", "id": "1" } }, "components_set": [ { "set_component": { "number": null, "id": "F43EBDCE48CAADEC32CB26F59904ECCD", "description": "Smart Card", "alternative_code": null }, "quantity": 10, "id": "E9D9D62E6611C08A810EA051FF721842" } ], "type": { "name": "API unit testing", "id": "5E7AB5975424269EADF67B19FBC3CA7F", "alternative_code": null }, "description": "description", "categories_set": [ { "id": "805A1E4624C97E983654141C0542F3AF", "category": { "name": "Residential 1", "id": "AB7967530FB60ECC0C645B63739D6073", "alternative_code": null } } ], "alternative_code": null } ] }