Merchants utilizing the api_quicklink.json API have the option to enhance their requests with additional or personalized data. This can be achieved by appending a custom name:value pair directly to the api_quicklink.json API call. The "name" in this context is open to any designation, providing flexibility in data representation.
This feature provides substantial utility, empowering merchants to conveniently include supplementary details in their API requests.
The platform's support extends to a maximum of 7 parameters for this purpose. If the number of parameters exceeds this limit during, the system will promptly generate an error to appropriately address the situation.
Example: Creating a quicklink using api_quicklink.json API
{
"quicklinkrequest": {
"storeid": "12345",
"authkey": "mykey1234",
"details": {
"desc": "test transaction",
"cart": "1234",
"currency": "AED",
"amount": "10",
"minquantity": "1",
"maxquantity": "1",
"fullname": "",
"addr1": "",
"city": "",
"country": "AE",
"email": "",
"phone": ""
},
"variablevaluemode": {
"status": "0",
"sectiontitle": ""
},
"repeatbilling": {
"auto": "",
"status": "",
"amount": "",
"period": "",
"interval": "",
"start": "",
"term": "",
"final": ""
},
"availability": {
"notvalidbefore": {
"day": "",
"month": "",
"year": ""
},
"notvalidafter": {
"day": "",
"month": "",
"year": ""
},
"stockcontrol": "0",
"stockcount": "0",
"showstock": "0",
"stocktitle": ""
},
"extra": {
"extra1": "xxx",
"extra2": "xxx",
"extra3": "xxx"
}
}
}
In the above JSON request, "extra1," "extra2," and "extra3" can be customized with user-defined names.