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": { "udf_float_1": null, "udf_float_2": null, "brand": { "name": "Philips", "id": "0CCF5FFE863F3753E49AD78C36FA23B3", "description": "Band Philips", "alternative_code": "Philips" }, "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": "599C2CE3A1E25F69A8E2A367474E4336", "family": { "name": "TV Premium", "id": "432212996A7C11149A4B1F1D332096E5", "description": "TV for Premium Customers", "alternative_code": "TV PP" }, "udf_date_1": null, "udf_date_2": null, "udf_date_3": null, "udf_date_4": null, "code": "PRTV0000459", "log_information": { "updated_date": "2014-07-15T15:22:55", "created_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_date": "2014-07-15T15:20:05", "updated_by_unit": { "community_name": "Main Community", "group_name": "Main Group", "name": "Admin Unit", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "description": "r1", "alternative_code": "MG" }, "created_by_user": { "person_name": "JackH", "username": "JackH", "id": "B8650C555C4EA8C741103961276E7773", "email": "j_hadjicosti@crm.com" }, "updated_by_user": { "person_name": "JackH", "username": "JackH", "id": "B8650C555C4EA8C741103961276E7773", "email": "j_hadjicosti@crm.com" } }, "vat_rate": { "name": "Standard 10%", "id": "F170FB2FF32E8C4F5A569E8F3B461E1F", "description": null, "alternative_code": "S10" }, "components_set": [ { "set_component": { "product_type": { "physical_good_type": null, "service_type": "USAGE", "used_for_provisioning": true, "composition_method": "FLAT", "classification": "SERVICES", "name": "3Play ", "id": "92F0AFC840E91633C5212162303BE8DF", "description": "3Play Packages (Gold, Silver etc)", "alternative_code": "3PLAY" }, "id": "F43EBDCE48CAADEC32CB26F59904ECCD", "description": "Smart Card", "code": "Smart Card", "alternative_code": null }, "max_quantity": "F77E7AFCC1D7CE2C372330528A43F25E", "min_quantity": "F77E7AFCC1D7CE2C372330528A43F25E", "quantity": 1, "id": "F77E7AFCC1D7CE2C372330528A43F25E" }, { "set_component": { "product_type": { "physical_good_type": null, "service_type": "TERMED", "used_for_provisioning": true, "composition_method": "FIXEDBUNDLE", "classification": "SERVICES", "name": "Subscription Packages", "id": "BC954969D3172372D498D3BB2BA590A0", "description": "Subscription main packages", "alternative_code": "SP" }, "id": "3FACF409E7E091F96C52318BAD1AEF1C", "description": "Local + Documentaries + Sport", "code": "Local + Documentaries + Sport", "alternative_code": null }, "max_quantity": "123A393351452B6A71FF667CAE563F5D", "min_quantity": "123A393351452B6A71FF667CAE563F5D", "quantity": 1, "id": "123A393351452B6A71FF667CAE563F5D" } ], "type": { "physical_good_type": null, "service_type": "TERMED", "used_for_provisioning": true, "composition_method": "FIXEDBUNDLE", "classification": "SERVICES", "name": "Subscription Packages", "id": "BC954969D3172372D498D3BB2BA590A0", "description": "Subscription main packages", "alternative_code": "SP" }, "description": null, "categories_set": [ ], "alternative_code": "PRTV459" } }
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": [ { "family": { "name": "LED TV", "id": "23B1B61652524515C440DF0CDC02E12B", "description": null, "alternative_code": "LET" }, "brand": { "name": "Samsung", "id": "E262BDC87F97B8DA8762D1507CCBF3C7", "description": null, "alternative_code": "SAM" }, "id": "599C2CE3A1E25F69A8E2A367474E4336", "code": "SSTV0000452" }, { "family": { "name": "LED TV", "id": "23B1B61652524515C440DF0CDC02E12B", "description": null, "alternative_code": "LET" }, "brand": { "name": "Samsung", "id": "E262BDC87F97B8DA8762D1507CCBF3C7", "description": null, "alternative_code": "SAM" }, "id": "58DB60D0C959E2154B14CFA6EB90F88D", "code": "SSTV0000453" } ] }