Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.34 KB

bulk-delete-location-custom-attributes-response.md

File metadata and controls

46 lines (37 loc) · 1.34 KB

Bulk Delete Location Custom Attributes Response

Represents a BulkDeleteLocationCustomAttributes response, which contains a map of responses that each corresponds to an individual delete request.

Structure

BulkDeleteLocationCustomAttributesResponse

Fields

Name Type Tags Description
values Record<string, BulkDeleteLocationCustomAttributesResponseLocationCustomAttributeDeleteResponse> Required A map of responses that correspond to individual delete requests. Each response has the
same key as the corresponding request.
errors Error[] | undefined Optional Any errors that occurred during the request.

Example (as JSON)

{
  "values": {
    "id1": {
      "errors": [],
      "location_id": "L0TBCBTB7P8RQ"
    },
    "id2": {
      "errors": [],
      "location_id": "L9XMD04V3STJX"
    },
    "id3": {
      "errors": [],
      "location_id": "L0TBCBTB7P8RQ"
    }
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}