Create Tax

POST {{baseUrl}}/taxes

This endpoint allows you to create a new tax and return the corresponding tax id.

You must add tax rate and specify which country that tax will be applied to by providing a country id.

Note: you can get country id from List Countries Endpoint.

OAuth Scopes


taxes.read_write

Request Body

{"tax"=>"15", "country_id"=>773200552}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":200,"success":true,"data":{"id":2087347200,"tax":5,"status":"active","country":"Bahrain"}}