Updates the list of custom fields for a commercial order.
⚠️ This endpoint can only be used if all underlying logistic orders of the commercial order are in DRAFT_ORDER status.
Note: The commercial order itself does not have a status — only its associated logistic orders do.
Custom fields can be identified by DJUST_ID or EXTERNAL_ID. If no type is provided, EXTERNAL_ID is assumed.
This route is often used to replace the cart name with a proper custom field value during order construction.
Permissions: Requires a valid API key and client type.
Multistore Support: Optional store view context header allows routing in multistore environments.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200Custom fields successfully updated on the order.
400Invalid request format or custom field data.
401Unauthorized – user lacks permissions to update the order.
404Order or store/account not found.
