Affiliate Links
get
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstring · flake-idRequiredExample:
411486491630370816Responses
200
OK
application/json
default
Error response
application/json
get
/v1/stores/{storeId}/affiliate-linkspost
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstring · flake-idRequiredExample:
411486491630370816Body
wallet_idstringRequired
enabledbooleanRequired
codestringRequired
referer_typestring · enumRequiredPossible values:
tracking_length_daysinteger · int32Required
apply_for_subscriptionsbooleanRequired
discount_typestring · enumRequiredPossible values:
discount_amountinteger · int64Required
commission_typestring · enumRequiredPossible values:
commission_amountinteger · int64Required
Responses
200
OK
application/json
default
Error response
application/json
post
/v1/stores/{storeId}/affiliate-linksget
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstring · flake-idRequiredExample:
411486491630370816affiliateLinkIdstring · flake-idRequiredExample:
411486491630370816Responses
200
OK
application/json
default
Error response
application/json
get
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}delete
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstring · flake-idRequiredExample:
411486491630370816affiliateLinkIdstring · flake-idRequiredExample:
411486491630370816Responses
204
No Content
default
Error response
application/json
delete
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}No content
patch
Authorizations
AuthorizationstringRequired
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
Path parameters
storeIdstring · flake-idRequiredExample:
411486491630370816affiliateLinkIdstring · flake-idRequiredExample:
411486491630370816Body
enabledboolean · nullableOptional
codestring · nullableOptional
referer_typestring · enumOptionalPossible values:
tracking_length_daysinteger · nullableOptional
apply_for_subscriptionsboolean · nullableOptional
discount_typestring · enumOptionalPossible values:
discount_amountinteger · nullableOptional
commission_typestring · enumOptionalPossible values:
commission_amountinteger · nullableOptional
Responses
200
OK
application/json
default
Error response
application/json
patch
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}Last updated
Was this helpful?
