Skip to Content

Crea ordine

Panoramica


L'API Ordini consente di creare e inviare ordini direttamente a Waldom. Questa API è progettata per integrarsi perfettamente nel tuo ERP o sito web esistente, facilitando l'elaborazione efficiente degli ordini.

Importante: prima di creare un ordine, è necessario avere un profilo di checkout salvato nel proprio account aziendale. Ciò garantisce che tutti i dettagli necessari per l'elaborazione dell'ordine siano già disponibili.

Caratteri accettabili: la nostra API accetta solo input contenenti caratteri inglesi standard, in particolare lettere dalla A alla Z sia in maiuscolo che in minuscolo. Gli input non devono contenere segni diacritici o caratteri speciali,

Parametri di richiesta

ParameterDescriptionRequired
buyer emailThe email address of the customer to be associated to the sales orderyes
purchase order number
The customer order unique alphanumeric identifier. yes
on hold
On hold orders will not be processed untill they are released, allowed values: true,false. Blank is equivalent to false.  
shipping methodCheck available shipping methods for possible values. If your account is setup with a default shipping method and this field is blank; the default shipping method will be selected. Shipping methods availability depends on the order shipping country.yes
shipping account No
Blank if not shipping with freight account number 
other shipping carrier
Blank if shipping with listed carriers 
invoice CC email
  
invoice CC email 2
  
notify when shipped
To receive email notification when order is shipped 
ADM use
Is any product specifically earmarked for Aerospace, Defense, or Marine (ADM) end use 
backorder option
1=order complete   2=line complete   3=split   leav 0 for default  
shippingAddressThe shipping address for the orderyes
shippingAddress.companyThe company name to be used for the ship-to addressyes
shippingAddress.countryTwoletterISOCodeThe two character country code to be used for the ship-to address (e.g. US)yes
shippingAddress.stateProvinceAbbreviationThe state or province to be used for the ultimate destination addressyes
shippingAddress.cityThe city to be used for the ship-to addressyes
shippingAddress.address1The first address to be used for the ship-to addressyes
shippingAddress.address2The second address to be used for the ship-to address 
shippingAddress.zipPostalCodeThe postal code to be used for the ship-to addressyes
shippingAddress.attentionThe Attention to be used for the ship-to address 
paymentMethodThe payment method to pay for the order. Login to see payment methods possible values.yes
order commentComment of the currently selected order 
shipping comments
Shipping comments  
EndCustomerNumber
End customer numberyes*
EndCustomerOrderNumber
End customer order numberyes*
EndCustomerPoNumber
End customer purchase order numberyes*
EndCustomerCurrency
End customer currencyyes*
orderItem yes
orderItem.productIdThe unique identifier for the order line itemyes
orderItem.lineNumberThe line number of the itemyes
orderItem.partNumber  
orderItem.manufacturerName  
orderItem.priceThe product unit price 
orderItem.cutomerPartNumberThe customer custom part number 
orderItem.endCustomerCostThe cost of item for end customeryes*
orderItem.orderItemSchedules
  
orderItem.orderItemSchedules.scheduleQuantity
The number of items purchasedyes
orderItem.orderItemSchedules.requestedShipDate
Requested date to shipyes
orderItem.orderItemSchedules.requestedDeliveryDate
Requested date to deliveryes
orderItem.orderItemSchedules.scheduleLineNumber
sequence number 

*Only required if order is a blind fulfilment order


Metodi di spedizione disponibili


 Service Code
Add to InvoiceUPS STANDARD, UPS Trade Direct Standard, UPS Trade Direct Express
Freight AccountCargo Compass, DB SCHENKER, DHL Economy, DHL Express 12.00, DHL Express 9.00, DHL Express Worldwide, DHL Standard, FedEx Express, FEDEX INT'L ECONOMY, FEDEX INT'L PRIORITY, FREIGHT, GEODIS WILSON, GLS, Panalpina, TNT Economy, TNT ECONOMY EXPRESS, TNT Express 12.00, TNT Express 9.00, UPS Air Freight Consolidated, UPS Air Freight Direct, UPS Expedited, UPS EXPRESS, UPS GROUND, UPS STANDARD, UPS Worldwide EXPRESS FREIGHT, UPS WORLDWIDE EXPRESS SAVER, UPS Trade Direct Standard, UPS Trade Direct ExpressWill Call/Pickup, Ziegler, Other

Potenziali messaggi di errore

Di seguito è riportato un elenco di messaggi di errore che potrebbero essere ricevuti a seguito di un errore nella richiesta API o del mancato completamento di uno dei prerequisiti interni di Waldom.

Description
Invalid buyer email
Billing address missing in account
Shipping address is required
Invalid Shipping address country ISO code
Invalid Shipping address state province abbreviation
Invalid shipping method
Only freight account is allowed for shipping method.
Invalid payment method
one order item is required
Invalid Product
Invalid Product quantity

Crea ordine  Passa alla sandbox