Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Tax Profile PUT API Documentation

Updating Specific Tax Profiles

Endpoints:   PUT /admin/tax_profiles/{id}

Purpose

The PUT /admin/tax_profiles/{id} API is used to update an existing tax profile. It allows administrators to modify the tax profile’s name, description, or its status as the default profile. This ensures the tax settings remain accurate and aligned with evolving business needs.

Path Parameters

Field
Type
Description
id
integer
The unique identifier of the categories

Query Parameters 

This endpoint does not have any query parameters.

Use Case

Administrators use this endpoint to update tax profiles when tax rules change or when corrections to existing profiles are required. This is useful for maintaining compliance with tax regulations and ensuring that the correct tax profile is applied across products and categories.

Request Body

KeyTypeDescription
nameStringThe name of the tax profile.
descriptionStringA brief description of the tax profile.
defaultBooleanIndicates if this is the default profile.
JSON
{
    "tax_profile": {
        "name": "UPDATED_TAX_PROFILE_NAME",
        "description": "UPDATED_TAX_PROFILE_DESCRIPTION",
        "default": IS_DEFAULT
    }
}

Response

The response returns the updated tax profile with the modified fields along with the original ID and updated timestamps.

PUT
https://{your_site_domain}/api/v4/admin/tax_profiles/{id}
Try It Out
JSON
{
    "tax_profile": {
        "id": TAX_PROFILE_ID,
        "name": "UPDATED_TAX_PROFILE_NAME",
        "description": "UPDATED_TAX_PROFILE_DESCRIPTION",
        "default": IS_DEFAULT,
        "created_at": "CREATED_TIMESTAMP",
        "updated_at": "UPDATED_TIMESTAMP"
    }
}
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance