Overview
SUBPLACE Biz Partner Affiliate API is to allow Biz Partner to insert own Affiliate ID into Subplace's order. This API will allow Biz Partner to create and update Affiliate ID to Subplace.
API Suffix: affiliate
Method: POST
The Pre-requisites
The API Input Parameter
Format : form base
API Response
A successful API call will return you the following response in JSON format
Sample of result:
{
"status":{
"code": 1,
"message": "Success"
},
"input":{
"key": "0b548ee77600388dabf3ab2923c84aae",
"signature": "68a52b2efbad660ab4b80bc1540ccaa765dec9da524e81df6a541ef5d07f0d9b",
"affiliate_code": "XX9",
"affiliate_email": "test_001@gmail.com",
"affiliate_name": "test01",
"affiliate_contact_no": "0101234567"
}
}
How to test?
Generate Affiliate code
Insert Affiliate code into store link, example:
https://subplace.com/brand/Brandname/XX1(Affiliate code)
Email verification, email will send to affiliate when customer has successful placed order with Affiliate link
Provide testing result (may refer to above sample of result) to activate in production