Delete a product field
delete/api/v1/products/fields/{fieldId}This API is used to delete an existing field from a product module. The deleted field will no longer be available when adding or editing records in the BoldSales application.
Code snippet
curl -X 'DELETE' \
'https://{yourdomain}/api/v1/products/fields/{fieldId}' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}'
Path parameters
| fieldIdintegerRequired | The unique identifier of the field to be deleted. |
Example response
200 Success
{
"message": "Field deleted successfully."
}