Class ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartRequestBuilder

Constructors

Properties

Methods

Constructors

Properties

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

Type declaration

  • Optional baseUri?: string
  • executeRequest: executeRequest
  • pathArgs: {
        projectKey: string;
        storeKey: string;
    }
    • projectKey: string
    • storeKey: string

Methods

  • Checks if a ShippingMethod that can ship to the shipping address of the given Cart exists in the given Store. 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;
              [key: string]: QueryParam;
          };
      }
      • Optional headers?: {
            [key: string]: string | string[];
        }
        • [key: string]: string | string[]
      • queryArgs: {
            cartId: string;
            [key: string]: QueryParam;
        }

    Returns ApiRequest<void>