AdminTaxRatesResource
admin/tax-rates.AdminTaxRatesResource
Methods
addProductTypes
addProductTypes(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
addProducts
addProducts(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
addShippingOptions
addShippingOptions(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
create
create(payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
delete
delete(id
, customHeaders?
): ResponsePromise
<DeleteResponse
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<DeleteResponse
>
list
list(query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesListRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesListRes
>
removeProductTypes
removeProductTypes(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
removeProducts
removeProducts(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
removeShippingOptions
removeShippingOptions(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
retrieve
retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>
update
update(id
, payload
, query?
, customHeaders?
): ResponsePromise
<AdminTaxRatesRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminTaxRatesRes
>