{ "sections": [ "title", "description", "fields", "usage", "wsdl_segment", "field_reference" ], "title": "OrderShare - Data API", "description": "Represents a sharing entry on an Order. This object is available in API version 48.0 and later.", "fields_columns": [ "type", "properties", "description", "relationship_name", "relationship_type", "refers_to" ], "fields": { "OrderAccessLevel": { "type": "picklist", "properties": "Filter, Group, Restricted picklist, Sort", "description": "Level of access that the user or group has to the order. Possible values are: All—Owner. This value isn’t valid when creating, updating, or deleting records. Edit—Read/Write Read—Read Only" }, "OrderId": { "type": "reference", "properties": "Filter, Group, Sort", "description": "ID of the order associated with this sharing entry. This field can't be updated. This is a relationship field.", "relationship_name": "Order", "relationship_type": "Lookup", "refers_to": "Order" }, "RowCause": { "type": "picklist", "properties": "Filter, Group, Nillable, Restricted picklist, Sort", "description": "Reason that this sharing entry exists. If you’re creating a sharing entry, the only permitted value is Manual. If no value is specified, the field defaults to Manual. All other RowCause values are read-only. After the sharing entry is created, this field can’t be edited." }, "UserOrGroupId": { "type": "reference", "properties": "Filter, Group, Sort", "description": "ID of the user or group that has been given access to the order. This field can't be updated. This is a polymorphic relationship field.", "relationship_name": "UserOrGroup", "relationship_type": "Lookup", "refers_to": "Group, User" } }, "usage": "This object allows you to determine which users and groups can view or edit orders owned by other users. If you attempt to create a record that matches an existing record, any modified fields are updated, the system returns the existing record.\n\nThis object allows you to determine which users and groups can view or edit orders owned by other users.\n\nIf you attempt to create a record that matches an existing record, any modified fields are updated, the system returns the existing record.", "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```", "field_reference": { "Id": { "field_label": "Order Share ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "OrderAccessLevel": { "field_label": "Order Access Level", "type": "picklist", "length": "40" }, "OrderId": { "field_label": "Order ID", "type": "reference", "length": "18" }, "RowCause": { "field_label": "Apex Sharing Reason ID", "type": "picklist", "length": "40" }, "UserOrGroupId": { "field_label": "User/Group ID", "type": "reference", "length": "18" } }, "field_reference_columns": [ "field_label", "type", "length" ] }