curl --request POST \
--url https://api.retailreadyai.com/api/v1/orders/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"po_number": "some-po-number",
"picksheet_code": "some-picksheet-code",
"brand_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
"retailer_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
"facility_id": "14e517b3-5091-4748-8a25-c497aec2ce9z",
"items": [
{
"sku": "pillow-sku",
"upc": "pillow-upc",
"quantity": 5,
"case_pack_quantity": 5,
"case_barcode": "pillow-case-upc",
"vendor_pn": "vendor-part-number",
"description": "soft pillows"
}
],
"address_data": {
"ship_from_contact": {
"name": "<string>",
"address_line1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"address_line2": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
},
"ship_to_contact": {
"name": "<string>",
"address_line1": "<string>",
"city": "<string>",
"province": "<string>",
"country": "<string>",
"zip": "<string>",
"address_line2": "<string>",
"facility_code": "<string>",
"dc_number": "<string>"
},
"bill_to_contact": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"province": "<string>",
"country": "<string>",
"zip": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
},
"mark_for_contact": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
}
},
"external_order_id": "some-external-order-id",
"dept_number": "123456",
"purchase_order_type": "Test Department",
"transportation_method": "FREIGHT",
"carrier": "Fedex Freight",
"service_method": "ups_ground",
"dates": {
"requested_delivery_date": "2024-08-15",
"earliest_delivery_date": "2024-08-10",
"latest_delivery_date": "2024-08-20",
"earliest_ship_date": "2024-08-05",
"latest_ship_date": "2024-08-12",
"cancel_by_date": "2024-08-25",
"requested_ship_date": "2024-08-08",
"stage_by": "2024-08-01"
}
}
'{
"message": "Order created successfully",
"data": {
"order_id": "14e517b3-5091-4748-8a25-c497aec2ce98"
}
}Create a new order
curl --request POST \
--url https://api.retailreadyai.com/api/v1/orders/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"po_number": "some-po-number",
"picksheet_code": "some-picksheet-code",
"brand_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
"retailer_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
"facility_id": "14e517b3-5091-4748-8a25-c497aec2ce9z",
"items": [
{
"sku": "pillow-sku",
"upc": "pillow-upc",
"quantity": 5,
"case_pack_quantity": 5,
"case_barcode": "pillow-case-upc",
"vendor_pn": "vendor-part-number",
"description": "soft pillows"
}
],
"address_data": {
"ship_from_contact": {
"name": "<string>",
"address_line1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"address_line2": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
},
"ship_to_contact": {
"name": "<string>",
"address_line1": "<string>",
"city": "<string>",
"province": "<string>",
"country": "<string>",
"zip": "<string>",
"address_line2": "<string>",
"facility_code": "<string>",
"dc_number": "<string>"
},
"bill_to_contact": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"province": "<string>",
"country": "<string>",
"zip": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
},
"mark_for_contact": {
"name": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"facility_code": "<string>",
"address_number": "<string>"
}
},
"external_order_id": "some-external-order-id",
"dept_number": "123456",
"purchase_order_type": "Test Department",
"transportation_method": "FREIGHT",
"carrier": "Fedex Freight",
"service_method": "ups_ground",
"dates": {
"requested_delivery_date": "2024-08-15",
"earliest_delivery_date": "2024-08-10",
"latest_delivery_date": "2024-08-20",
"earliest_ship_date": "2024-08-05",
"latest_ship_date": "2024-08-12",
"cancel_by_date": "2024-08-25",
"requested_ship_date": "2024-08-08",
"stage_by": "2024-08-01"
}
}
'{
"message": "Order created successfully",
"data": {
"order_id": "14e517b3-5091-4748-8a25-c497aec2ce98"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Purchase order number
"some-po-number"
Picksheet Code/Warehouse Order Number
"some-picksheet-code"
UUID of the brand
"14e517b3-5091-4748-8a25-c497aec2ce98"
UUID of the retailer
"14e517b3-5091-4748-8a25-c497aec2ce98"
UUID of the facility
"14e517b3-5091-4748-8a25-c497aec2ce9z"
Show child attributes
Stock Keeping Unit
"pillow-sku"
Universal Product Code
"pillow-upc"
Quantity of items
5
Number of items per case
5
Barcode for the case
"pillow-case-upc"
Vendor part number. Required for Dillard's, Target, ULTA, and DICK's Sporting Goods.
"vendor-part-number"
Product description
"soft pillows"
Show child attributes
Show child attributes
Contact Name
Street Address
City Name
State
Country
Postal Code
Address Line 2
Facility Code
Address Number.
Show child attributes
Contact Name
Street Address
City Name
Province
Country
Postal Code
Address Line 2. Required for Dillard's.
Facility Code
DC number. Required for Chewy's, Vitamin Shoppe, Tractor Supply Co., CVS, UNFI, ULTA, Nordstrom, Walmart, TJX, Saks Fifth Avenue Store, Saks.com, SaksOffFifth.com, Saks Off Fifth Store, Von Maur, DICK's Sporting Goods, Macy's, and Dillards.
Required for Bloomingdales, Macy's Store, and Macy's.com
Show child attributes
Contact Name. Required for Bloomingdales, Macy's Store, and Macy's.com
Street Address. Required for Bloomingdales, Macy's Store, and Macy's.com
Address Line 2
City Name. Required for Bloomingdales, Macy's Store, and Macy's.com
Province. Required for Bloomingdales, Macy's Store, and Macy's.com
Country. Required for Macy's Store and Macy's.com
Postal Code. Required for Bloomingdales, Macy's Store, and Macy's.com
Facility Code
Address Number
Required for Saks Fifth Avenue Store, Saks.com, SaksOffFifth.com, Saks Off Fifth Store, Bloomingdales, and Dillards.
Show child attributes
Contact Name
Street Address
Address Line 2
City Name
State
Country
Postal Code
Facility Code
Address Number. Required for Saks Fifth Avenue Store, Saks.com, SaksOffFifth.com, Saks Off Fifth Store, Bloomingdales, and Dillards.
External Order ID
"some-external-order-id"
Department number. Required for Nordstrom, Walmart, TJX, Von Maur, DICK's Sporting Goods, Macy's, Dillard's, and Bloomingdales.
"123456"
Type of purchase order. Required for Walmart, TJX, SaksOffFifth.com, Saks Off Fifth Store, DICK's Sporting Goods, Macy's Store, Macy's.com, and Bloomingdales
"Test Department"
Method of transportation
"FREIGHT"
Carrier
"Fedex Freight"
Service Method
ups_ground, fedex_ground Show child attributes
"2024-08-15"
"2024-08-10"
"2024-08-20"
Required for TJX and Ross.
"2024-08-05"
Required for Dillard's and Ross.
"2024-08-12"
"2024-08-25"
"2024-08-08"
"2024-08-01"