This page documents all URL parameters available for dynamic links.
Add products to the cart using variant IDs.
Format:
?li=VARIANT_ID:QUANTITYMultiple items (comma-separated):
?li=VARIANT_ID_1:QUANTITY_1,VARIANT_ID_2:QUANTITY_2With selling plan (for subscriptions):
?li=VARIANT_ID:QUANTITY:SELLING_PLAN_IDWith attributes (in brackets, multiple separated by colon):
?li=VARIANT_ID:QUANTITY[KEY,VALUE:KEY,VALUE]Examples:
?li=12345678:1 ?li=12345678:2,87654321:1 ?li=12345678:1:99999999 ?li=12345678:1[gift_message,Happy Birthday]Pre-fill customer information at checkout.
Shopify Customer ID:
?c=SHOPIFY_CUSTOMER_IDKlaviyo Customer ID:
?c=klaviyo:KLAVIYO_PROFILE_IDInline customer data:
?c=[email,[email protected]:firstName,John:lastName,Doe]Available inline fields:
email
firstName
lastName
address1
address2
city
province (state/province code)
zip
country (country code)
phone
Example with full address:
?c=[email,[email protected]:firstName,John:lastName,Doe:address1,123 Main St:city,New York:province,NY:zip,10001:country,US]Attach key-value pairs to the order.
Format:
?attr=[KEY,VALUE]Multiple attributes (comma-separated):
?attr=[KEY_1,VALUE_1:KEY_2,VALUE_2]Example:
?attr=[source,instagram:campaign,spring2026]Add a note to the order.
Format:
?note=Your note text hereExample:
?note=Gift order - please wrapYou can combine any parameters using &:
?li=12345678:2&c=[email,[email protected]]&attr=[source,email]¬e=ReorderRemember to URL-encode special characters in your parameter values:
Character | Encoded |
|---|---|
Space |
|
|
|
|
|
|
|
|
|
Most email and SMS platforms handle URL encoding automatically when using merge tags.