Create a channel order (synchronous)
Changed onValidates and synchronously materializes a channel order: checks the channel is active; optionally links an existing customer by customer_id (the order is left unidentified when omitted); validates every item SKU against an active product and every payment method against an active payment method; cross-checks the subtotal against the sum of item totals; then persists the order, its items, addresses, mirrored payments and bootstrap timeline event in a single transaction. A duplicate (same external_order_id + channel) is rejected with 409. Authenticated as a channel service account.
Request
- Base URLhttps://oms-api.tenant.krzlabs.io
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Order created.
Changes
- breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
///// - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
the
request property's minItems was increased to1 - breaking
the
request property's minItems was increased to1 - breaking
the
request property type changed fromobjecttostring - breaking
the
request property type changed fromobjecttostring - breaking
the
request property type changed fromobjecttostring - breaking
the
request property type changed fromobjecttostring - info
added the new optional request property
///// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
///// - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info