Options - Old API (Please use new API if possible)
Create option
Requires the METAPROPERTYMANAGEMENT or METAMANAGEMENT security role.
Note: when the name you provide differs from the option's label, Bynder automatically assigns that name value as the option's externalReference. Explicitly setting externalReference to null or an empty string does not prevent this. To store a specific external reference, pass the desired value in the externalReference field.
post/api/v4/metaproperties/{id}/options
Request
- Base URLhttps://{your-bynder-domain}
- URLhttps://{your-bynder-domain}/api/v4/metaproperties/{id}/options
- Auth
- OAuth 2Authorization code: https://{your-auth-url}Client credentialsToken URL: https://{your-bynder-domain}/v6/authentication/oauth2/token scopes: METAPROPERTYMANAGEMENT, METAMANAGEMENT
- or API key in header Authorization
Path parameters
idstring required
Example:00000000-0000-0000-0000000000000000
Request body application/x-www-form-urlencoded
Example request
{
"data": "{\"name\": \"BlueType\", \"externalReference\": \"Reference number 1\", \"label\": \"Blue\", \"labels\": {\"fr_FR\": \"foo\", \"en_US\": \"foo\"}, \"zindex\": 4, \"isSelectable\": true, \"parentId\": \"00000000-0000-0000-0000000000000000\", \"options\": [{\"name\": \"BlueType\", \"label\": \"Blue\", \"labels\": {\"fr_FR\": \"foo\", \"en_US\": \"foo\"}, \"zindex\": 4, \"isSelectable\": true, \"parentId\": \"00000000-0000-0000-0000000000000000\"}]}"
}Response
Created
Example response
{
"id": "00000000-0000-0000-0000000000000000",
"message": "Created",
"statuscode": 201
}Changes
No recorded changes to this operation across all 1 revision of this API.