Class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyRequestBuilder
Constructors
constructor
Parameters
- args: {
baseUri?: string;
executeRequest: executeRequest;
pathArgs: {
associateId: string;
businessUnitKey: string;
key: string;
projectKey: string;
};
}
Properties
Protected
Readonly
args
args: { baseUri?: string; executeRequest: executeRequest; pathArgs: { associateId: string; businessUnitKey: string; key: string; projectKey: string; };} Methods
delete
delete( methodArgs: { headers?: { [key: string]: string | string[] }; queryArgs: { dataErasure?: boolean; expand?: string | string[]; version: number; [key: string]: QueryParam; }; },): ApiRequest<Cart> Parameters
- methodArgs: {
headers?: { [key: string]: string | string[] };
queryArgs: {
dataErasure?: boolean;
expand?: string | string[];
version: number;
[key: string]: QueryParam;
};
}
get
get( methodArgs?: { headers?: { [key: string]: string | string[] }; queryArgs?: { expand?: string | string[]; [key: string]: QueryParam }; },): ApiRequest<Cart> Parameters
Optional
methodArgs: {
headers?: { [key: string]: string | string[] };
queryArgs?: { expand?: string | string[]; [key: string]: QueryParam };
}
head
head( methodArgs?: { headers?: { [key: string]: string | string[] } },): ApiRequest<void> Parameters
Optional
methodArgs: { headers?: { [key: string]: string | string[] } }
post
post( methodArgs: { body: CartUpdate; headers?: { [key: string]: string | string[] }; queryArgs?: { expand?: string | string[]; [key: string]: QueryParam }; },): ApiRequest<Cart> Parameters
- methodArgs: {
body: CartUpdate;
headers?: { [key: string]: string | string[] };
queryArgs?: { expand?: string | string[]; [key: string]: QueryParam };
}
If the Cart exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.