stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Order > referralCode

AdminTypes.Order.referralCode property

Warning: This API is now obsolete.

Use customerJourneySummary.lastVisit.referralCode instead

The marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: “ref”, “source”, or “r”. For example, if the URL is {shop}.myshopify.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.

Signature:

referralCode?: Maybe<Scalars['String']['output']>;