Skip to main content
POST
Import orders
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 the Kameleoon database. You should send the data as a JSON string in the request’s body.

List of query parameters

List of parameters for orders object

List of parameters for value object

List of parameters for payment_structure object

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

List of parameters for items object

You must include the items object 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

Because the Import orders endpoint handles both creating and updating orders, you can also use it to register a canceled order. To register a canceled order, provide the following:

Query parameters

orders object parameters

Example cancellation JSON request

Body

application/json
shop_id
string
required

Store Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.

shop_secret
string
required

Secret Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.

orders
object[]
required

List of orders.

Response

Orders imported or updated. Verified against a live response on 2026-09-24.

status
enum<string>

Request outcome.

Available options:
success