Edit in GitHubLog an issue

Tax API reference

The checkout module provides REST and GraphQL APIs to configure out-of-process tax integrations.

REST

The REST API schema is available here.

Route URLMethodDescription
/V1/oope_tax_management/tax_integration/:code
GET
Retrieve an OOPE tax integration info by its code.
/V1/oope_tax_management/tax_integration
GET
List all available tax integration info.
/V1/oope_tax_management/tax_integration
POST
Create or update an OOPE tax integration.

Create or modify a new OOPE tax integration

The POST /V1/oope_tax_management/tax_integration/:code endpoint creates an out-of-process tax integration in the Adobe Commerce instance.

Payload parameters:

ParameterTypeRequiredDescription
code
String
Yes
Unique identifier for the tax integration.
title
String
Yes
Display name of the tax integration.
active
Boolean
No
Status indicating if the tax integration is active.
stores
Array
No
List of store codes where the tax integration is available.
Copied to your clipboard
curl --request POST \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_tax_management/tax_integration \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"tax_integration": {
"code": "tax-1",
"title": "Tax Integration 1",
"active": true,
"stores": ["store-1", "store-2"]
}
}'

Get an OOPE tax integration by code

The GET /V1/oope_tax_management/tax_integration/:code retrieves one out-of-process tax integration by code from the Adobe Commerce instance.

Payload parameters:

ParameterTypeDescription
code
String
Unique identifier for the tax integration.
Copied to your clipboard
curl --request GET \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_tax_management/tax_integration/:code' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json'

List all OOPE tax integrations

The GET /V1/oope_tax_management/tax_integration retrieves a list of all out-of-process tax integrations from the Adobe Commerce instance.

Copied to your clipboard
curl --request GET \
--url <ADOBE_COMMERCE_API_URL>/V1/oope_tax_management/tax_integration' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json'

Create a tax class with custom attributes

The out-of-process tax module extends the POST /V1/taxClasses endpoint to allow creating tax classes with custom attributes.

Copied to your clipboard
curl --request POST \
--url <ADOBE_COMMERCE_API_URL>/V1/taxClasses \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"class_name": "Test Tax Class",
"class_type": "PRODUCT",
"custom_attributes": [
{
"attribute_code": "tax_code",
"value": "005"
}
]
}'

Update a tax class with custom attributes

The out-of-process tax module extends the PUT /V1/taxClasses/:classId endpoint to update an existing tax class with custom attributes.

Copied to your clipboard
curl --request POST \
--url <ADOBE_COMMERCE_API_URL>/V1/taxClasses/4 \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"class_id": 4,
"class_name": "Updated Tax Class",
"class_type": "PRODUCT",
"custom_attributes": [
{
"attribute_code": "tax_code",
"value": "005"
}
]
}'

List all tax classes with custom attributes

The out-of-process tax module extends the GET /V1/taxClasses/search endpoint to include custom attributes in the response when available.

Copied to your clipboard
curl --request GET \
--url '<ADOBE_COMMERCE_API_URL>/V1/taxClasses/search?searchCriteria[pageSize]=100' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Content-Type: application/json'

GraphQL

There are two GraphQL queries to check taxes applied by the tax integration, cart.

Cart taxes

To check the taxes applied to the cart, you can use the getCart query to retrieve the cart/prices/applied_taxes field. This field contains information about the taxes applied to the cart.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.