Model woocommerce_memberships
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 | | |
| cancelled_date | Date | | | | | | |
| createdAt | Date | | | | | | |
| customer_id | Number | | | | x | | |
| date_created | Date | | | | | | |
| date_modified | Date | | | | | | |
| end_date | Date | | | | | | |
| id | Number | | | | x | | |
| order | Mixed | | | | | | |
| paused_date | Date | | | | | | |
| paused_intervals | Array of Mixed | | | [Function] | | | |
| product | Mixed | | | | | | |
| start_date | Date | | | | | | |
| status | String | | | | | | |
| 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": []
}cancelled_date
{
"path": "cancelled_date",
"instance": "Date",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}customer_id
{
"path": "customer_id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}date_created
{
"path": "date_created",
"instance": "Date",
"options": {},
"validators": []
}date_modified
{
"path": "date_modified",
"instance": "Date",
"options": {},
"validators": []
}end_date
{
"path": "end_date",
"instance": "Date",
"options": {},
"validators": []
}id
{
"path": "id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}order
{
"path": "order",
"instance": "Mixed",
"options": {},
"validators": []
}paused_date
{
"path": "paused_date",
"instance": "Date",
"options": {},
"validators": []
}paused_intervals
{
"path": "paused_intervals",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}product
{
"path": "product",
"instance": "Mixed",
"options": {},
"validators": []
}start_date
{
"path": "start_date",
"instance": "Date",
"options": {},
"validators": []
}status
{
"path": "status",
"instance": "String",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}