SapccApiGetCartsRequest
Request parameters for getCarts operation in SapccApi. SapccApiGetCartsRequest
interface SapccApiGetCartsRequest {
readonly baseSiteId: string;
readonly currentPage?: number;
readonly fields?: string;
readonly pageSize?: number;
readonly savedCartsOnly?: boolean;
readonly sort?: string;
readonly userId: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
baseSiteId | Required | string | Base site identifier {string} SapccApiGetCarts |
currentPage | Optional | number | Pagination for savedCartsOnly. Default value is 0. {number} SapccApiGetCarts |
fields | Optional | string | Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC,DEFAULT,FULL {string} SapccApiGetCarts |
pageSize | Optional | number | Number of results returned per page if the savedCartsOnly parameter is set to true. Default value: 20. {number} SapccApiGetCarts |
savedCartsOnly | Optional | boolean | If the value is true, only saved carts are returned. {boolean} SapccApiGetCarts |
sort | Optional | string | Sorting method applied to the return results if the savedCartsOnly parameter is set to true. {string} SapccApiGetCarts |
userId | Required | string | User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user {string} SapccApiGetCarts |