Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Pedidos Venta → Create

AI-generated

Summary

Creates a Centum sales order for the specified customer, seller, delivery slot, dates, and article quantities. It sends the order to Centum and returns the created order data.

Inputs

  • articleIds (required) — Comma-separated article IDs.
  • articleQuantities (required) — Comma-separated quantities corresponding to the article IDs.
  • documentDate (required) — Date of the sales order document.
  • deliveryDate (required) — Requested delivery date.
  • salesOrderSellerId (required) — Seller ID for the order.
  • deliveryTimeSlotId (required) — Delivery time slot ID.
  • customerId — Customer ID used for the order.
  • discountId — Optional discount ID.
  • physicalBranchId — Optional physical branch ID for stock filtering.
  • cashValueInstallmentCount — Installment count used when the node's cash-sale option is enabled.
  • cashValueExchangeRate — Exchange rate used when the node's cash-sale option is enabled.
  • cashValueId — Cash value ID used when the node's cash-sale option is enabled.
  • cashValueNotes — Notes included when the node's cash-sale option is enabled.
  • debugSettings — Optional debug logging controls, including endpoint filtering and whether to log the request body.

Output shape

A single item containing the created sales order data.

Article IDs and quantities are entered as comma-separated lists; the UI descriptions specify positive integers and ignore spaces. Cash-value fields are displayed conditionally when cash-sale mode is enabled.

Links

Discussion