company.VATChange

Request

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.

Response

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

Examples

Request

When used inside a request.

Example 1

{
    "product_id": 12,
    "product_price_id": 12,
    "product_option_id": 12,
    "percentage": 9.67,
    "method": "delivery",
    "start_date": "2019-01-31"
}

Response

When returned in a response.

Example 1

{
    "product_id": 12,
    "product_price_id": 12,
    "product_option_id": 12,
    "percentage": 9.67,
    "method": "delivery",
    "start_date": "2019-01-31",
    "id": 12
}
1.5.0 stable