GET products/validate_product_code

This method returns if the product code is in a valid format

Available from CRM.COM R15.0.0

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

product_code

(mandatory)

String

The applied product code

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Multiple semi-optional parameters can be specified in each call

Response Data

Name

Type

Description

boolean

String

Defines if the phone number is in valid format or not

 

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

{
    "data": {
        "is_valid": true
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}