Affiliate Links

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequiredExample: 411486491630370816
Responses
200

OK

application/json
get
/v1/stores/{storeId}/affiliate-links
post
Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequiredExample: 411486491630370816
Body
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
post
/v1/stores/{storeId}/affiliate-links
Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequiredExample: 411486491630370816
affiliateLinkIdstring · flake-idRequiredExample: 411486491630370816
Responses
200

OK

application/json
get
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}
Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequiredExample: 411486491630370816
affiliateLinkIdstring · flake-idRequiredExample: 411486491630370816
Responses
delete
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}

No content

Authorizations
AuthorizationstringRequired

An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.

Path parameters
storeIdstring · flake-idRequiredExample: 411486491630370816
affiliateLinkIdstring · flake-idRequiredExample: 411486491630370816
Body
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
patch
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}

Last updated

Was this helpful?