GetOrder. Through an OrderId, retrieves the items for a single order.

Remember that you can view 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
OrderIdUnsignedIdentifier of this order assigned by the Seller Center.
CustomerFirstNameStringThe customer's first name.
CustomerLastNameStringThe customer's last name.
OrderNumberUnsignedThe human-readable order number.
PaymentMethodStringThe payment method.
RemarksStringA human-readable remark.
DeliveryInfoStringShipping information for the 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 when the order was placed.
UpdatedAtDateTimeDate and time of the last modification of the order.
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.
ExtraAttributesStringExtra attributes that were passed to the Seller Center in the getMarketPlaceOrders call. \n \nThis is a JSON string that the client must parse.
ExtraBillingAttributesStringNode containing additional billing information: LegalId, FiscalPerson, DocumentType, ReceiverRegion, ReceiverAddress, ReceiverPostcode, ReceiverLegalName, ReceiverMunicipality, ReceiverTypeRegimen, CustomerVerifierDigit.
ItemsCountIntegerNumber of items in the order.
StatusesArrayUnique statuses of the order items. (Tip: you can find all the different status codes in the response example).
OperatorCodeStringOperator type name (Identifies country of operation) e.g.: facl, fape, etc.
ShippingTypeStringFulfillment and delivery modality of the order ¹.
InvoiceRequiredBooleanReturns True if the document is an Invoice, and False if it is a receipt.

¹ - This field can be used to differentiate the fulfillment modality and add decision rules for the consumption or not of stocks in the inventory management systems of integrators, as shown in the following examples:

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

📘 Receipt or Invoice?

As shown in the previous table, the 'InvoiceRequired' field indicates whether the sale was made using 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 generating the invoice, presented in the following table

FieldClarificationDescription
ReceiverLegalNameBusiness nameCorresponds to the business to which the invoice must be issued.
ReceiverAddressAddressAddress to which the invoice should be sent.
ReceiverRegionRegion (Chile) / Department (Peru) / Department (Colombia)Location where the address is found.
ReceiverMunicipalityCommune (Chile) / Province (Peru) / City or Municipality (Colombia)Corresponds to the area in which the address is located.
FiscalPersonTaxable personIdentification of the business.
DocumentTypeDocument typeType of identification document for the legal entity.
LegalIdLegal identificationCorresponds to the number of the document identified in the "Document type" field with a verification digit.
ReceiverTypeRegimenEconomic activityCode and name of the activity or industry in which the legal entity operates.
CustomerVerifierDigitVerification digitThe verification digit of the "legal identifier."
ReceiverEmailEmailEmail that should be associated with the invoice.
ReceiverPhonenumberPhonePhone that should be associated with the invoice.

Errors

Error CodeMessage
16E016: "%s" Invalid Order ID (Invalid order ID)
Language