Sales Tax API
Core Concepts
Corporations
Calculate
Transactions
- Tax Transactions
- POSTCreate a transaction
- GETGet transaction
- GETList transactions
- DELDelete transaction
- Refund Transactions
- Bulk Transaction Import
Nexus
Registrations
Products
Customers
Exemption Certificates
Products
Create product
Create a new product for a corporation.
POST
/
products
curl --request POST \
--url https://base_url/api/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
}'
{
"data": {
"id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
},
"message": "Successfully created product."
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Create product response.
The response is of type object
.
curl --request POST \
--url https://base_url/api/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
}'
{
"data": {
"id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
"name": "SunShield Pro UV-Blocking Sunglasses",
"tax_code": "TPP",
"sku": "PT-1035",
"description": "<string>",
"corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
},
"message": "Successfully created product."
}