Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 1.73 KB

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

File metadata and controls

65 lines (56 loc) · 1.73 KB

Bulk Delete Order Custom Attributes Response

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

Structure

Bulk Delete Order Custom Attributes Response

Fields

Name Type Tags Description
errors Array<Error Hash> Optional Any errors that occurred during the request.
values Hash String Delete Order Custom Attribute Response Hash 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.

Example (as JSON)

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