GetOrders. Retrieves a set of orders

Filters can be generated, for example, by date, number of orders (default is 100), and status. Remember that you can see the available order statuses in the order flows section (Here).

The response fields provided by this API are detailed in the following table:

Field NameTypeDescription
TotalCountUnsignedThis number, shown in the Head section, indicates the total number of all orders for the current filter set in the database
OrderIdUnsignedIdentifier of this order assigned by Falabella Seller Center
CustomerFirstNameStringThe customer's first name
CustomerLastNameStringThe customer's last name
OrderNumberUnsignedThe human-readable order number
PaymentMethodStringThe payment method
RemarksStringA human-readable remark
DeliveryInfoStringInformation about the delivery of this order
PriceFloatThe total amount of this order
GiftOptionBoolean1 if the item is a gift, 0 if not
GiftMessageStringGift message as specified by the customer
CreatedAtDateTimeDate and time the order was placed
UpdatedAtDateTimeDate and time of the last order modification
AddressBillingSubsectionNode containing additional nodes that make up the billing address: First Name, Last Name, Phone, Phone2, Address1, Address2, City, Postal Code, Country
AddressShippingSubsectionNode containing additional nodes that make up the shipping address: First Name, Last Name, Phone, Phone2, Address1, Address2, City, Postal Code, Country
NationalRegistrationNumberStringRequired in some countries
ItemsCountIntegerNumber of items in order
StatusesArrayUnique statuses of the items in the order (hint: you can find all the different status codes in the response example)
PromisedShippingTimesDateTimeTarget shipping time for the fastest item in the order if available
ExtraAttributesStringExtra attributes passed to Falabella Seller Center in the getMarketPlaceOrders call.

It is a JSON string that the client must parse.
ExtraBillingAttributesStringNode containing additional billing information: LegalId, FiscalPerson, DocumentType, ReceiverRegion, ReceiverAddress, ReceiverPostcode, ReceiverLegalName, ReceiverMunicipality, ReceiverTypeRegimen, CustomerVerifierDigit
ShippingTypeStringFulfillment and delivery mode of the order. ¹
InvoiceRequiredBooleanReturns True ('Factura empresa' in Colombia) if the document is an invoice, and False if it is a receipt ('Factura persona natural' in Colombia).

¹ - This field can be used to differentiate the fulfillment mode and add decision rules for stock consumption in integrators' inventory management systems, as shown in the following examples:

  • When ShipmenType is Dropshipping, orders are Fulfilled by the seller, so they should consume stock as they are prepared in their own warehouses;
  • When ShipmenType is Own Warehouse, these orders are Fulfilled by Falabella and should not consume stock because it has already been delivered to Falabella.com for fulfillment on behalf of the seller.


📘

Receipt or Invoice?

As shown in the table above, the 'InvoiceRequired' field indicates whether the sale was made with a receipt ('Factura persona natural' in Colombia) or an invoice ('Factura empresa' in Colombia). It will return 'True' if it is an invoice and 'False' if it is a receipt.

If it is an invoice ('Factura empresa' in Colombia), the API will return a series of fields with relevant information for billing, presented in the following table.

FieldClarificationDescription
ReceiverLegalNameLegal entity nameRefers to the business to be invoiced.
ReceiverAddressAddressAddress for invoicing.
ReceiverRegionRegion (Chile) / Department (Peru) / Department (Colombia)Location of the address
ReceiverMunicipalityCommune (Chile) / Province (Peru) / City or Municipality (Colombia)Zone where the address is located
FiscalPersonFiscal personIdentification of the business
DocumentTypeDocument typeType of identification document of the taxpayer role of the legal entity.
LegalIdLegal IDNumber of the document identified in the 'Document Type' field with verifier digit
ReceiverTypeRegimenEconomic activityCode and name of the activity or industry of the legal entity.
CustomerVerifierDigitVerifier digitVerifier digit of the 'legal identifier'.
ReceiverEmailEmailEmail to associate with the Invoice
ReceiverPhonenumberPhonePhone number to associate with the Invoice

Errors


Error CodeMessage
14E014: "%s" Invalid Offset
17E017: "%s" Invalid Date Format
19E019: "%s" Invalid Limit
36E036: Invalid status filter
74E074: Invalid sort direction.
75E075: Invalid sort filter.
Language