GET return_policies/show
Available from CRM.COM R14.2.0
This method returns information related with a Return Policy. A single Return Policy is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||||||||
token | String | The token retrieved from the login method | |||||||||||||||
return_policy_identifier (mandatory) | Identifier | The identifier of the return policy that should be returned as a result. The allowed return policy 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 return policy |
number | String | The number of the retrieved return policy |
name | String | The name of the retrieved return policy |
alternative_code | String | The alternative code of the retrieved return policy |
life_cycle_state | String | The life cycle state of the retrieved return policy. Supported values are EFFECTIVE and NOT EFFECTIVE |
description | String | The description of the retrieved return policy |
allowed_return_period | Number | The maximum allowed period during which customers are allowed to return physical goods based on the related return policy |
unit_of_time | String | The unit of time that measures the specified allowed return period. The supported values are DAYS, WEEKS, MONTHS or YEARS |
effective_date | Date | The date from which the return policy can be applied on sold physical goods |
expiration_date | Date | The date until which the return policy can be applied on sold physical goods |
company_responsibilities | String | The return policy's company responsibilities |
customer_responsibilities | String | The return policy's customer responsibilities |
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_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 |
Set of physical goods covered | The physical goods which can be covered by the return policy | |
coverage_reasons_set | Set of Return Policy Coverage Reasons | The Return Policy Coverage Reasons which are applicable by the return policy. |
allowed_organisational_units_set | Set of Unit Objects | The organisational units that can use the specific return policy Deprecated from CRM.COM R18.0.0 |
allowed_business_units_set | Set of Business Unit Objects | The business units that can use the specific return policy Available from CRM.COM R18.0.0 |
Log Information Object | The log information related with the retrieved return policy |
Referred Objects Response Data