Skip to main content

Delete Address Metafield

API operation: Open the endpoint in Scalar

Use DELETE /users/{user_id}/addresses/{address_id}/metafields/{metafield_id} to delete a metafield from a user's address. The operation documented here is AddressMetafield.delete.

The documented schema requires authentication. A non-administrator can act only when user_id identifies the authenticated user, and the deletion targets the specified address_id and metafield_id. Deletion is destructive, so verify the full identifier chain before use.

See List address metafields for the related collection.

OpenAPI reference​

Operation: DELETE /users/{user_id}/addresses/{address_id}/metafields/{metafield_id}

Path parameters

NameTypeRequiredDescription
user_idintegerYes—
address_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