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
chevron-right
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
chevron-right
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
chevron-right
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
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
chevron-right
200

OK

application/json
patch
/v1/stores/{storeId}/affiliate-links/{affiliateLinkId}

Last updated

Was this helpful?