Attributes Table Field Descriptions
The Attributes table displays a list of all previously created Attributes.Field | Description |
---|---|
Name | The attribute name assigned when creating the attribute. |
Section | The section within Orders that the attribute field will be used in. The options are Location, Order, Shipment, Invoice, Allocation, or Inventory. |
Data type | The data type associated with the attribute. For example, String, Boolean, Double, or Enum. |
Mandatory | Determines if the attribute is mandatory. Mandatory attributes must be provided when making API calls to the Section its assigned to. The value can be Yes or No. |
Creating Order Attributes
- In the left menu, click Orders > Configurations > Attributes. The Attributes page is displayed.
- Click Create Attribute. The Create Attribute page is displayed.
- In the Attribute name field, enter an attribute name.
- To make the attribute mandatory, select the Mandatory attribute field.
- (Optional) In the Description field, enter a description.
- In the Data type field, select a data type. For example, Integer or Boolean.
- In the Document field, select a document type. This field is used to map the attribute to the fabric API endpoint. For example, if you select inventory and the attribute is a mandatory attribute, you must provide this attribute and its value when making an API call to inventory.
- In the Object field, select an object. The object field is used to further classify where an attribute lives. For example, if you select the Order document type and shipInfo object. The attribute lives under the order.shipInfo object as the order.shipInfo.shopToType attribute.
- Click Save.
Editing an Attribute
- In the left menu, click Orders > Configurations > Attributes. The Attributes page is displayed.
- In the Name column of the attribute table, click an attribute. The Edit Attribute page is displayed. Note that you can only edit the Description and Object values.
- To save edits to the attribute, click Save. The edits are saved.
Deleting Attributes
- In the left menu, click Orders > Configurations > Attributes. The Attributes page is displayed.
- In the attribute table, hover over the attribute you wish to remove and click the delete icon. The Are you sure you want to delete this attribute? page is displayed.
- Click, Yes, Delete.