Products
Update a store-wide custom field (product fields linked to it update too)
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
fieldId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/stores/string/custom-fields/string" \ -H "Content-Type: application/json" \ -d '{ "label": "string", "type": "text" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "label": "string", "type": "text", "placeholder": "string", "hint": "string", "defaultValue": "string", "required": true, "regex": "string", "options": [ "string" ], "createdAt": "string"}