Class ByProjectKeyShippingMethodsMatchingCartLocationRequestBuilder

Constructors

Properties

Methods

Constructors

Properties

args: {
    baseUri?: string;
    executeRequest: executeRequest;
    pathArgs: { projectKey: string };
}

Methods

  • Checks if an active ShippingMethod that can ship to the given Location exists for the given Cart. Returns a 200 OK status if the ShippingMethod exists or a 404 Not Found otherwise.

    Parameters

    • methodArgs: {
          headers?: { [key: string]: string | string[] };
          queryArgs: {
              cartId: string;
              country: string;
              state?: string;
              [key: string]: QueryParam;
          };
      }

    Returns ApiRequest<void>