Validate Product ======================= Validate whether a given HSN code is valid. .. tip:: If you already have an HSN code, You can use this endpoint to validate if it's valid or not API Endpoint ------------ .. code-block:: bash GET /hsn/{code}/validate Example Request --------------- .. code-block:: bash curl --location '/hsn//validate' Example Response ---------------- .. code-block:: json { "data": { "code": "01061100", "type": "HSN", "isValid": true } } Field Reference --------------- .. list-table:: :header-rows: 1 :widths: 25 50 25 * - Field - Description - Example * - data.code - The HSN code being validated - ``01061100`` * - data.type - Type of classification (always ``HSN`` in this endpoint) - ``HSN`` * - data.isValid - Whether the provided HSN code is valid - ``true``