Product Classes
Use product classes to indicate the type of good or service.
The product class is a field that you can add to your requests.
Physical goods
To specify a good as a physical good, you can add product_class=P, as follows:
"transaction_lines": [
{
"amount": 100,
"custom_id": "",
"ship_from_address": {
"country_code": "GB"
},
"description": "Product 1",
"product_class": "P",
"product_tax_code": {
"class": "TPP/Goods"
}
},Digital goods
To specify a good as a digital good, you can add "product_class"="D", as follows:
"transaction_lines": [
{
"amount": 100,
"custom_id": "",
"description": "Product 1",
"product_class": "D",
"product_tax_code": {
"class": "Digital"
}
},More information about digital goods is provided in the Digital Goods topic.
Shipping and other charges
Details about how to add the Product Class for shipping and other charges is provided in the Shipping and Other Charges topic.
Updated 14 days ago
Did this page help you?
