A number of base definitions and types are used in the CloudCore API. Here is an overview of the definitions and types, as well as there use cases.
Price units are used by the CloudCore system in price calculations. Each price unit type has their own method of calculation.
When prices are calculated by CloudCore multiple prices can be combined. An example could be pr item price and a pr quantity. The pr item price would act as a starting price, and the pr quantity is the items price.
|Once for an order - The value is calculated once for an order.
|Once for each item in an order - The value is calculated in once for the item in the order.
|For each item quantity - The value is calculated for each quantity of an item in an order.
|For each page in the product - The value is calculated for each page in a book and multiplied with the quantity of the item.
|For each book, no pages included - The value is calculated once for the item in the order. Only used for the base price of books.
Shipping levels are used to indicate the shipping service level on orders where a quote hash is not used. If a Shipping service is not available on the level specified, a higher level is used. A higher level is also used if the higher level is cheaper than the requested level.
|Express fast - Tracked
|Express saver - Tracked
|Express ground - Tracked
|Postal - Untracked
Options are categorized in the following types.
When specifying options on an order item, only one option of a specific type can be specified. Not all option types apply to all products. The relation between productions and options can be found via the products/info endpoint in the CloudCore API or via the admin dashboard.
|Book binding method
|Book cover finishing
|Book cover paper
|Cover linen color