Class ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder
Constructors
constructor
- new ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder(args): ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder
Parameters
- args: {
baseUri?: string;
executeRequest: executeRequest;
pathArgs: {
projectKey: string;
storeKey: string;
};
}Optional
baseUri?: string
pathArgs: {
projectKey: string;
storeKey: string;
}
projectKey: string
storeKey: string
Properties
Protected
Readonly
args
args: { baseUri?: string; executeRequest: executeRequest; pathArgs: { projectKey: string; storeKey: string; }; } Type declaration
Optional
baseUri?: string
pathArgs: {
projectKey: string;
storeKey: string;
}
projectKey: string
storeKey: string
Methods
get
- get(methodArgs?): ApiRequest<CartPagedQueryResponse>
Parameters
Optional
methodArgs: {
headers?: {
[key: string]: string | string[];
};
queryArgs?: {
expand?: string | string[];
limit?: number;
offset?: number;
sort?: string | string[];
where?: string | string[];
withTotal?: boolean;
[key: string]: QueryParam;
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Optional
queryArgs?: {
expand?: string | string[];
limit?: number;
offset?: number;
sort?: string | string[];
where?: string | string[];
withTotal?: boolean;
[key: string]: QueryParam;
}
Optional
expand?: string | string[]
Optional
limit?: number
Optional
offset?: number
Optional
sort?: string | string[]
Optional
where?: string | string[]
Optional
withTotal?: boolean
head
- head(methodArgs?): ApiRequest<void>
Parameters
Optional
methodArgs: {
headers?: {
[key: string]: string | string[];
};
queryArgs?: {
where?: string | string[];
[key: string]: QueryParam;
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Optional
queryArgs?: {
where?: string | string[];
[key: string]: QueryParam;
}
Optional
where?: string | string[]
Returns ApiRequest<void>
post
- post(methodArgs): ApiRequest<Cart>
Parameters
- methodArgs: {
body: MyCartDraft;
headers?: {
[key: string]: string | string[];
};
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Optional
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
}
Optional
expand?: string | string[]
Returns ApiRequest<Cart>
Checks if a Cart exists for a given Query Predicate. Returns a
200 OK
status if any Carts match the Query Predicate or a404 Not Found
otherwise.