LocationCustomAttributes
BulkDeleteLocationCustomAttributes
Deletes custom attributes for locations as a bulk operation. To delete a custom attribute owned by another application, the visibility setting must be VISIBILITY_READ_WRITE_VALUES.
post/v2/locations/custom-attributes/bulk-delete
Request body
Example request
{
"values": {
"id1": {
"key": "bestseller",
"location_id": "L0TBCBTB7P8RQ"
},
"id2": {
"key": "bestseller",
"location_id": "L9XMD04V3STJX"
},
"id3": {
"key": "phone-number",
"location_id": "L0TBCBTB7P8RQ"
}
}
}Response
Success
Example response
{
"values": {
"id1": {
"errors": [],
"location_id": "L0TBCBTB7P8RQ"
},
"id2": {
"errors": [],
"location_id": "L9XMD04V3STJX"
},
"id3": {
"errors": [],
"location_id": "L0TBCBTB7P8RQ"
}
}
}