Przejdź do głównej zawartości

AddAdditionalCostInput

Dla: Programista

Typ wejściowyAddAdditionalCostInput

A new additional cost, charged on an order or on one of its products.

Pola

PoleTypOpis
amountwymaganeFloat!

Net amount of the cost in the order currency, 0 or more.

categoryAdditionalCostCategory

Kind of cost.

descriptionString

Longer description of the cost (up to 2000 characters).

isClientVisibleBoolean

True to show the cost to the client, for example on the order summary.

Domyślnie: true

namewymaganeString!

Name of the cost, as shown on documents (up to 200 characters).

orderIdID

Identifier of the order to charge the cost on. Required when calling with an API key (an order is the only parent a key may give); the order must not be archived.

productIdID

Identifier of a product of that order to charge the cost on; without it the cost is on the whole order.

sortOrderInt

Position of the cost among the costs of the order, from 0.

Domyślnie: 0

taxRateFloat

VAT rate as a fraction from 0 to 1: 0.23 for 23%.

Domyślnie: 0.23

Używane w