Orders for companies with Gelato enabled that are on the status of received will be sent to Gelato every hour. The following data will be sent out for each order:
$ curl -X POST \
https://order.gelatoapis.com/v3/orders \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: {{apiKey}}' \
-d '{
"orderReferenceId": "{{myOrderId}}",
"customerReferenceId": "{{myCustomerId}}",
"currency": "USD",
"shipmentMethodUid": "express",
"shippingAddress": {
"country": "US",
"companyName": "Example",
"firstName": "Paul",
"lastName": "Smith",
"addressLine1": "451 Clarkson Ave",
"addressLine2": "Brooklyn",
"state": "NY",
"city": "New York",
"postŠ”ode": "11203",
"email": "apisupport@gelato.com",
"phone": "123456789"
},
"items": [
{
"itemReferenceId": "{{myItemId1}}",
"productUid": "cards_pf_bx_pt_110-lb-cover-uncoated_cl_4-4_hor",
"quantity": 100
},
{
"itemReferenceId": "{{myItemId2}}",
"productUid": "cards_pf_5r_pt_100-lb-cover-coated-silk_cl_4-4_hor",
"quantity": 30
}
]
}'