openapi: 3.1.0
info:
version: 2.2.52
title: analytics.athoscommerce.net
x-logo:
url: ./images/athos_commerce_logo.png
altText: Athos Commerce logo
contact:
name: Athos Commerce
servers:
- url: https://analytics.athoscommerce.net/beacon/v2
description: Beacon v2
tags:
- name: Autocomplete
description: Autocomplete Module tracking events. Payload data sourced from the [Autocomplete API](https://docs.athoscommerce.com/reference/get-autocomplete) request parameters and response body.
- name: Bundles
description: Personalized bundles tracking events. Payload data sourced from the Personalized Bundles API response.
- name: Cart
description: Cart tracking events
- name: Category
description: Category results page tracking events. Payload data sourced from the [Search API](https://docs.athoscommerce.com/reference/get-search) request parameters and response body. **If you are not integrating Athos Commerce on category pages, omit the usage of these endpoints.**
- name: Chat
description: Chat tracking events. Payload data sourced from the [Chat API]() request parameters and response body.
- name: Error Logs
description: Error log events
- name: Messaging Recommendations
description: Messaging Recommendations tracking events
- name: Order
description: Order tracking events
- name: Product
description: Product tracking events
- name: Recommendations
description: Personalized recommendations tracking events. Payload data sourced from the Personalized Recommendations API response.
- name: Search
description: Search results page tracking events. Payload data sourced from the [Search API](https://docs.athoscommerce.com/reference/get-search) request parameters and response body.
- name: Shopper
description: Shopper tracking events
paths:
/{siteId}/autocomplete/addtocart:
post:
tags:
- Autocomplete
summary: addtocart
description: /beacon/v2/{siteId}/autocomplete/addtocart
Shopper adds a Athos Commerce autocomplete result to the cart via a `Quick Add to Cart` button in the Autocomplete Module. **If frontend `Quick Add to Cart` is not implemented, omit usage of this endpoint.**
operationId: autocomplete-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Autocomplete Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/addtocart'
application/json:
schema:
title: Autocomplete Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/autocomplete/clickthrough:
post:
tags:
- Autocomplete
summary: clickthrough
description: /beacon/v2/{siteId}/autocomplete/clickthrough
Shopper clicks on a Athos Commerce autocomplete search result rendered in the Autocomplete Module, and is taken to the product detail page (PDP).
operationId: autocomplete-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Autocomplete Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
application/json:
schema:
title: Autocomplete Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/autocomplete/impression:
post:
tags:
- Autocomplete
summary: impression
description: /beacon/v2/{siteId}/autocomplete/impression
Shopper views the rendered Athos Commerce autocomplete results in the Autocomplete Module.
operationId: autocomplete-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Autocomplete Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
application/json:
schema:
title: Autocomplete Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/autocomplete/redirect:
post:
tags:
- Autocomplete
summary: redirect
description: /beacon/v2/{siteId}/autocomplete/redirect
Shopper types in the searchbar and an Autocomplete Module with Athos Commerce autocomplete search results are rendered, but a redirect URL is returned in the Autocomplete API response and the shopper is redirected to the returned redirect URL.
operationId: autocomplete-redirect
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Redirect payload
required: true
content:
text/plain:
schema:
title: Autocomplete Redirect Schema
$ref: '#/components/schemas/redirectSchema'
examples:
redirect example:
$ref: '#/components/examples/redirect'
application/json:
schema:
title: Autocomplete Redirect Schema
$ref: '#/components/schemas/redirectSchema'
examples:
redirect example:
$ref: '#/components/examples/redirect'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/autocomplete/render:
post:
tags:
- Autocomplete
summary: render
description: /beacon/v2/{siteId}/autocomplete/render
Shopper types in the searchbar and an Autocomplete Module with Athos Commerce autocomplete search results are rendered.
operationId: autocomplete-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Render payload
required: true
content:
text/plain:
schema:
title: Autocomplete Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/render'
application/json:
schema:
title: Autocomplete Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/render'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/bundles/addtocart:
post:
tags:
- Bundles
summary: addtocart
description: /beacon/v2/{siteId}/bundles/addtocart
Shopper adds a Athos Commerce personalized bundle result to the cart via a `Quick Add to Cart` button in the rendered product card. **If frontend `Quick Add to Cart` is not implemented, omit usage of this endpoint.**
operationId: bundles-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Bundles Addtocart Schema
$ref: '#/components/schemas/bundles.addtocartSchema'
examples:
render example:
$ref: '#/components/examples/bundles-addtocart'
application/json:
schema:
title: Bundles Addtocart Schema
$ref: '#/components/schemas/bundles.addtocartSchema'
examples:
render example:
$ref: '#/components/examples/bundles-addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/bundles/clickthrough:
post:
tags:
- Bundles
summary: clickthrough
description: /beacon/v2/{siteId}/bundles/clickthrough
Shopper clicks on a rendered Athos Commerce personalized bundle result, and is taken to the product detail page (PDP).
operationId: bundles-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Bundles Clickthrough Schema
$ref: '#/components/schemas/bundles.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/bundles-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/bundles-banners-clickthrough'
application/json:
schema:
title: Bundles Clickthrough Schema
$ref: '#/components/schemas/bundles.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/bundles-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/bundles-banners-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/bundles/impression:
post:
tags:
- Bundles
summary: impression
description: /beacon/v2/{siteId}/bundles/impression
Shopper scrolls into view rendered Athos Commerce personalized bundle results. Results sent ***must*** only be results in the shoppers view at the time of the event.
operationId: bundles-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Bundles Impression Schema
$ref: '#/components/schemas/bundles.impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/bundles-impression'
results impression example:
$ref: '#/components/examples/bundles-results-impression'
banners impression example:
$ref: '#/components/examples/bundles-banners-impression'
application/json:
schema:
title: Bundles Impression Schema
$ref: '#/components/schemas/bundles.impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/bundles-impression'
results impression example:
$ref: '#/components/examples/bundles-results-impression'
banners impression example:
$ref: '#/components/examples/bundles-banners-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/bundles/render:
post:
tags:
- Bundles
summary: render
description: /beacon/v2/{siteId}/bundles/render
Shopper navigates to a page where Athos Commerce personalized bundles are requested from Personalized Bundles API endpoint and rendered on the page.
operationId: bundles-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Render payload
required: true
content:
text/plain:
schema:
title: Bundles Render Schema
$ref: '#/components/schemas/bundles.renderSchema'
examples:
render example:
$ref: '#/components/examples/bundles-render'
application/json:
schema:
title: Bundles Render Schema
$ref: '#/components/schemas/bundles.renderSchema'
examples:
render example:
$ref: '#/components/examples/bundles-render'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/cart/add:
post:
tags:
- Cart
summary: add
description: /beacon/v2/{siteId}/cart/add
Shopper adds additional item quantities to an item in the cart via the cart page or a slideout cart.
operationId: cart-add
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Cart update payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/cartSchema'
examples:
add to cart example:
$ref: '#/components/examples/add'
application/json:
schema:
$ref: '#/components/schemas/cartSchema'
examples:
add to cart example:
$ref: '#/components/examples/add'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/cart/remove:
post:
tags:
- Cart
summary: remove
description: /beacon/v2/{siteId}/cart/remove
Shopper removes an item or reduces an items quantity in the cart via the cart page or a slideout cart.
operationId: cart-remove
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Cart update payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/cartSchema'
examples:
remove from cart example:
$ref: '#/components/examples/remove'
application/json:
schema:
$ref: '#/components/schemas/cartSchema'
examples:
remove from cart example:
$ref: '#/components/examples/remove'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/category/addtocart:
post:
tags:
- Category
summary: addtocart
description: /beacon/v2/{siteId}/category/addtocart
Shopper lands on a category results page where Athos Commerce results are rendered, and adds a result to the cart via a `Quick Add to Cart` button. **If frontend `Quick Add to Cart` is not implemented, omit usage of this endpoint.**
operationId: category-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Category Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/examples-addtocart'
application/json:
schema:
title: Category Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/examples-addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/category/clickthrough:
post:
tags:
- Category
summary: clickthrough
description: /beacon/v2/{siteId}/category/clickthrough
Shopper lands on a category results page, clicks on a Athos Commerce result, and will be taken to the product detail page (PDP).
operationId: category-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Category Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
application/json:
schema:
title: Category Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/category/impression:
post:
tags:
- Category
summary: impression
description: /beacon/v2/{siteId}/category/impression
Shopper lands on a category results page and Athos Commerce results receive an impression.
operationId: category-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Category Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
application/json:
schema:
title: Category Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/category/render:
post:
tags:
- Category
summary: render
description: /beacon/v2/{siteId}/category/render
Shopper lands on a category results page and Athos Commerce results are rendered.
operationId: category-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Render payload
required: true
content:
text/plain:
schema:
title: Category Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/examples-render'
application/json:
schema:
title: Category Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/examples-render'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/chat/addtocart:
post:
tags:
- Chat
summary: addtocart
description: /beacon/v2/{siteId}/chat/addtocart
This event should be triggered when a shopper interacts with Chat where Athos Commerce results are rendered, and adds a result to the cart via a `Quick Add to Cart` button.
operationId: chat-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Chat Addtocart Schema
$ref: '#/components/schemas/chat.addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/chat.addtocart'
application/json:
schema:
title: Chat Addtocart Schema
$ref: '#/components/schemas/chat.addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/chat.addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/chat/clickthrough:
post:
tags:
- Chat
summary: clickthrough
description: /beacon/v2/{siteId}/chat/clickthrough
This event should be triggered when a shopper interacts with Chat, clicks on a Athos Commerce result, and will be taken to the product detail page (PDP).
operationId: chat-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Chat Clickthrough Schema
$ref: '#/components/schemas/chat.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/chat.results-clickthrough'
application/json:
schema:
title: Chat Clickthrough Schema
$ref: '#/components/schemas/chat.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/chat.results-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/chat/feedback:
post:
tags:
- Chat
summary: feedback
description: /beacon/v2/{siteId}/chat/feedback
This event should be triggered when a shopper provides feedback to Chat.
operationId: chat-feedback
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Feedback payload
required: true
content:
text/plain:
schema:
title: Chat Feedback Schema
$ref: '#/components/schemas/chatFeedbackSchema'
examples:
feedback example:
$ref: '#/components/examples/chat.feedback'
application/json:
schema:
title: Chat Feedback Schema
$ref: '#/components/schemas/chatFeedbackSchema'
examples:
feedback example:
$ref: '#/components/examples/chat.feedback'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/chat/impression:
post:
tags:
- Chat
summary: impression
description: /beacon/v2/{siteId}/chat/impression
This event should be triggered when a shopper interacts with Chat and Athos Commerce results receive an impression.
operationId: chat-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Chat Impression Schema
$ref: '#/components/schemas/chat.impressionSchema'
examples:
results impression example:
$ref: '#/components/examples/chat.results-impression'
application/json:
schema:
title: Chat Impression Schema
$ref: '#/components/schemas/chat.impressionSchema'
examples:
results impression example:
$ref: '#/components/examples/chat.results-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/email/clickthrough:
post:
tags:
- Messaging Recommendations
summary: email/clickthrough
description: /beacon/v2/{siteId}/messaging/email/clickthrough
This event tracks when a shopper clicks through a messaging recommendation section in an email and is navigated to the website.
operationId: messaging-email-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Messaging recommendations payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
clickthrough example:
$ref: '#/components/examples/messaging'
application/json:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
clickthrough example:
$ref: '#/components/examples/messaging'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/email/render:
post:
tags:
- Messaging Recommendations
summary: email/render
description: /beacon/v2/{siteId}/messaging/email/render
This event tracks the rendering of a messaging recommendation section in an email.
operationId: messaging-email-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Messaging recommendations payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
render example:
$ref: '#/components/examples/messaging'
application/json:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
render example:
$ref: '#/components/examples/messaging'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/log/personalization:
post:
tags:
- Error Logs
summary: personalization
description: /beacon/v2/{siteId}/log/personalization
Personalization error log events
operationId: log-personalization
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Personalization error log
required: true
content:
text/plain:
schema:
title: Personalization Log Schema
$ref: '#/components/schemas/personalization.logSchema'
examples:
personalization example:
$ref: '#/components/examples/personalization'
application/json:
schema:
title: Personalization Log Schema
$ref: '#/components/schemas/personalization.logSchema'
examples:
personalization example:
$ref: '#/components/examples/personalization'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/log/shopifypixel:
post:
tags:
- Error Logs
summary: shopifypixel
description: /beacon/v2/{siteId}/log/shopifypixel
Shopify Pixel Extension error log events
operationId: log-shopifypixel
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Shopify Pixel extension error log
required: true
content:
text/plain:
schema:
title: Shopify Pixel Log Schema
$ref: '#/components/schemas/logSchema'
examples:
shopifypixel example:
$ref: '#/components/examples/shopifypixel'
application/json:
schema:
title: Shopify Pixel Log Schema
$ref: '#/components/schemas/logSchema'
examples:
shopifypixel example:
$ref: '#/components/examples/shopifypixel'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/log/snap:
post:
tags:
- Error Logs
summary: snap
description: /beacon/v2/{siteId}/log/snap
Snap error log events
operationId: log-snap
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Snap error log
required: true
content:
text/plain:
schema:
title: Snap Log Schema
$ref: '#/components/schemas/logSchema'
examples:
snap example:
$ref: '#/components/examples/snap'
application/json:
schema:
title: Snap Log Schema
$ref: '#/components/schemas/logSchema'
examples:
snap example:
$ref: '#/components/examples/snap'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/order/transaction:
post:
tags:
- Order
summary: order transaction
description: /beacon/v2/{siteId}/order/transaction
Shopper has completed an order transaction. Tracks order contents.
operationId: order-transaction
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Order transaction payload
required: true
content:
text/plain:
schema:
title: Order Transaction Schema
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
description: Event details
type: object
required:
- orderId
- transactionTotal
- total
- results
properties:
orderId:
description: Unique order ID
type: string
transactionTotal:
description: Total order amount before discounts, taxes, and shipping
type: number
format: float
total:
description: Total order amount including discounts, taxes, and shipping
type: number
format: float
vat:
type: number
description: Value added tax(VAT) rate as a decimal value (e.g. 0.20 for 20%)
format: float
city:
description: Customer's shipping address City
type: string
state:
description: Customer's shipping address State
type: string
country:
description: Customer's shipping address 2-letter Country Code
type: string
results:
type: array
description: Describes tracked Athos Commerce results
items:
$ref: '#/components/schemas/product'
examples:
transaction example:
$ref: '#/components/examples/transaction'
application/json:
schema:
title: Order Transaction Schema
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
description: Event details
type: object
required:
- orderId
- transactionTotal
- total
- results
properties:
orderId:
description: Unique order ID
type: string
transactionTotal:
description: Total order amount before discounts, taxes, and shipping
type: number
format: float
total:
description: Total order amount including discounts, taxes, and shipping
type: number
format: float
vat:
type: number
description: Value added tax(VAT) rate as a decimal value (e.g. 0.20 for 20%)
format: float
city:
description: Customer's shipping address City
type: string
state:
description: Customer's shipping address State
type: string
country:
description: Customer's shipping address 2-letter Country Code
type: string
results:
type: array
description: Describes tracked Athos Commerce results
items:
$ref: '#/components/schemas/product'
examples:
transaction example:
$ref: '#/components/examples/transaction'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/product/pageview:
post:
tags:
- Product
summary: pageview
description: /beacon/v2/{siteId}/product/pageview
Shopper has navigated to a product detail page (PDP).
operationId: product-pageview
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Product page view payload
required: true
content:
text/plain:
schema:
title: Product Pageview Schema
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
description: Event details
type: object
required:
- result
properties:
result:
type: object
description: Describes a tracked Athos Commerce result.
required:
- parentId
- uid
properties:
parentId:
$ref: '#/components/schemas/parentId'
uid:
$ref: '#/components/schemas/uid'
sku:
$ref: '#/components/schemas/sku'
examples:
pageview example:
$ref: '#/components/examples/view'
application/json:
schema:
title: Product Pageview Schema
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
description: Event details
type: object
required:
- result
properties:
result:
type: object
description: Describes a tracked Athos Commerce result.
required:
- parentId
- uid
properties:
parentId:
$ref: '#/components/schemas/parentId'
uid:
$ref: '#/components/schemas/uid'
sku:
$ref: '#/components/schemas/sku'
examples:
pageview example:
$ref: '#/components/examples/view'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/recommendations/addtocart:
post:
tags:
- Recommendations
summary: addtocart
description: /beacon/v2/{siteId}/recommendations/addtocart
Shopper adds a Athos Commerce personalized recommendation result to the cart via a `Quick Add to Cart` button in the rendered product card. **If frontend `Quick Add to Cart` is not implemented, omit usage of this endpoint.**
operationId: recommendations-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Recommendations Addtocart Schema
$ref: '#/components/schemas/recommendations.addtocartSchema'
examples:
render example:
$ref: '#/components/examples/components-examples-addtocart'
application/json:
schema:
title: Recommendations Addtocart Schema
$ref: '#/components/schemas/recommendations.addtocartSchema'
examples:
render example:
$ref: '#/components/examples/components-examples-addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/recommendations/clickthrough:
post:
tags:
- Recommendations
summary: clickthrough
description: /beacon/v2/{siteId}/recommendations/clickthrough
Shopper clicks on a rendered Athos Commerce personalized recommended result, and is taken to the product detail page (PDP).
operationId: recommendations-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Recommendations Clickthrough Schema
$ref: '#/components/schemas/recommendations.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/components-examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/examples-banners-clickthrough'
application/json:
schema:
title: Recommendations Clickthrough Schema
$ref: '#/components/schemas/recommendations.clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/components-examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/examples-banners-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/recommendations/impression:
post:
tags:
- Recommendations
summary: impression
description: /beacon/v2/{siteId}/recommendations/impression
Shopper scrolls into view rendered Athos Commerce personalized recommended results. Results sent ***must*** only be results in the shoppers view at the time of the event.
operationId: recommendations-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Recommendations Impression Schema
$ref: '#/components/schemas/recommendations.impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/examples-impression'
results impression example:
$ref: '#/components/examples/examples-results-impression'
banners impression example:
$ref: '#/components/examples/examples-banners-impression'
application/json:
schema:
title: Recommendations Impression Schema
$ref: '#/components/schemas/recommendations.impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/examples-impression'
results impression example:
$ref: '#/components/examples/examples-results-impression'
banners impression example:
$ref: '#/components/examples/examples-banners-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/recommendations/render:
post:
tags:
- Recommendations
summary: render
description: /beacon/v2/{siteId}/recommendations/render
Shopper navigates to a page where Athos Commerce personalized recommendations are requested from Personalized Recommendations API endpoint and rendered on the page.
operationId: recommendations-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Render payload
required: true
content:
text/plain:
schema:
title: Recommendations Render Schema
$ref: '#/components/schemas/recommendations.renderSchema'
examples:
render example:
$ref: '#/components/examples/components-examples-render'
application/json:
schema:
title: Recommendations Render Schema
$ref: '#/components/schemas/recommendations.renderSchema'
examples:
render example:
$ref: '#/components/examples/components-examples-render'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/search/addtocart:
post:
tags:
- Search
summary: addtocart
description: /beacon/v2/{siteId}/search/addtocart
This event should be triggered when a shopper lands on a search results page where Athos Commerce search results are rendered, and adds a result to the cart via a `Quick Add to Cart` button. **If frontend `Quick Add to Cart` is not implemented, omit usage of this endpoint.**
operationId: search-addtocart
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Add to cart payload
required: true
content:
text/plain:
schema:
title: Search Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/examples_components-examples-addtocart'
application/json:
schema:
title: Search Addtocart Schema
$ref: '#/components/schemas/addtocartSchema'
examples:
addtocart example:
$ref: '#/components/examples/examples_components-examples-addtocart'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/search/clickthrough:
post:
tags:
- Search
summary: clickthrough
description: /beacon/v2/{siteId}/search/clickthrough
This event should be triggered when a shopper lands on a search results page, clicks on a Athos Commerce search result, and will be taken to the product detail page (PDP).
operationId: search-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Clickthrough payload
required: true
content:
text/plain:
schema:
title: Search Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
application/json:
schema:
title: Search Clickthrough Schema
$ref: '#/components/schemas/clickthroughSchema'
examples:
results clickthrough example:
$ref: '#/components/examples/examples-results-clickthrough'
banners clickthrough example:
$ref: '#/components/examples/banners-clickthrough'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/search/impression:
post:
tags:
- Search
summary: impression
description: /beacon/v2/{siteId}/search/impression
This event should be triggered when a shopper lands on a search results page and Athos Commerce search results receive an impression.
operationId: search-impression
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Impression payload
required: true
content:
text/plain:
schema:
title: Search Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
application/json:
schema:
title: Search Impression Schema
$ref: '#/components/schemas/impressionSchema'
examples:
results and banners impression example:
$ref: '#/components/examples/impression'
results impression example:
$ref: '#/components/examples/results-impression'
banners impression example:
$ref: '#/components/examples/banners-impression'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/search/redirect:
post:
tags:
- Search
summary: redirect
description: /beacon/v2/{siteId}/search/redirect
This event should be triggered after a shopper lands on a search results page where Athos Commerce search results are rendered, but a redirect URL is returned in the Search API response and the shopper is redirected to the returned redirect URL.
operationId: search-redirect
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Redirect payload
required: true
content:
text/plain:
schema:
title: Search Redirect Schema
$ref: '#/components/schemas/redirectSchema'
examples:
redirect example:
$ref: '#/components/examples/examples-redirect'
application/json:
schema:
title: Search Redirect Schema
$ref: '#/components/schemas/redirectSchema'
examples:
redirect example:
$ref: '#/components/examples/examples-redirect'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/search/render:
post:
tags:
- Search
summary: render
description: /beacon/v2/{siteId}/search/render
This event should be triggered when a shopper lands on a search results page and Athos Commerce search results are rendered.
operationId: search-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Render payload
required: true
content:
text/plain:
schema:
title: Search Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/examples_components-examples-render'
application/json:
schema:
title: Search Render Schema
$ref: '#/components/schemas/renderSchema'
examples:
render example:
$ref: '#/components/examples/examples_components-examples-render'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/sms/clickthrough:
post:
tags:
- Messaging Recommendations
summary: sms/clickthrough
description: /beacon/v2/{siteId}/messaging/sms/clickthrough
This event tracks when a shopper clicks through a SMS recommendation section in an SMS text and is navigated to the website.
operationId: messaging-sms-clickthrough
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Messaging recommendations payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
clickthrough example:
$ref: '#/components/examples/messaging'
application/json:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
clickthrough example:
$ref: '#/components/examples/messaging'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/sms/render:
post:
tags:
- Messaging Recommendations
summary: sms/render
description: /beacon/v2/{siteId}/messaging/sms/render
This event tracks the rendering of an SMS recommendation section in an SMS text.
operationId: messaging-sms-render
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Messaging recommendations payload
required: true
content:
text/plain:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
render example:
$ref: '#/components/examples/messaging'
application/json:
schema:
$ref: '#/components/schemas/messaging.schema'
examples:
render example:
$ref: '#/components/examples/messaging'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
/{siteId}/shopper/login:
post:
tags:
- Shopper
summary: login
description: /beacon/v2/{siteId}/shopper/login
Shopper successfully logs into their account.
operationId: login
security:
- {}
parameters:
- in: path
name: siteId
schema:
type: string
pattern: '[a-z0-9]{6}'
required: true
description: Customer siteId found in the Athos Console or Athos Management Console
requestBody:
description: Results payload
required: true
content:
text/plain:
schema:
title: Shopper Login Schema
type: object
required:
- context
properties:
context:
$ref: '#/components/schemas/shopper.context'
examples:
shopper login example:
$ref: '#/components/examples/login'
application/json:
schema:
title: Shopper Login Schema
type: object
required:
- context
properties:
context:
$ref: '#/components/schemas/shopper.context'
examples:
shopper login example:
$ref: '#/components/examples/login'
responses:
'200':
$ref: '#/components/responses/200-response'
'400':
$ref: '#/components/responses/400-response'
'404':
$ref: '#/components/responses/404-response'
'405':
$ref: '#/components/responses/405-response'
'413':
$ref: '#/components/responses/413-response'
'415':
$ref: '#/components/responses/415-response'
'500':
$ref: '#/components/responses/500-response'
components:
schemas:
initiator:
description: Application identifier that initiated the event
type: string
pageLoadId:
description: Unique identifier that represents a unique page load. Used to tie multiple events made on a single page together.
type: string
pageUrl:
description: Current page `window.location.href` value
type: string
sessionId:
description: Unique identifier for the customer's current session - should expire after store visit (usually a UUID)
type: string
timestamp:
description: RFC3339 formatted timestamp represents time of event
type: string
userId:
description: Unique identifier for the customer (usually a UUID)
type: string
attribution.type:
type: string
attribution.id:
type: string
attribution:
type: array
description: Provides attribution details on product landing pages - it is currently only used for email recommendations
items:
type: object
required:
- type
- id
properties:
type:
$ref: '#/components/schemas/attribution.type'
id:
$ref: '#/components/schemas/attribution.id'
currency.code:
type: string
description: currency code in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html#:~:text=The%20first%20two%20letters%20of,and%20the%20D%20for%20dollar.) format
currency:
type: object
description: Active currency type on the site
properties:
code:
$ref: '#/components/schemas/currency.code'
dev:
type: boolean
description: Developer mode flag. If set to `true`, the event data will not populate in reporting
IP:
description: Shoppers IP address. Accepts IPv4 and IPv6 formats. Recommended this is passed for accuracy. If not, will attempt to default to the "x-forwarded-for" or the Remote Address.
type: string
shopperId:
description: Unique identifier for the customer's product personalization - it is typically a user id or email and should be sent if the user is authenticated on the storefront. If the shopper has already logged in this is required.
type: string
userAgent:
description: Shoppers UserAgent. Recommended this is passed for accuracy. If not, will attempt to default to "user-agent" request header.
type: string
context:
type: object
description: Contextual data about the event
required:
- initiator
- pageLoadId
- pageUrl
- sessionId
- timestamp
- userId
properties:
initiator:
$ref: '#/components/schemas/initiator'
pageLoadId:
$ref: '#/components/schemas/pageLoadId'
pageUrl:
$ref: '#/components/schemas/pageUrl'
sessionId:
$ref: '#/components/schemas/sessionId'
timestamp:
$ref: '#/components/schemas/timestamp'
userId:
$ref: '#/components/schemas/userId'
attribution:
$ref: '#/components/schemas/attribution'
currency:
$ref: '#/components/schemas/currency'
dev:
$ref: '#/components/schemas/dev'
IP:
$ref: '#/components/schemas/IP'
shopperId:
$ref: '#/components/schemas/shopperId'
userAgent:
$ref: '#/components/schemas/userAgent'
responseId:
type: string
description: Unique ID returned in each API response
parentId:
description: Unique product identifier of the parent product interacted with
type: string
uid:
description: Unique product identifier of the product interacted with
type: string
sku:
description: SKU of the product interacted with
type: string
qty:
description: Quantity of the item
type: number
format: integer
price:
description: Price of individual item
type: number
format: float
product:
type: object
description: Product details
required:
- parentId
- uid
- qty
- price
properties:
parentId:
$ref: '#/components/schemas/parentId'
uid:
$ref: '#/components/schemas/uid'
sku:
$ref: '#/components/schemas/sku'
qty:
$ref: '#/components/schemas/qty'
price:
$ref: '#/components/schemas/price'
quickView:
description: Indicates whether the event originated from a quick view popup or a regular page
type: boolean
addtocartSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Addtocart Schema Data
description: Event details
required:
- responseId
- results
properties:
responseId:
$ref: '#/components/schemas/responseId'
results:
type: array
description: Products added to the cart
items:
$ref: '#/components/schemas/product'
quickView:
$ref: '#/components/schemas/quickView'
error-response-body:
type: object
properties:
success:
type: boolean
description: Data sent but not received due to an error
error:
type: string
description: Cause of error
messages:
type: array
description: Cause of failure(s)
items:
type: string
result.product.type:
description: Defines the type of item tracked.
type: string
enum:
- product
- banner
result.product:
title: Product Result
type: object
description: Describes a tracked result.
required:
- type
- parentId
- uid
properties:
type:
$ref: '#/components/schemas/result.product.type'
parentId:
$ref: '#/components/schemas/parentId'
uid:
$ref: '#/components/schemas/uid'
sku:
$ref: '#/components/schemas/sku'
result.resultBanner:
title: Product Result Banner
type: object
description: Describes a tracked inline banner.
required:
- type
- uid
properties:
type:
$ref: '#/components/schemas/result.product.type'
uid:
$ref: '#/components/schemas/uid'
clickthrough.results:
type: array
description: List of tracked result(s). Can be a result that is either a product or a banner.
items:
minimum: 1
maximum: 1
oneOf:
- $ref: '#/components/schemas/result.product'
- $ref: '#/components/schemas/result.resultBanner'
clickthrough.banners:
type: array
description: List of banners UID's returned in the API response. An empty array will indicate zero banners were returned in the API response.
items:
type: object
minimum: 1
maximum: 1
required:
- uid
properties:
uid:
type: string
description: Unique identifier of the banner
clickthroughSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Event details
oneOf:
- title: Clickthrough Results Schema
required:
- responseId
- results
properties:
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/clickthrough.results'
quickView:
$ref: '#/components/schemas/quickView'
- title: Clickthrough Banners Schema
required:
- responseId
- banners
properties:
responseId:
$ref: '#/components/schemas/responseId'
banners:
$ref: '#/components/schemas/clickthrough.banners'
results:
type: array
description: List of tracked result(s). An empty array will indicate zero results were returned in the API response.
items:
oneOf:
- $ref: '#/components/schemas/result.product'
- $ref: '#/components/schemas/result.resultBanner'
banners:
type: array
description: List of banners UID's returned in the API response. An empty array will indicate zero banners were returned in the API response.
items:
type: object
required:
- uid
properties:
uid:
type: string
description: Unique identifier of the banner
impressionSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Event details
required:
- responseId
- results
- banners
properties:
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/results'
banners:
$ref: '#/components/schemas/banners'
quickView:
$ref: '#/components/schemas/quickView'
redirect:
type: string
description: Redirect URL returned as `merchandising.redirect` from Search API if a configured redirect is triggered.
redirectSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Event details
required:
- redirect
- responseId
properties:
redirect:
$ref: '#/components/schemas/redirect'
responseId:
$ref: '#/components/schemas/responseId'
renderSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Event details
required:
- responseId
properties:
responseId:
$ref: '#/components/schemas/responseId'
profile.tag:
type: string
description: Tag of the personalized recommendation profile the shopper interacted with
bundles.addtocartSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Bundles Addtocart Schema Data
description: Event details
required:
- responseId
- results
- tag
properties:
responseId:
$ref: '#/components/schemas/responseId'
tag:
$ref: '#/components/schemas/profile.tag'
results:
type: array
description: Products added to the cart
items:
$ref: '#/components/schemas/product'
quickView:
$ref: '#/components/schemas/quickView'
bundles.clickthroughSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Bundles Clickthrough Schema Data
description: Event details
oneOf:
- title: Clickthrough Results Schema
required:
- tag
- responseId
- results
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/clickthrough.results'
quickView:
$ref: '#/components/schemas/quickView'
- title: Clickthrough Banners Schema
required:
- tag
- responseId
- banners
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
banners:
$ref: '#/components/schemas/clickthrough.banners'
bundles.impressionSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Bundles Impression Schema Data
description: Event details
required:
- tag
- responseId
- banners
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/results'
banners:
$ref: '#/components/schemas/banners'
quickView:
$ref: '#/components/schemas/quickView'
bundles.renderSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Bundles Render Schema Data
description: Event details
required:
- responseId
- tag
properties:
tag:
type: string
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
cartSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Event details
required:
- results
- cart
properties:
results:
type: array
description: Product(s) that modified the cart
minimum: 1
items:
$ref: '#/components/schemas/product'
cart:
type: array
description: Updated current cart products
items:
$ref: '#/components/schemas/product'
chatSessionId:
type: string
description: Unique ID for the chat session, used to associate events with a specific conversation. Should be generated at the start of a chat session and remain consistent across all events within that session.
chat.addtocartSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Chat Addtocart Schema Data
description: Event details
required:
- chatSessionId
- responseId
- results
properties:
chatSessionId:
$ref: '#/components/schemas/chatSessionId'
responseId:
$ref: '#/components/schemas/responseId'
results:
type: array
description: Products added to the cart
items:
$ref: '#/components/schemas/product'
chat.result.product.type:
description: Defines the type of item tracked.
type: string
enum:
- product
chat.result.product:
title: Product Result
type: object
description: Describes a tracked result.
required:
- type
- parentId
- uid
properties:
type:
$ref: '#/components/schemas/chat.result.product.type'
parentId:
$ref: '#/components/schemas/parentId'
uid:
$ref: '#/components/schemas/uid'
sku:
$ref: '#/components/schemas/sku'
chat.clickthrough.results:
type: array
description: List of tracked result(s).
items:
minimum: 1
maximum: 1
$ref: '#/components/schemas/chat.result.product'
chat.clickthroughSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Chat Clickthrough Schema Data
description: Event details
required:
- chatSessionId
- responseId
- results
properties:
chatSessionId:
$ref: '#/components/schemas/chatSessionId'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/chat.clickthrough.results'
chatFeedbackSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Chat Feedback Schema Data
description: Event details
required:
- chatSessionId
- feedback
properties:
chatSessionId:
$ref: '#/components/schemas/chatSessionId'
feedback:
type: string
description: Indicates the feedback provided by the user
enum:
- positive
- negative
chat.results:
type: array
description: List of tracked result(s). An empty array will indicate zero results were returned in the API response.
items:
$ref: '#/components/schemas/chat.result.product'
chat.impressionSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Chat Impression Schema Data
description: Event details
required:
- chatSessionId
- responseId
- results
properties:
chatSessionId:
$ref: '#/components/schemas/chatSessionId'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/chat.results'
messaging.schema:
title: Messaging Schema
type: object
required:
- context
- data
properties:
context:
type: object
description: Contextual data about the event
required:
- userId
- timestamp
properties:
userId:
description: The unique identifier of the user
type: string
timestamp:
description: RFC3339 formatted timestamp represents time of event
type: string
dev:
description: Developer mode flag. If set to `true`, the event data will not populate in reporting
type: boolean
data:
type: object
description: Event details
required:
- uid
- tag
properties:
uid:
type: string
description: The unique identifier of the recommendation profile
tag:
type: string
description: Tag of the messaging recommendation profile the shopper interacted with
personalization.log.context:
type: object
required:
- timestamp
properties:
timestamp:
$ref: '#/components/schemas/timestamp'
dev:
$ref: '#/components/schemas/dev'
message:
description: Error message
type: string
stack:
description: Stack trace of the error
type: string
details:
description: Additional optional error details
type: object
personalization.logSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/personalization.log.context'
data:
type: object
description: Log data about the event
properties:
message:
$ref: '#/components/schemas/message'
stack:
$ref: '#/components/schemas/stack'
details:
$ref: '#/components/schemas/details'
logSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
description: Log data about the event
required:
- message
properties:
message:
$ref: '#/components/schemas/message'
stack:
$ref: '#/components/schemas/stack'
details:
$ref: '#/components/schemas/details'
recommendations.addtocartSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Recommendations Addtocart Schema Data
description: Event details
required:
- responseId
- results
- tag
properties:
responseId:
$ref: '#/components/schemas/responseId'
tag:
$ref: '#/components/schemas/profile.tag'
results:
type: array
description: Products added to the cart
items:
$ref: '#/components/schemas/product'
quickView:
$ref: '#/components/schemas/quickView'
recommendations.clickthroughSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Recommendations Clickthrough Schema Data
description: Event details
oneOf:
- title: Clickthrough Results Schema
required:
- tag
- responseId
- results
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/clickthrough.results'
quickView:
$ref: '#/components/schemas/quickView'
- title: Clickthrough Banners Schema
required:
- tag
- responseId
- banners
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
banners:
$ref: '#/components/schemas/clickthrough.banners'
recommendations.impressionSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Recommendations Impression Schema Data
description: Event details
required:
- tag
- responseId
- banners
properties:
tag:
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
results:
$ref: '#/components/schemas/results'
banners:
$ref: '#/components/schemas/banners'
quickView:
$ref: '#/components/schemas/quickView'
recommendations.renderSchema:
type: object
required:
- context
- data
properties:
context:
$ref: '#/components/schemas/context'
data:
type: object
title: Recommendations Render Schema Data
description: Event details
required:
- responseId
- tag
properties:
tag:
type: string
$ref: '#/components/schemas/profile.tag'
responseId:
$ref: '#/components/schemas/responseId'
shopper.context:
type: object
description: Contextual data about the shopper event
required:
- initiator
- pageLoadId
- pageUrl
- sessionId
- shopperId
- timestamp
- userId
properties:
initiator:
$ref: '#/components/schemas/initiator'
pageLoadId:
$ref: '#/components/schemas/pageLoadId'
pageUrl:
$ref: '#/components/schemas/pageUrl'
sessionId:
$ref: '#/components/schemas/sessionId'
shopperId:
$ref: '#/components/schemas/shopperId'
timestamp:
$ref: '#/components/schemas/timestamp'
userId:
$ref: '#/components/schemas/userId'
attribution:
$ref: '#/components/schemas/attribution'
currency:
$ref: '#/components/schemas/currency'
dev:
$ref: '#/components/schemas/dev'
IP:
$ref: '#/components/schemas/IP'
userAgent:
$ref: '#/components/schemas/userAgent'
examples:
addtocart:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results:
- uid: '8128331907370'
parentId: '8128331900000'
qty: 1
price: 22
quickView: true
results-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results:
- type: product
parentId: '8128331900000'
uid: '8128331907370'
banners-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
banners:
- uid: '8128168755498'
impression:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
banners:
- uid: '8128168755498'
results-impression:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
banners: []
banners-impression:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results: []
banners:
- uid: '8128168755498'
redirect:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
redirect: https://versawearco.myshopify.com/collections/all-shirts
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
render:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
bundles-addtocart:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: bundle
results:
- parentId: '8128331911111'
uid: '8128331907370'
qty: 1
price: 49.99
quickView: true
bundles-results-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
tag: bundle
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
bundles-banners-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
tag: bundle
banners:
- uid: '8128168755498'
bundles-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: bundle
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
- type: product
parentId: '8128331955555'
uid: '8128273711402'
- type: product
parentId: '8128331966666'
uid: '8128028737834'
banners:
- uid: '8128168755498'
bundles-results-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: bundle
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
- type: product
parentId: '8128331955555'
uid: '8128273711402'
- type: product
parentId: '8128331966666'
uid: '8128028737834'
banners: []
bundles-banners-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: bundle
results: []
banners:
- uid: '8128168755498'
bundles-render:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
tag: bundle
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
add:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/cart
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
results:
- parentId: '0987611111'
uid: '0987654321'
qty: 1
price: 39
cart:
- parentId: '0987622222'
uid: '0987654321'
qty: 1
price: 39
- parentId: '0987633333'
uid: '0987654321'
qty: 1
price: 39
remove:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/cart
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
results:
- parentId: '0987633333'
uid: '0987654321'
qty: 1
price: 39
cart:
- parentId: '0987622222'
uid: '0987654321'
qty: 1
price: 39
examples-addtocart:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: 650f3e4e-1f4b-4c3a-8c3e-0d6f3e4e1f4b
results:
- parentId: '8128331911111'
uid: '8128331907370'
qty: 1
price: 22
examples-results-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
examples-render:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/womens
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: 650f3e4e-1f4b-4c3a-8c3e-0d6f3e4e1f4b
chat.addtocart:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
chatSessionId: 2b426n89-c33b-4222-952a-f17db745bh26
results:
- uid: '8128331907370'
parentId: '8128331900000'
qty: 1
price: 22
chat.results-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
chatSessionId: 2b426n89-c33b-4222-952a-f17db745bh26
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
chat.feedback:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
feedback: positive
chatSessionId: 2b426n89-c33b-4222-952a-f17db745bh26
chat.results-impression:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
chatSessionId: 2b426n89-c33b-4222-952a-f17db745bh26
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
messaging:
value:
context:
userId: '1234'
timestamp: '2024-06-11T17:47:04.075876Z'
dev: true
data:
uid: '1234'
tag: profile tag
personalization:
value:
context:
timestamp: '2024-06-11T17:47:04.075876Z'
dev: true
data:
message: q8q4eu is calling the rec service, but is not enabled for recommendations
stack: stack_trace
details:
object:
string: a string
int: 1
float: 1.1
array:
- '1'
- '2'
string: another string
int: 2
float: 1.1
shopifypixel:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/login
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: test
id: '1234567890'
currency:
code: USD
data:
message: q8q4eu is calling the rec service, but is not enabled for recommendations
stack: stack_trace
details:
object:
string: a string
int: 1
float: 1.1
array:
- '1'
- '2'
string: another string
int: 2
float: 1.1
snap:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/login
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: test
id: '1234567890'
currency:
code: USD
data:
message: q8q4eu is calling the rec service, but is not enabled for recommendations
stack: stack_trace
details:
object:
string: a string
int: 1
float: 1.1
array:
- '1'
- '2'
string: another string
int: 2
float: 1.1
transaction:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/order/confirmation
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
orderId: order1337
transactionTotal: 75
total: 100
vat: 0.2
city: San Antonio
country: United States
state: Texas
results:
- parentId: '1234511111'
uid: '1234567890'
qty: 1
price: 22
- parentId: '1234522222'
uid: '0987654321'
qty: 2
price: 39
view:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 41f87850-c33b-4222-952a-f17db729ea31
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
result:
parentId: '1234511111'
uid: '1234567890'
components-examples-addtocart:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: similar
results:
- parentId: '8128331911111'
uid: '8128331907370'
qty: 1
price: 49.99
components-examples-results-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
tag: similar
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
examples-banners-clickthrough:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: a907d0ad-720a-4666-b046-00c0c28fb78d
tag: similar
banners:
- uid: '8128168755498'
examples-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: similar
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
- type: product
parentId: '8128331955555'
uid: '8128273711402'
- type: product
parentId: '8128331966666'
uid: '8128028737834'
banners:
- uid: '8128168755498'
examples-results-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: similar
results:
- type: product
parentId: '8128331911111'
uid: '8128331907370'
- type: product
parentId: '8128331922222'
uid: '8128021070122'
- type: product
parentId: '8128331933333'
uid: '8127879741738'
- type: product
parentId: '8128331944444'
uid: '8128173736234'
- type: product
parentId: '8128331955555'
uid: '8128273711402'
- type: product
parentId: '8128331966666'
uid: '8128028737834'
banners: []
examples-banners-impression:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
tag: similar
results: []
banners:
- uid: '8128168755498'
components-examples-render:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/collections/mens/products/adventure-shorts-pitch-black
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
attribution:
- type: email
id: '1234567890'
currency:
code: USD
data:
tag: similar
responseId: 42c2dc64-d203-4d74-8122-515f26afb253
examples_components-examples-addtocart:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: 0217acd9-540c-48f3-bd6d-e23128e99fa8
results:
- parentId: '8128331911111'
uid: '8128331907370'
qty: 1
price: 29.99
examples-redirect:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
redirect: https://versawearco.myshopify.com/collections/all-shirts
responseId: 0217acd9-540c-48f3-bd6d-e23128e99fa8
examples_components-examples-render:
value:
context:
IP: 89.76.6.25
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2006-01-02T15:04:05Z'
pageUrl: https://versawearco.myshopify.com/collections/shop?q=shirt&view=products
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
data:
responseId: 0217acd9-540c-48f3-bd6d-e23128e99fa8
login:
value:
context:
IP: 7309:1fdb:e0d5:7632:7f2a:c269:7519:991b
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
timestamp: '2024-06-11T17:47:04.075876Z'
pageUrl: https://versawearco.myshopify.com/login
userId: 41f87850-65f5-4546-851c-f166109e57b9
sessionId: 1c311c14-c33b-4222-952a-f17db729ea31
pageLoadId: 080d179f-0034-4278-8d3c-dfba71c9b897
shopperId: user123456
initiator: athos/snap/preact/1.7.0
currency:
code: USD
responses:
200-response:
description: OK
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
description: Data sent and received
example:
success: true
400-response:
description: Bad request
content:
application/json:
schema:
anyOf:
- title: Validation error without `data` field
$ref: '#/components/schemas/error-response-body'
- title: Validation error with `data` field
type: object
properties:
success:
type: boolean
description: Data sent but not received due to an error
error:
type: string
description: Cause of error
messages:
type: array
description: Cause of failure(s)
items:
type: string
data:
type: string
description: Data sent where an error is identified
examples:
Missing JSON POST body:
value:
success: false
error: ValidationError
messages:
- missing JSON POST body
Invalid JSON POST body:
value:
success: false
error: ValidationError
messages:
- invalid JSON POST body
Missing required key-value:
value:
success: false
error: ValidationError
messages:
- 'missing required key-value: context.timestamp'
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Invalid format:
value:
success: false
error: ValidationError
messages:
- 'invalid context.ssTimestamp format: expected RFC3339'
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Invalid data type:
value:
success: false
error: ValidationError
messages:
- 'invalid data type passed for key: `"data.results.uid"` (at position 1541)'
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Invalid value received:
value:
success: false
error: ValidationError
messages:
- invalid value received for required key `data.sort.direction` - accepts `asc,desc`
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Invalid minimum value passed:
value:
success: false
error: ValidationError
messages:
- invalid minimum value passed for key `context.currency.code` - expected length `3`
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Invalid maximum value passed:
value:
success: false
error: ValidationError
messages:
- invalid maximum value passed for key `context.currency.code` - expected length `3`
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
If array is defined must not be empty:
value:
success: false
error: ValidationError
messages:
- if `data.merchandising.triggeredCampaigns[0].variationId` key-value is defined, `data.merchandising.triggeredCampaigns[0].experimentId` key-value is required
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
Unknown field:
value:
success: false
error: ValidationError
messages:
- 'request body contains unknown field: "seed"'
data: |-
{
"context": { /* varies by endpoint */},
"data": { */varies by endoint */ }
404-response:
description: Invalid path
content:
application/json:
schema:
$ref: '#/components/schemas/error-response-body'
examples:
Invalid path or missing siteId:
value:
success: false
error: InvalidPathError
messages:
- 'invalid endpoint path or missing siteId in path: `/beacon/v2/renders`'
Invalid siteId pattern:
value:
success: false
error: InvalidPathError
messages:
- 'invalid siteId pattern: received `abc12` - expected pattern `^[a-z0-9]{6}$`'
405-response:
description: Invalid request method
content:
application/json:
schema:
$ref: '#/components/schemas/error-response-body'
examples:
Invalid GET method:
value:
success: false
error: InvalidMethodError
messages:
- 'invalid request method: `GET` - requires `POST`'
Invalid PUT method:
value:
success: false
error: InvalidMethodError
messages:
- 'invalid request method: `PUT` - requires `POST`'
Invalid PATCH method:
value:
success: false
error: InvalidMethodError
messages:
- 'invalid request method: `PATCH` - requires `POST`'
Invalid DELETE method:
value:
success: false
error: InvalidMethodError
messages:
- 'invalid request method: `DELETE` - requires `POST`'
Invalid OPTIONS method:
value:
success: false
error: InvalidMethodError
messages:
- 'invalid request method: `OPTIONS` - requires `POST`'
413-response:
description: Payload too large
content:
application/json:
schema:
$ref: '#/components/schemas/error-response-body'
example:
success: false
error: RequestTooLargeError
messages:
- request body must not be larger than 1MB
415-response:
description: Unsupported media type
content:
application/json:
schema:
$ref: '#/components/schemas/error-response-body'
example:
success: false
error: UnsupportedMediaType
messages:
- 'invalid header: `Content-Type`, accepts `text/plain` or `application/json`'
500-response:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/error-response-body'
example:
success: false
error: InternalServerError
messages:
- internal server error