commercetools · Schema

OrderUpdate

Request body for updating an order.

CommerceComposable CommerceE-CommerceGraphQLRESTSDK

Properties

Name Type Description
version integer Current version for optimistic concurrency control.
actions array List of update actions to apply to the order.
View JSON Schema on GitHub

JSON Schema

commercetools-orderupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderUpdate",
  "title": "OrderUpdate",
  "type": "object",
  "description": "Request body for updating an order.",
  "required": [
    "version",
    "actions"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "description": "Current version for optimistic concurrency control."
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "List of update actions to apply to the order."
    }
  }
}