Home > @vsf-enterprise/sap-commerce-webservices-sdk > CartsApiAxiosParamCreator

CartsApiAxiosParamCreator variable

CartsApi - axios parameter creator

Signature:

CartsApiAxiosParamCreator: (configuration?: Configuration) => {
    createCart: (baseSiteId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', oldCartId?: string, toMergeCartGuid?: string, options?: any) => Promise<RequestArgs>;
    createCartDeliveryAddress: (baseSiteId: string, cartId: string, userId: string, address: Address, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    createCartEntry: (baseSiteId: string, cartId: string, userId: string, entry: OrderEntry, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    createCartPaymentDetails: (baseSiteId: string, cartId: string, userId: string, paymentDetails: PaymentDetails, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    doApplyCartPromotion: (baseSiteId: string, cartId: string, promotionId: string, userId: string, options?: any) => Promise<RequestArgs>;
    doApplyCartVoucher: (baseSiteId: string, cartId: string, userId: string, voucherId: string, options?: any) => Promise<RequestArgs>;
    getCart: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartDeliveryMode: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartDeliveryModes: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartEntries: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartEntry: (baseSiteId: string, cartId: string, entryNumber: number, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartPromotion: (baseSiteId: string, cartId: string, promotionId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartPromotions: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCartVouchers: (baseSiteId: string, cartId: string, userId: string, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    getCarts: (baseSiteId: string, userId: string, currentPage?: number, fields?: 'BASIC' | 'DEFAULT' | 'FULL', pageSize?: number, savedCartsOnly?: boolean, sort?: string, options?: any) => Promise<RequestArgs>;
    removeCart: (baseSiteId: string, cartId: string, userId: string, options?: any) => Promise<RequestArgs>;
    removeCartDeliveryAddress: (baseSiteId: string, cartId: string, userId: string, options?: any) => Promise<RequestArgs>;
    removeCartDeliveryMode: (baseSiteId: string, cartId: string, userId: string, options?: any) => Promise<RequestArgs>;
    removeCartEntry: (baseSiteId: string, cartId: string, entryNumber: number, userId: string, options?: any) => Promise<RequestArgs>;
    removeCartPromotion: (baseSiteId: string, cartId: string, promotionId: string, userId: string, options?: any) => Promise<RequestArgs>;
    removeCartVoucher: (baseSiteId: string, cartId: string, userId: string, voucherId: string, options?: any) => Promise<RequestArgs>;
    replaceCartDeliveryAddress: (addressId: string, baseSiteId: string, cartId: string, userId: string, options?: any) => Promise<RequestArgs>;
    replaceCartDeliveryMode: (baseSiteId: string, cartId: string, deliveryModeId: string, userId: string, options?: any) => Promise<RequestArgs>;
    replaceCartEntry: (baseSiteId: string, cartId: string, entryNumber: number, userId: string, entry: OrderEntry, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
    replaceCartGuestUser: (baseSiteId: string, cartId: string, email: string, userId: string, options?: any) => Promise<RequestArgs>;
    replaceCartPaymentDetails: (baseSiteId: string, cartId: string, paymentDetailsId: string, userId: string, options?: any) => Promise<RequestArgs>;
    updateCartEntry: (baseSiteId: string, cartId: string, entryNumber: number, userId: string, entry: OrderEntry, fields?: 'BASIC' | 'DEFAULT' | 'FULL', options?: any) => Promise<RequestArgs>;
}