Skip to main content

Class: AdminTaxRatesResource

Hierarchy

  • default

    AdminTaxRatesResource

Methods

addProductTypes

addProductTypes(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminPostTaxRatesTaxRateProductTypesReq
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:100


addProducts

addProducts(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminPostTaxRatesTaxRateProductsReq
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:84


addShippingOptions

addShippingOptions(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminPostTaxRatesTaxRateShippingOptionsReq
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:116


create

create(payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
payloadAdminPostTaxRatesReq
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:53


delete

delete(id, customHeaders?): ResponsePromise<DeleteResponse>

Parameters

NameType
idstring
customHeadersRecord<string, any>

Returns

ResponsePromise<DeleteResponse>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:180


list

list(query?, customHeaders?): ResponsePromise<AdminTaxRatesListRes>

Parameters

NameType
query?AdminGetTaxRatesParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesListRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:39


removeProductTypes

removeProductTypes(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminDeleteTaxRatesTaxRateProductTypesReq
query?AdminDeleteTaxRatesTaxRateProductTypesParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:148


removeProducts

removeProducts(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminDeleteTaxRatesTaxRateProductsReq
query?AdminDeleteTaxRatesTaxRateProductsParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:132


removeShippingOptions

removeShippingOptions(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminDeleteTaxRatesTaxRateShippingOptionsReq
query?AdminDeleteTaxRatesTaxRateShippingOptionsParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:164


retrieve

retrieve(id, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:24


update

update(id, payload, query?, customHeaders?): ResponsePromise<AdminTaxRatesRes>

Parameters

NameType
idstring
payloadAdminPostTaxRatesTaxRateReq
query?AdminGetTaxRatesTaxRateParams
customHeadersRecord<string, any>

Returns

ResponsePromise<AdminTaxRatesRes>

Defined in

medusa-js/src/resources/admin/tax-rates.ts:68

Was this page helpful?