Typ wejściowyAddAdditionalCostInput
A new additional cost, charged on an order or on one of its products.
Pola
| Pole | Typ | Opis |
|---|---|---|
amountwymagane | Float! | Net amount of the cost in the order currency, 0 or more. |
category | AdditionalCostCategory | Kind of cost. |
description | String | Longer description of the cost (up to 2000 characters). |
isClientVisible | Boolean | True to show the cost to the client, for example on the order summary. Domyślnie: |
namewymagane | String! | Name of the cost, as shown on documents (up to 200 characters). |
orderId | ID | 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. |
productId | ID | Identifier of a product of that order to charge the cost on; without it the cost is on the whole order. |
sortOrder | Int | Position of the cost among the costs of the order, from 0. Domyślnie: |
taxRate | Float | VAT rate as a fraction from 0 to 1: Domyślnie: |