Skip to main content

Delete Business Metafield

API operation: Open the endpoint in Scalar

Use DELETE /business/{business_id}/metafields/{metafield_id} to delete a metafield from a business. The operation documented here is BusinessMetafield.delete.

The documented schema requires administrator or business-manager authentication. For business-manager access, verify that the metafield belongs to the specified business before deletion. Deletion is destructive.

See Extra attributes (Metafields) for shared concepts.

OpenAPI reference​

Operation: DELETE /business/{business_id}/metafields/{metafield_id}

Path parameters

NameTypeRequiredDescription
business_idintegerYes—
metafield_idintegerYes—

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference