Cart!
)
The cart where the Function is running. A cart contains the merchandise that a customer intends to purchase and information about the customer, such as the customer's email address and phone number.
MailingAddress!
)
The delivery address for the pickup point delivery option.
HttpResponse
)
The fetch target result. Your Function must return this data structure when generating the request.
Localization!
)
The regional and language settings that determine how the Function handles currency, numbers, dates, and other locale-specific values during discount calculations. These settings are based on the store's configured localization practices.
Decimal!
)
The exchange rate used to convert discounts between the shop's default currency and the currency that displays to the customer during checkout. For example, if a store operates in USD but a customer is viewing discounts in EUR, then the presentment currency rate handles this conversion for accurate pricing.
Shop!
)
Information about the shop where the Function is running, including the shop's timezone setting and associated metafields.
[Allocation!]!
)
deprecated
A list of one or more line items that are to be delivered to a specific address.
Use deliveryAddress
instead.