Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 1.85 KB

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

File metadata and controls

65 lines (56 loc) · 1.85 KB

Bulk Delete Order Custom Attributes Response

Represents a response from deleting one or more order custom attributes.

Structure

BulkDeleteOrderCustomAttributesResponse

Fields

Name Type Tags Description Getter
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()
Values Map<String, DeleteOrderCustomAttributeResponse> Required A map of responses that correspond to individual delete requests. Each response has the same ID
as the corresponding request and contains either a custom_attribute or an errors field.
Map<String, DeleteOrderCustomAttributeResponse> getValues()

Example (as JSON)

{
  "values": {
    "cover-count": {
      "errors": [
        {
          "category": "MERCHANT_SUBSCRIPTION_ERROR",
          "code": "INVALID_EXPIRATION",
          "detail": "detail6",
          "field": "field4"
        },
        {
          "category": "MERCHANT_SUBSCRIPTION_ERROR",
          "code": "INVALID_EXPIRATION",
          "detail": "detail6",
          "field": "field4"
        }
      ]
    },
    "table-number": {
      "errors": [
        {
          "category": "MERCHANT_SUBSCRIPTION_ERROR",
          "code": "INVALID_EXPIRATION",
          "detail": "detail6",
          "field": "field4"
        },
        {
          "category": "MERCHANT_SUBSCRIPTION_ERROR",
          "code": "INVALID_EXPIRATION",
          "detail": "detail6",
          "field": "field4"
        }
      ]
    }
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}