Extended order and order item attributes

You can use the order command or the REST interface to add, update, or get extended attributes.

Use the extended order attribute to add a custom field to an order. Use the extended order item attribute to add a custom field to an order item.
Note: Do not use the attribute name field1, field2, or field3 for your customization. These names are reserved.
Use the order command or the REST interface to
  • Add extended attributes
  • Update extended attributes
  • Get extended attributes
Add only extended attribute parameters on the REST request or command besides the original parameters. An example that uses order command and REST interface is as follows
  • Order command: Call the OrderItemAddCmd command to add the order item extended attribute by adding the extended attribute parameter in the requestParameter
  • REST interface: Call the update_order_item REST interface to update order item extended attribute by sending the correct attribute parameter according to the rest template configuration file.