Creating Custom Attributes for an Order.

 To create an attribute for an order, first go to the meta data page located in the developer section. Click Order from the options at the top of the screen and then click "Add Order Meta Data".

order-meta-date

Select a title for your attribute. For an example, I'll create an attribute for logging order referral type on orders. I'll title my attribute "How'd you hear about us". 

"Code" is just a reference point for doing API calls. You do not need to change this, but you can if you'd like. 

Next select your data type. We offer 11 different data types. Because referrals are often created by a few different sources, I'll use a single select check box (radio). 

Decide whether or not you want your attribute to be a required field. 

Finally you can set the sort order. The sort order determines the order your order attributes will appear in on a order page. 

 

order-meta-date 2

Click "Add Order Meta Data" when you're finished building your attribute.

Now You can go over to an order page to test out your attribute.
Order attributes will not appear on the front end. Only on the backend admin panel.