Skip to content

Latest commit

 

History

History
64 lines (55 loc) · 1.82 KB

bulk-upsert-merchant-custom-attributes-response-merchant-custom-attribute-upsert-response.md

File metadata and controls

64 lines (55 loc) · 1.82 KB

Bulk Upsert Merchant Custom Attributes Response Merchant Custom Attribute Upsert Response

Represents a response for an individual upsert request in a BulkUpsertMerchantCustomAttributes operation.

Structure

Bulk Upsert Merchant Custom Attributes Response Merchant Custom Attribute Upsert Response

Fields

Name Type Tags Description
merchant_id str Optional The ID of the merchant associated with the custom attribute.
custom_attribute Custom Attribute Optional A custom attribute value. Each custom attribute value has a corresponding
CustomAttributeDefinition object.
errors List Error Optional Any errors that occurred while processing the individual request.

Example (as JSON)

{
  "merchant_id": "merchant_id0",
  "custom_attribute": {
    "key": "key2",
    "value": {
      "key1": "val1",
      "key2": "val2"
    },
    "version": 102,
    "visibility": "VISIBILITY_READ_ONLY",
    "definition": {
      "key": "key0",
      "schema": {
        "key1": "val1",
        "key2": "val2"
      },
      "name": "name0",
      "description": "description0",
      "visibility": "VISIBILITY_HIDDEN"
    }
  },
  "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"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}