Configuring the Product Class for Physical Goods

Read about how to configure the product class.

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

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"
},

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


Did this page help you?