Product Classes

The product class is a field that you can add to your requests. It indicates whether your goods are physical or digital or are for shipping or other charges.

Physical Goods

For example, to specify a good as a physical good, you can add product_class=P, as follows:

{
"product_class": "P",
"quantity": 2,
"description": "Oak smoked kippers (1kg)",
"amount": "29.00",
"custom_id": "51315A00-DC44-408E-A575-8CE42A32AE1B",
"import_address": {
"country_code": "FR"
},

Digital Goods

To specify a good as a digital good good, you can add product_class=D, as follows:

{
"product_class": "D",
"quantity": 1,
"description": "Kippers Monthly Magazine",
"amount": "99.00",
"custom_id": "51315A00-DC44-408E-A575-8CE42A32AE1B",
"import_address": {
"country_code": "FR"
},

Shipping and Other Charges

For more information about how to add the product class for shipping and other charges, see Configuring Shipping and Other Charges.