Home > @vsf-enterprise/sapcc-api > GetAllCartsProps

GetAllCartsProps interface

Definition of the parameter structure to load user carts.

Signature:

export interface GetAllCartsProps extends BaseProps 

Extends: BaseProps

Properties

Property Type Description
currentPage? number (Optional) Optional pagination parameter. Has effect only if savedCartsOnly is set to true.
pageSize? number (Optional) Number of carts to return. Has effect only if savedCartsOnly is set to true.
savedCartsOnly? boolean (Optional) If provided, only saved carts will be returned.
sort? string (Optional) Carts sorting rule. Has effect only if savedCartsOnly is set to true.
userId string User identifier or one of the literals : current for currently authenticated user, anonymous for anonymous user