Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.41 KB

bulk-upsert-customer-custom-attributes-request.md

File metadata and controls

47 lines (38 loc) · 1.41 KB

Bulk Upsert Customer Custom Attributes Request

Represents a BulkUpsertCustomerCustomAttributes request.

Structure

Bulk Upsert Customer Custom Attributes Request

Fields

Name Type Tags Description
values Hash String Bulk Upsert Customer Custom Attributes Request Customer Custom Attribute Upsert Request Hash Required A map containing 1 to 25 individual upsert requests. For each request, provide an
arbitrary ID that is unique for this BulkUpsertCustomerCustomAttributes request and the
information needed to create or update a custom attribute.

Example (as JSON)

{
  "values": {
    "key0": {
      "customer_id": "customer_id8",
      "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"
        }
      },
      "idempotency_key": "idempotency_key6"
    }
  }
}