Home > @vsf-enterprise/sapcc-api > Endpoints > getCarts
Endpoints.getCarts() method
Returns the carts for authenticated user.
Signature:
getCarts(context: SapccIntegrationContext, props: GetCartProps): Promise<CartList>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
| props | GetCartProps | An object which contains necessary properties for getting carts data. |
Returns:
Promise<CartList>