OrderInput
No description
input OrderInput {
businessSlug: String!
facilitySlug: String!
orderNumber: String
direction: OrderDirection!
orderType: String
purchaseOrder: String
requestedShipDate: String
requestedDeliveryDate: String
shipperName: String
shipperAddress: AddressInput
shipperEmail: String
consigneeName: String
consigneePhoneNumber: String
carrier: String
carrierService: String
bolNumber: String
sealNumber: String
items: [OrderItemInput!]!
shipmentId: Int
expectedQuantity: Int
clientName: String
appendItems: Boolean
updateByLineId: Boolean
isASN: Boolean
}
Fields
OrderInput.businessSlug ● String! non-null scalar
OrderInput.facilitySlug ● String! non-null scalar
OrderInput.orderNumber ● String scalar
The unique identifier for this Order. It can be provided and used by customer to identify the specific order. This orderNumber is usually the same as customer's internal order number.
OrderInput.direction ● OrderDirection! non-null enum
OrderInput.orderType ● String scalar
OrderInput.purchaseOrder ● String scalar
OrderInput.requestedShipDate ● String scalar
OrderInput.requestedDeliveryDate ● String scalar
OrderInput.shipperName ● String scalar
OrderInput.shipperAddress ● AddressInput input
OrderInput.shipperEmail ● String scalar
OrderInput.consigneeName ● String scalar
OrderInput.consigneePhoneNumber ● String scalar
OrderInput.carrier ● String scalar
OrderInput.carrierService ● String scalar
OrderInput.bolNumber ● String scalar
OrderInput.sealNumber ● String scalar
OrderInput.items ● [OrderItemInput!]! non-null input
OrderInput.shipmentId ● Int scalar
OrderInput.expectedQuantity ● Int scalar
OrderInput.clientName ● String scalar
OrderInput.appendItems ● Boolean scalar
If true, this mutation will append items to an existing order. This is similar to the AddItemsToOrder mutation, but not equivalent. There are three key differences:
- It will overwrite any of the order's fields that are provided
- This mutation match to an order based on orderNumber
- This mutation will create an order if one does not exist
OrderInput.updateByLineId ● Boolean scalar
Wayne Sanderson Farms (WSF) only. Items are matched to existing order items by description (the WSF line number). LPN + SKU + description identify an order item, so an existing item is only updated when every populated component agrees; blank LPN/SKU act as wildcards (e.g. assigning an LPN to a placeholder line). Items that do not match any existing item will be created as new items.
OrderInput.isASN ● Boolean scalar
If true, indicates this order object has been created from an ASN.
Member Of
createOrder mutation ● createOrUpdateOrder mutation