Fitment context object
Usually, there is only one fitment context object because a user selects only one fitment as part of the interaction on the website. If you do not have a fitment object, send fitment keys as part of the context.
You must send all fitment keys and values. If you send partial information, Sitecore Discover discards all of it.
The following table describes the keys in the fitment context object:
|
Key |
Type |
Description |
|---|---|---|
|
|
array of strings |
An array of user fitment IDs. Usually, there is only one fitment ID because a user selects only one fitment as part of the interaction on the website. Use Example: RequestResponse |
|
items |
array of objects |
An array of fitment objects. Provide this key when a customer does not have fitment IDs associated with fitments in their system. We recommend that, if possible, you use Note You can provide Example: RequestResponse |