Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
product_id | Int? | Nullable. The ID of the product where this VAT percentage is applied. |
product_price_id | Int? | Nullable. The ID of the product price where this VAT percentage is applied. |
product_option_id | Int? | Nullable. The ID of the product option where this VAT percentage is applied. |
percentage | Float | The VAT percentage |
method | String | The take out method for which this VAT percentage should get applied |
start_date | Date? | Nullable. When this VAT percentage will take effect. Use null to apply since the beginning. |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
product_id | Int? | Nullable. The ID of the product where this VAT percentage is applied. |
product_price_id | Int? | Nullable. The ID of the product price where this VAT percentage is applied. |
product_option_id | Int? | Nullable. The ID of the product option where this VAT percentage is applied. |
percentage | Float | The VAT percentage |
method | String | The take out method for which this VAT percentage should get applied |
start_date | Date? | Nullable. When this VAT percentage will take effect. Use null to apply since the beginning. |
id | Int | The unique ID of this VAT change |
When used inside a request.
{
"product_id": 11,
"product_price_id": 12,
"product_option_id": 15,
"percentage": 9.67,
"method": "delivery",
"start_date": "2019-01-31"
}
When returned in a response.
{
"product_id": 11,
"product_price_id": 11,
"product_option_id": 14,
"percentage": 9.67,
"method": "delivery",
"start_date": "2019-01-31",
"id": 13
}