List Custom Fields
Retrieve all custom fields for a product.Path Parameters
The unique identifier of the product
Response
Whether the request was successful
Array of custom field objects
Create Custom Field
Add a new custom field to a product.Path Parameters
The unique identifier of the product
Body Parameters
The name or label for the custom field. For
terms type fields, this should be a valid URL to your terms and conditions.The type of custom field. Options:
text- Single line text inputlong_text- Multi-line text areacheckbox- Checkbox inputterms- Terms acceptance (name must be a valid URL)file- File upload
Whether the field is required. Pass
"true" or "false" as a string.The
name parameter can also be passed as url or label for backwards compatibility.Response
Whether the request was successful
The created custom field object
Update Custom Field
Update the required status of a custom field.Path Parameters
The unique identifier of the product
The name of the custom field to update (not the ID)
Body Parameters
Whether the field is required. Pass
"true" or "false" as a string.Response
Whether the request was successful
The updated custom field object
Delete Custom Field
Remove a custom field from a product.Path Parameters
The unique identifier of the product
The name of the custom field to delete (not the ID)
Response
Whether the request was successful
Error Codes
400
Bad Request - Missing required parameters or invalid custom field name
401
Unauthorized - Invalid or missing access token
403
Forbidden - Insufficient permissions (requires
edit_products scope)404
Not Found - Product or custom field not found