Model woocommerce_orders
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | | x | | |
| all | | | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| createdAt | Date | | | | | | |
| customer_id | Number | | | | x | | |
| customer_ip_address | String | | | | | | |
| customer_user_agent | String | | | | | | |
| date_completed | Date | | | | | | |
| date_created | Date | | | | | | |
| date_modified | Date | | | | | | |
| date_paid | Date | | | | | | |
| id | Number | | | | x | | |
| order_key | String | | | | | | |
| payment_method | String | | | | | | |
| product_name | String | | | | | | |
| products | Array of Mixed | | | [Function] | | | |
| total | Number | | | | | | |
| updatedAt | Date | | | | | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}customer_id
{
"path": "customer_id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}customer_ip_address
{
"path": "customer_ip_address",
"instance": "String",
"options": {},
"validators": []
}customer_user_agent
{
"path": "customer_user_agent",
"instance": "String",
"options": {},
"validators": []
}date_completed
{
"path": "date_completed",
"instance": "Date",
"options": {},
"validators": []
}date_created
{
"path": "date_created",
"instance": "Date",
"options": {},
"validators": []
}date_modified
{
"path": "date_modified",
"instance": "Date",
"options": {},
"validators": []
}date_paid
{
"path": "date_paid",
"instance": "Date",
"options": {},
"validators": []
}id
{
"path": "id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}order_key
{
"path": "order_key",
"instance": "String",
"options": {},
"validators": []
}payment_method
{
"path": "payment_method",
"instance": "String",
"options": {},
"validators": []
}product_name
{
"path": "product_name",
"instance": "String",
"options": {},
"validators": []
}products
{
"path": "products",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}total
{
"path": "total",
"instance": "Number",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}