v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
MerchantCustomAttributes

BulkDeleteMerchantCustomAttributes

Deletes custom attributes for a merchant as a bulk operation. To delete a custom attribute owned by another application, the visibility setting must be VISIBILITY_READ_WRITE_VALUES.

post/v2/merchants/custom-attributes/bulk-delete

Request body

valuesobject required

The data used to update the CustomAttribute objects. The keys must be unique and are used to map to the corresponding response.

Example request

{
  "values": {
    "id1": {
      "key": "alternative_seller_name",
      "merchant_id": "DM7VKY8Q63GNP"
    },
    "id2": {
      "key": "has_seen_tutorial",
      "merchant_id": "DM7VKY8Q63GNP"
    }
  }
}

Response

Success

valuesobject required

A map of responses that correspond to individual delete requests. Each response has the same key as the corresponding request.

Example response

{
  "values": {
    "id1": {
      "errors": [],
      "merchant_id": "DM7VKY8Q63GNP"
    },
    "id2": {
      "errors": [],
      "merchant_id": "DM7VKY8Q63GNP"
    }
  }
}