Tax Rate API

Retrieve state list that requires sales tax calculation

GET https://api.printful.com/tax/countries

Returns a list of countries and states that need Printful sales tax calculation.
Input parameters:
無し
レスポンス形式:
code integer ステータスコードのレスポンス 200
result Country [ ]
code string Country code
name string Country name
states State [ ] Array of states
code string State code
name string State name
APIキー
Execute

Calculate tax rate

POST https://api.printful.com/tax/rates

Calculates sales tax rate for given address if required
Input parameters:
Request body TaxRequest Tax address information
recipient TaxAddressInfo Recipient address information
country_code string Country code
state_code string State code
city string City
zip string ZIP or postal code
レスポンス形式:
code integer ステータスコードのレスポンス 200
result TaxInfo
required boolean Whether sales tax is required for the given address
rate float Tax rate
APIキー
Request body
Execute

Printfulを試す準備はできましたか?