Class ByProjectKeyShippingMethodsByIDRequestBuilder
Constructors
constructor
Parameters
- args: {
baseUri?: string;
executeRequest: executeRequest;
pathArgs: { ID: string; projectKey: string };
}
Properties
Protected
Readonly
args
args: { baseUri?: string; executeRequest: executeRequest; pathArgs: { ID: string; projectKey: string };} Methods
delete
delete( methodArgs: { headers?: { [key: string]: string | string[] }; queryArgs: { expand?: string | string[]; version: number; [key: string]: QueryParam; }; },): ApiRequest<ShippingMethod> Parameters
- methodArgs: {
headers?: { [key: string]: string | string[] };
queryArgs: {
expand?: string | string[];
version: number;
[key: string]: QueryParam;
};
}
get
get( methodArgs?: { headers?: { [key: string]: string | string[] }; queryArgs?: { expand?: string | string[]; [key: string]: QueryParam }; },): ApiRequest<ShippingMethod> 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
Parameters
- methodArgs: {
body: ShippingMethodUpdate;
headers?: { [key: string]: string | string[] };
queryArgs?: { expand?: string | string[]; [key: string]: QueryParam };
}
Checks if a ShippingMethod exists for a given
id
. Returns a200 OK
status if the ShippingMethod exists or a404 Not Found
otherwise.