POST

Create Custom Field Application


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a custom field application.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Members
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/members/v1/custom-fields-applications

Body Params
applicationApplicationRequired

Custom field application details.

Response Object
applicationApplication

The created custom field application.

Create a custom field application
Request
cURL
curl -X POST \ https://www.wixapis.com/members/v1/members/custom-fields-applications \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Authorization: <AUTH>' -d '{ "application": { "customFieldId": "4e4b1840-3833-4dbd-93d1-b2c9a33caa7d", "applications": { "items": [ { "applicationType": "MEMBER", "entityId": "ca1f9c6a-78f3-4b37-b977-951793410042" } ] }, "revision": 1 } }'
Response
JSON
{ "application": { "customFieldId": "4e4b1840-3833-4dbd-93d1-b2c9a33caa7d", "customFieldKey": "custom.favorite-animal", "applications": { "items": [ { "applicationType": "MEMBER", "entityId": "ca1f9c6a-78f3-4b37-b977-951793410042" } ] }, "revision": "1", "exclusions": null } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?