Cart Transform API reference
The Cart Transform API enables you to expand cart line items and update the presentation of cart line items. The API includes two key objects: Input
and FunctionResult
.
The Input
object is the complete schema that your function can receive as input.
The following example shows an input query:
FunctionResult
Anchor link to section titled "FunctionResult"The FunctionResult
object is the shape of the function's output.
The following function result uses all operations on the single Transform Cart API: