Create an order
Method : POST
https://admin.vucustom.com/api/:api_version/ordersRequest Body Schema (Order)
currency
string
Yes
Unique identifier for the sold-to account
custom_attributes
object
No
Key-value pairs of custom data. this can be empty
note
string
No
Order notes. this can be empty
order_date
string
Yes
ISO 8601 datetime
order_number
string
Yes
Unique order identifier
purchase_order_number
string
No
PO reference number. this can be empty
ship_method_carrier
string
Yes
Carrier code
ship_method_code
string
Yes
Service level code
ship_method_description
string
Yes
Service description
sales_channel
string
Yes
Channel type (b2b/b2c)
tags
array
No
Order tags
order_lines
array
Yes
Order line items
ship_to
object
Yes
Shipping details
sold_to
object
Yes
Billing details
b2b
object
Yes
B2B specific information. required only for b2b
Request Body Schema (Order lines)
custom_attributes
object
No
Line item custom data
customer_requested_date
string
No
Requested delivery date
factory_code
string
No
Manufacturing facility code
line_reference
string
No
External reference
price
Integer
yes
Unit price
product_description
string
Yes
Product description
quantity
Integer
Yes
Order quantity
recipe_token
string
Yes
Customization reference
sku
string
Yes
Product SKU
tags
array
No
Line item tags. this array an be empty
upc
string
No
Product UPC
Request Body Schema (ship_to) and (sold_to)
account_number
string
Yes
Unique identifier for the sold-to account
address_1
string
Yes
Primary address line
address_2
string
No
Secondary address line, can be empty
city
string
Yes
City name
company_name
string
No
Business or company name, can be empty
country
string
Yes
Two-letter country code (ISO 3166-1 alpha-2)
first_name
string
Yes
Customer's first name
last_name
string
Yes
Customer's last name
phone
string
No
Phone number with optional formatting
postal_code
string
Yes
Postal/ZIP code
state_region
string
Yes
State/province/region code
200 Successful response example
401 Unauthorized
The client doesn’t have correct authentication credentials.
422 Unprocessable Entity
5xx Errors
An internal error occurred in VU Admin.
Last updated