Delete Business Offer Metafield
API operation: Open the endpoint in Scalar
Use DELETE /business/{business_id}/offers/{offer_id}/metafields/{metafield_id} to delete one metafield from a business offer. The operation documented here is OfferMetafield.delete.
Parameter:
{metafield_id}identifies the metafield to delete from the specified offer.
The documented schema requires administrator or business-manager authentication. Before deletion, verify that the metafield belongs to the specified offer and business and that you have access to the business. Deletion is destructive; confirm all three identifiers.
See List business offer metafields.
OpenAPI reference
Operation: DELETE /business/{business_id}/offers/{offer_id}/metafields/{metafield_id}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
business_id | integer | Yes | — |
offer_id | integer | Yes | — |
metafield_id | integer | Yes | — |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |