Order

Swagger (for read only, can't try it out): https://api.v2.swagger.neomode.com.br/cp/management/commerce/index.html

Order Data Fields

Order Identifiers

Reference for the main identification fields used in order management and their respective API lookup routes.

FieldData TypeLocation / FunctionAPI Routing Pattern
Idstring (GUID)Primary identifier found in the page URL link.N/A (Direct Resource ID)
ExternalIdstringDisplayed in the first order information block.cp/.../external/{id} or /orderNumber
SellerOrderIdstringDisplayed in the first order information block.cp/.../sellerOrderId/{id}

NEO In Store Order Details Page:

Pedido Neomode

Full Order Body

Top Level Order Fields

FieldType
idstring
createDatestring (ISO)
externalIdstring
sellerOrderIdstringSeller-specific order ID
orderPackageIdstringOptional package grouping ID
channelstring
friendlyCodestring
cpfPickUpstringCPF for pickup
cpfInvoicestringCPF for invoice
invoiceUrlstringURL to the invoice document
dealerCodestringOptional dealer code
feeAmountnumber
bonusAmountnumber
isDeliveryboolean
isCvvValidatedboolean
maxPickUpTimestringMaximum pickup time
orderNotestringOptional note added to order
plpstringPLP (postal list) reference
statusnumberSeparated

Buyer

FieldTypeDescription
bonusCustomerIdstringnullOptional loyalty/bonus ID
cpfstringCPF of the buyer
stateInscriptionstringnullState registration
documentTypenumberType of document (1 = CPF, 2 = CNPJ)
phoneNumberstringBuyer phone number
fullNamestringBuyer full name
emailstringBuyer email
cnpjstringnullBuyer CNPJ if applicable
companyNamestringnullBuyer company name
addressobjectDelivery address (see Address fields below)

Seller

FieldTypeDescription
pointSaleIdstringPoint of sale ID
fullNamestringSeller name
emailstringSeller email
cnpjstringSeller CNPJ
addressobjectSeller address (same structure as buyer address)
workingHoursarrayOptional working hours for store
integrationConfigobjectCredentials and integration info for order, payment, fraud, promotion engine

Address

FieldTypeDescription
streetstringStreet name
numberstringNumber
complementstringnullAddress complement
neighborhoodstringNeighborhood
cepstringPostal code
citystringCity
statestringState abbreviation
latitudenumbernullGPS latitude
longitudenumbernullGPS longitude
fullAddressstringFormatted full address

Freight

FieldTypeDescription
deliveryTimenumberEstimated delivery time
referencestringDelivery service reference
descriptionstringDescription of freight service
amountnumberFreight amount

PaymentInfo & PaymentList

FieldTypeDescription
amountnumberPayment amount
quantityInstallmentsnumberNumber of installments
paymentMethodobjectPayment method details

Payment Method

FieldTypeDescription
infostringMethod name (e.g., Credit Card, Pix)
brandstringnullCard brand if applicable
typenumberNumeric payment type
modalitynumberModality type
idstringUnique ID for payment method

Invoice

FieldTypeDescription
keystringnullInvoice key
numberstringnullInvoice number
serieNumbernumberSeries number
totalAmountnumberTotal invoice amount
xmlUrlstringnullXML URL
fileUrlstringnullPDF file URL
issuanceDatestringDate of issuance

Items Array

FieldTypeDescription
quantitynumberItem quantity
unitPricenumberUnit price of the item
subTotalAmountnumberSubtotal for the item
totalAmountnumberTotal price for the item
skuobjectSKU details (code, name, attributes, linked product)
isGiftbooleanIf item is a gift
couponobjectnullCoupon applied

Custom Data Array

🚧

Here will be order key:value customizations

FieldTypeDescription
keystringCustom key name
valuestringCustom value

Order Status Reference Table

This table maps the internal Enum IDs to their respective status names, canonical summaries, and functional descriptions within the system.

IDStatusCanonical // SummarizedDescription
0NoneCreatedInternalOrder received by the system.
1PendingCreatedInternalOrder successfully created in Lori.
2PendingCreateAwaitingCreationWaiting for the order creation trigger.
3PendingApprovalAwaitingCreationWaiting for Point of Sale (POS) confirmation.
4ApprovedExternalCreatedExternalOrder confirmed by the Point of Sale.
5ProcessingAwaitingInvoiceCreationOrder is currently being invoiced.
6SeparateSeparatedProducts have been picked and separated.
7InDeliveryShippingOrder is in transit.
8ReadyForPickupReadyForPickupOrder is ready for customer collection.
9FinalizedFinalizedOrder process completed.
10CandeledBySellerCanceledCanceled by the Point of Sale.
11CanceledByBuyerCanceledCanceled by the customer.
12CanceledByAdminCanceledCanceled by the system administrator.
13PendingCancelCanceledCancellation request is pending.
14PendingCreatePreOrderAwaitingCreationWaiting for pre-order creation.
15PreOrderCreatedCreatedExternalPre-order successfully created at the POS.
16ErrorCancelErrorError occurred during the cancellation process.
17PendingUpdateInProgressOrder update is pending synchronization.
18UpdatedInProgressOrder details have been successfully updated.
19ErrorUpdateErrorError occurred during the update process.
20InvoiceCreatedInvoiceCreatedFiscal invoice has been issued.
21CanceledByProcessorCanceledCanceled via automated system process.