Skip to main content

Relations Overview

RelationshipTypeDescription
Request → Member (Seller Module)Read-only - has oneA request is submitted by a seller member
Request → User (User Module)Read-only - has oneA request is reviewed by an admin user

Data Models

Request

This documentation provides a reference to the Request data model. It belongs to the Request Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the request.
typeTextPropertyThe type of the request. Can be product, product_collection, product_type, product_category, product_tag, or review_remove.
dataJSONPropertyThe request payload containing the proposed entity data.
submitter_idTextPropertyThe ID of the seller member who submitted the request.
reviewer_idTextPropertyThe ID of the admin user who reviewed the request.
reviewer_noteTextPropertyThe admin’s note explaining their decision.
statusEnumProperty<["draft", "pending", "accepted", "rejected"]>The status of the request. Defaults to pending.