The store object
The store object contains information about the physical store in a BOPIS or ROPIS order.
The following are the keys supported by the store object:
|
Name |
Type |
Description |
|---|---|---|
|
|
string |
Optional. An identifier for a store. |
|
|
string |
Optional. Additional identifier when the stores are organized in a hierarchy. |
You can include the store object in the context object, the checkout object, or the product object.
When deciding where to include the store object, consider the following:
-
The store specified in the context level is used to calculate intent/assisted metrics saying the user had an intent to do BOPIS transactions.
-
The store specified in the product/context is used to calculate actual BOPIS metrics.
-
The store specified at the product level overrides the store specified at the checkout level.
Sample order event with store provided in the context object
Sample order event with store provided in context and checkout
Sample order event with store provided in context and product
The following example shows multiple shipping methods in a single order. sku "191258" uses default shipping whereas sku "23432" has a BOPIS shipping method.