Skip to main content
This endpoint allows you to import a list of transaction orders into your Kameleoon account. You can also use this endpoint to update orders and their properties if they already exist in our database. The data should be sent as a JSON string in the request’s body.

HTTP Request

List of query parameters

List of parameters for orders object

List of parameters for value object

List of parameters for payment_structure object

Please ensure that value.total == payment_structure.cash + payment_structure.bonuses + payment_structure.delivery - payment_structure.discount

List of parameters for items object

The items object is required when you create an order. You can send it as an empty array when updating an order’s status.

Example JSON request

Canceling an order

Since the Import orders endpoint is used for both creating and updating orders, you can use it to register a canceled order. To register a canceled order, provide the following:

Query parameters

orders object parameters

Example cancellation JSON request