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
enablednull | booleanOptional
codenull | stringOptional
referer_typestring · enumOptionalPossible values:
tracking_length_daysnull | integerOptional
apply_for_subscriptionsnull | booleanOptional
discount_typestring · enumOptionalPossible values:
discount_amountnull | integerOptional
commission_typestring · enumOptionalPossible values:
commission_amountnull | integerOptional
Responses
200
OK
application/json
default
Error response
application/json
patch
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}Last updated
Was this helpful?
