Fetches the Talon.One customer profile for a Shopify customer. The response is also stored in a customer metafield in Shopify.
The response schema is identical to the List customer data endpoint of the Integration API.
If you call this endpoint repeatedly with the same customer access token, the endpoint sends a cached response for the given customer. The cache clears after 10 seconds. This is done to reduce data load.
X-Shopify-Shop-Domain required | string Example: store.myshopify.com The Shopify domain of the shop (e.g., |
{- "profile": { },
- "loyalty": { },
- "referrals": [
- { }
], - "coupons": [
- { }
], - "giveaways": [
- { }
], - "achievements": [
- { }
]
}
Creates or updates a session in Talon.One and submits Shopify cart items.
The response schema is identical to the Update customer session endpoint of the Integration API.
X-Shopify-Shop-Domain required | string Example: store.myshopify.com The Shopify domain of the shop (e.g., |
id required | string The Shopify cart ID. | ||||||||
required | Array of objects The Shopify cart line items. | ||||||||
Array
|
{- "id": "gid://shopify/Cart/Z2NwLXVzLWV4YW1wbGU6MDEyMzQ1Njc4OTAxMjM0NTY3ODkw?key=examplekey1234567890",
- "line_items": [
- {
- "variant_id": 0,
- "title": "string",
- "price": "string",
- "quantity": 0
}
]
}
{ }