Skip to main content
Skip to main content

AdminTaxRatesResource

admin/tax-rates.AdminTaxRatesResource

Methods

addProductTypes

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

addProducts

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

addShippingOptions

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

create

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

Parameters

payloadAdminPostTaxRatesReqRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

delete

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<DeleteResponse>

ResponsePromiseResponsePromise<DeleteResponse>Required

list

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

Parameters

customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesListRes>

ResponsePromiseResponsePromise<AdminTaxRatesListRes>Required

removeProductTypes

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

removeProducts

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

removeShippingOptions

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

retrieve

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required

update

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

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminTaxRatesRes>

ResponsePromiseResponsePromise<AdminTaxRatesRes>Required
Was this section helpful?