Affiliate Links
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816OK
Represents a detailed view of an affiliate link, including configuration and audit information.
411486491630370816411486491630370816The identifier of the wallet that receives the affiliate commission payouts.
Indicates whether the affiliate link is enabled.
The unique code associated with the affiliate link.
Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
The number of days a customer's referral is tracked after following the affiliate link.
Whether the affiliate earns commission on subscription renewals. Must be enabled for 'commission_amount_steps' past the first cycle to apply - when disabled, only the initial purchase earns commission.
Specifies the type of discount offered to customers referred through an affiliate link.
The discount amount, in the smallest currency unit (e.g., cents) for fixed discounts, or tenths of a percent (e.g., 125 = 12.5%) for percentage discounts.
Specifies the type of commission an affiliate earns from referred purchases.
The commission amount, in tenths of a percent (e.g., 125 = 12.5%) for percentage commissions.
Whether the last commission amount steps rate continues to apply to all billing cycles past the last step. When false, cycles past the last step earn no commission.
The date and time when the affiliate link was created.
The date and time when the affiliate link was last updated.
Error response
GET /v1/stores/{storeId}/affiliate-links HTTP/1.1
Authorization: APIKey TOKEN_HERE
Accept: */*
[
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true,
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": null
}
]An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
Specifies the type of discount offered to customers referred through an affiliate link.
Specifies the type of commission an affiliate earns from referred purchases.
OK
Represents a detailed view of an affiliate link, including configuration and audit information.
411486491630370816411486491630370816The identifier of the wallet that receives the affiliate commission payouts.
Indicates whether the affiliate link is enabled.
The unique code associated with the affiliate link.
Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
The number of days a customer's referral is tracked after following the affiliate link.
Whether the affiliate earns commission on subscription renewals. Must be enabled for 'commission_amount_steps' past the first cycle to apply - when disabled, only the initial purchase earns commission.
Specifies the type of discount offered to customers referred through an affiliate link.
The discount amount, in the smallest currency unit (e.g., cents) for fixed discounts, or tenths of a percent (e.g., 125 = 12.5%) for percentage discounts.
Specifies the type of commission an affiliate earns from referred purchases.
The commission amount, in tenths of a percent (e.g., 125 = 12.5%) for percentage commissions.
Whether the last commission amount steps rate continues to apply to all billing cycles past the last step. When false, cycles past the last step earn no commission.
The date and time when the affiliate link was created.
The date and time when the affiliate link was last updated.
Error response
POST /v1/stores/{storeId}/affiliate-links HTTP/1.1
Authorization: APIKey TOKEN_HERE
Content-Type: application/json
Accept: */*
Content-Length: 342
{
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true
}{
"id": "411486491630370816",
"store_id": "411486491630370816",
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true,
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": null
}An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816OK
Represents a detailed view of an affiliate link, including configuration and audit information.
411486491630370816411486491630370816The identifier of the wallet that receives the affiliate commission payouts.
Indicates whether the affiliate link is enabled.
The unique code associated with the affiliate link.
Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
The number of days a customer's referral is tracked after following the affiliate link.
Whether the affiliate earns commission on subscription renewals. Must be enabled for 'commission_amount_steps' past the first cycle to apply - when disabled, only the initial purchase earns commission.
Specifies the type of discount offered to customers referred through an affiliate link.
The discount amount, in the smallest currency unit (e.g., cents) for fixed discounts, or tenths of a percent (e.g., 125 = 12.5%) for percentage discounts.
Specifies the type of commission an affiliate earns from referred purchases.
The commission amount, in tenths of a percent (e.g., 125 = 12.5%) for percentage commissions.
Whether the last commission amount steps rate continues to apply to all billing cycles past the last step. When false, cycles past the last step earn no commission.
The date and time when the affiliate link was created.
The date and time when the affiliate link was last updated.
Error response
GET /v1/stores/{storeId}/affiliate-links/{affiliateLinkId} HTTP/1.1
Authorization: APIKey TOKEN_HERE
Accept: */*
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true,
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": null
}An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816No Content
No content
Error response
DELETE /v1/stores/{storeId}/affiliate-links/{affiliateLinkId} HTTP/1.1
Authorization: APIKey TOKEN_HERE
Accept: */*
No content
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
Specifies the type of discount offered to customers referred through an affiliate link.
Specifies the type of commission an affiliate earns from referred purchases.
OK
Represents a detailed view of an affiliate link, including configuration and audit information.
411486491630370816411486491630370816The identifier of the wallet that receives the affiliate commission payouts.
Indicates whether the affiliate link is enabled.
The unique code associated with the affiliate link.
Specifies which affiliate link is credited when a customer follows multiple links before purchasing.
The number of days a customer's referral is tracked after following the affiliate link.
Whether the affiliate earns commission on subscription renewals. Must be enabled for 'commission_amount_steps' past the first cycle to apply - when disabled, only the initial purchase earns commission.
Specifies the type of discount offered to customers referred through an affiliate link.
The discount amount, in the smallest currency unit (e.g., cents) for fixed discounts, or tenths of a percent (e.g., 125 = 12.5%) for percentage discounts.
Specifies the type of commission an affiliate earns from referred purchases.
The commission amount, in tenths of a percent (e.g., 125 = 12.5%) for percentage commissions.
Whether the last commission amount steps rate continues to apply to all billing cycles past the last step. When false, cycles past the last step earn no commission.
The date and time when the affiliate link was created.
The date and time when the affiliate link was last updated.
Error response
PATCH /v1/stores/{storeId}/affiliate-links/{affiliateLinkId} HTTP/1.1
Authorization: APIKey TOKEN_HERE
Content-Type: application/json
Accept: */*
Content-Length: 342
{
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true
}{
"id": "411486491630370816",
"store_id": "411486491630370816",
"wallet_id": "text",
"enabled": true,
"code": "text",
"referer_type": "invalid",
"tracking_length_days": 1,
"apply_for_subscriptions": true,
"discount_type": "none",
"discount_amount": 1,
"commission_type": "none",
"commission_amount": 1,
"commission_amount_steps": [
{
"billing_cycle_sequence": 1,
"commission_amount": 1
}
],
"last_commission_amount_step_repeats": true,
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2026-01-01T00:00:00.000Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"updated_at": null
}Last updated
Was this helpful?
