attributeCart
Adds attribution data (source, medium, campaign, etc.) to a cart.
This mutation is used to add attribution data to a cart. This data can be used to track where the cart originated from, e.g. which marketing campaign led to the cart being created.
Attribution can later be used in reports to analyze the effectiveness of marketing campaigns.
Arguments
| Argument | Description | Type |
|---|---|---|
| input | AttributeCartInput! |
Type
This field resolves to AttributeCartPayload, which has the following fields:
| Field | Description | Type |
|---|---|---|
cart | The updated cart. | Cart |