Dukan icon

Dukan

Interact with the Dukan API

Order → Update Order Details

AI-generated

Summary

Update specific details of an existing order identified by its Cart ID by sending selected fields to the Dukan API.

Inputs

  • Cart ID (required) — The unique identifier of the cart (order) to update.
  • Use JSON — Whether to provide the update data as a JSON object.
  • JSON — A JSON object with order details to update; supports orderTracking (string, optional), totalProductsPrice (number, required), allowCustomTotalProductsPrice (boolean, optional), allowCustomShippingPrice (boolean, optional), shippingPrice (number, required). Other fields are ignored. Used only if 'Use JSON' is enabled.
  • Order Tracking — Tracking number string for the order; used only if 'Use JSON' is false.
  • Allow Custom Total Products Price — Boolean flag to allow setting a custom total products price; used only if 'Use JSON' is false.
  • Total Products Price (required) — Numeric total price of products; required if 'Use JSON' is false and 'Allow Custom Total Products Price' is true.
  • Allow Custom Shipping Price — Boolean flag to allow setting a custom shipping price; used only if 'Use JSON' is false.
  • Shipping Price (required) — Numeric shipping price; required if 'Use JSON' is false and 'Allow Custom Shipping Price' is true.
  • Force Custom Auth Header — Whether to use a custom API key for this request instead of the stored credentials.
  • Custom API Key — API key to use if 'Force Custom Auth Header' is set to true.
  • Force Custom Base URL — Whether to use a custom base URL instead of the one configured in credentials.
  • Custom Base URL — Custom base URL for making API requests, used if 'Force Custom Base URL' is true (without '/v1/external' suffix).

Output shape

a single updated order object as returned by the Dukan API

The update accepts either a JSON object with specific allowed fields or individual fields when 'Use JSON' is false. Other fields outside those specified are ignored. Authentication and base URL can be overridden per request.

Links

Discussion