Hierarchy

  • RateCardsAPI

Constructors

Properties

Methods

Constructors

Properties

client: AxiosInstance

Methods

  • The download method allows for downloading a given rate card by rateCardId.

    Parameters

    • rateCardId: string

    Returns Promise<AxiosResponse<Blob, any>>

  • The list method retrieves a list of rate cards for a given list of carrier ID's.

    Parameters

    • carrierIds: string[]

    Returns Promise<AxiosResponse<{
        rateCards: SE.RateCard[];
    }, any>>

  • The publish method allows for publishing a given rate card by rateCardId.

    Parameters

    • rateCardId: string

    Returns Promise<AxiosResponse<any, any>>

  • The upload method allows for uploading a given rate card as a spreadsheet file.

    Parameters

    • rateCardId: string
    • file: File

    Returns Promise<AxiosResponse<SE.RateCard, any>>

Generated using TypeDoc