Outbound Orders

Inbound Orders are the ones with goods that will be added to your stock, they can be regular Outbound Orders (Operation 1), Stock Adjustment (Unavailable) Orders (Operation 6) or Stock Adjustment Orders (Operation 8).

Orders can be created through our Orders endpoint, the request should look something like this:

[
  {
    "relationalOrderCode": "4657812",
    "relationalLogisticOperationId": "171", 
    "subOperation": "FOOD", 
    "relationalEntityId": "5413", 
    "operation": 1, 
    "typing": "2022-03-28T19:46:59.376Z",
    "whoTyped": "John Doe",
    "orderItems": [
      {
        "relatedProductId": "5487",
        "quantity": 10,
        "itemNumber": 1,
      }
    ]
  }
]

These are the mandatory fields to create an Order, you can see all fields below.

All Fields

NameDescriptionReq.Default value
relationalOrderCodeDocument Id in origin system.Yes
relationalLogisticOperationIdLogistics Operation Id in origin system.Yes
operation2 for regular Inbound Orders and 7 for LeftOvers.Yes
subOperationOrder's suboperation, can be any value, e.g. Purchase, Transfer.Yes
reasonSubOperationReason for suboperation, can be any value.No
relationalEntityIdCustomer or Logistics Operation Id in origin system depending if it's a LeftOvers Order or not.Yes
typingCreation date in origin system.Yes
whoTypedWho created the Order, can be any value.Yes
orderOriginOrder's Origin, can be any value.NoCan be configured in WMS
relationalCarrierCodeCarrier Id in origin systemNo
orderObservationNotes on Order, can be any value.No
relationalTitleCodeInvoice Id in origin system.No
invoiceNumberInvoice Number (Brazil Only).No
invoiceSeriesInvoice Series (Brazil Only).No
orderItemsOrder Items, see here.Yes
relationalRecipientCodeRecipient Id in origin system.No
deliveryAddressTypeIdDelivery address type, e.g. Resiential, Commercial.No
deliveryDistrictDelivery address district.No
deliveryZipCodeDelivery address ZipCode.No
deliveryAddressDelivery street address.No
deliveryAddressComplementDelivery street address complement.No
deliveryCityDelivery address city.No
deliveryStateAcronymDelivery state acronym, e.g. RJ.No
deliveryDaysEstimated delivery in days.No
receiverThe recipient.No
documentuserA identifier of the recipient.No
documentObservationThe recipient document type, can be any value, e.g. ID.No
receiverphoneThe recipient phone number.No
deliveryOrderNoteA note to the packing list.No
formOfPaymentPayment method, e.g. Card, Cash.No
dueDateExpected shipment date.No
deadlineMaximum delivery date.No
urgentOrder1 If the order has priority on picking, 0 if not.No
printInvoiceTrue if the invoice should be printed in WMS.Nofalse
descriptionShiftDeliveryCan be any value, used to group and prioritize.No
descriptionRegionDeliveryCan be any value, used to group and prioritize.No
channelCan be any value, used to group and prioritize.No
deliveryRouteDelivery route.No
obsPreGradeNote to be printed within the picking list.No.

Order Items

NameDescriptionReq.Default value
relatedProductIdProduct Id in origin system.Yes
quantityProduct Quantity.Yes
itemNumberItem number in inbound document.Yes
itemNoteNotes on Item within the inbound document.No
minimumValidityMinimum validity in days.No
variableQuantityVariable quantity.No
standardMeasureDefault measure.No
itemInventoryNoteNotes on Item to check during the inbound.No
orderItemVolumeLotsExpected batch during inbound, see here.No

Batch volumes

NameDescriptionReq.Default
originLotLot to sort.Yes
quantityLot quantity.Yes
validityOriginLot expiration date.Yes
manufacturingDateManufacturing date.No
itemLotNoteLot notes, can be any value.No
relatedOriginClassificationLot Classification Id in origin system.No
variableQuantityProduct variable quantity.No

For more information about the required properties please refer to our API Reference here .