Skip to content

Marhaba Cancellation Policy
Run in Postman

/api/v1/marhaba/cancellation-policy   
This service is used to get cancellation-policy for the specific marhaba result.

Marhaba Cancellation-Policy Request

Marhaba cancellation-policy mainly consists with searchKey and offerId .

Tags Attribute Description
meta meta
(Object)
marhabaCancellationPolicyCriteria (JsonObject)
searchKey*
(String)
This attribute serves as a unique search identifier that enables the identification of a specific user flow request.
offerId*
(String)
A unique offer id used for all subsequent API calls to identify user selected result.



Marhaba Cancellation-Policy Request
1
2
3
4
{
  "searchKey": "8c85b663-4008-40d4-93c0-b4XXXXX1308",
  "offerId": "8c85b663-4008-40d4-93c0-b42226691308XXXXXXXXXXXR00000000"
}


Marhaba Cancellation-Policy Response

After sending the marhaba cancellation-policy request Travlinq will give you all the available marhaba cancellation-policy.

Tags Attribute Description
meta meta
(Object)
success
(String)
Response status will be return Ex: "true"
statusCode
(Boolean)
Response statusCode will be return Ex: "1"
statusMessage
(String)
Response statusMessage will be return Ex: "SUCCESS"
commonData commonData
(Object)
This tag has the common Data in the response.
searchKey *
(String)
A unique search id will be returned in the search response.
data data
(Object)
description*
(String)
This attribute provides a description of the cancellation policy. It typically outlines the terms and conditions for cancellations, such as the refund criteria and the cancellation period.
Marhaba Cancellation-Policy Response
{
    "meta": {
        "success": true,
        "statusCode": 1,
        "statusMessage": "SUCCESS",
        "actionType": "GET_MARHABA_CANCELLATION_POLICIES",
        "conversationId": "b4e30446-86db-43d3-b4c6-a2f0e471a00a"
    },
    "data": [
        {
            "description": "<div>If cancelled 8 hours before no cancellation charges will applied.</div><div>If cancelled after 8 hours 100.0 percent will charge as cancellation fees</div>"
        }
    ],
    "version": "1.0.0"
}