Product Tax Properties
Get Product Tax Properties
GET https://api.bigcommerce.com/stores/{store_hash}/v3/tax/products/propertiesRequest
Retrieve the tax properties that are associated with one or more products.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- product_id:in in query - arrayrequiredID of product. To target multiple products, provide a comma-separated list of IDs such as
12,34,56
.Type: array[integer]
example
Response
OK
Body
object | application/json
dataarray[object]
example
Update Product Tax Properties
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/tax/products/propertiesRequest
Update the tax properties associated with one or more products. This operation will be additive to any tax property values already associated with the product, overwriting any existing tax property values.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
array | application/json
product_idinteger
requiredA reference to the product that the product tax properties are associated with.Example: 157tax_propertiesobject
requiredA simple key-value pairing. The tax property must be defined to associate a value. These values will be sent to the active tax provider during Tax Provider API operations whenever the associated product is included in the operation.Example: {"A-123456789":"26","B-6731789":"200"}
Example
Response
OK
Body
object | application/json
dataarray[object]
example
Delete Product Tax Properties
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/tax/products/propertiesRequest
Delete tax properties that are associated with one or more products.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- product_id:in in query - arrayrequiredID of product. To target multiple products, provide a comma-separated list of IDs such as
12,34,56
.Type: array[integer]
example
Response
No Content
Did you find what you were looking for?