Skip to content

How do I add additional data (such as a date or file) to an order using the front-end api, which can also be viewed by an admin? #235

Discussion options

You must be logged in to vote

@BramGerrits @leonkosterss you can also add custom fields to a model (data and content fields) and add permissions to access them via Frontend APIs (REST, Swell.js and GraphQL) - it is possible to add fields for read and write access (via input). See https://developers.swell.is/guides/opening-content-permissions for more info.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@BramGerrits
Comment options

@logeshswell
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by logeshswell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment