Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.28 KB

create-merchant-custom-attribute-definition-request.md

File metadata and controls

34 lines (25 loc) · 1.28 KB

Create Merchant Custom Attribute Definition Request

Represents a CreateMerchantCustomAttributeDefinition request.

Structure

Create Merchant Custom Attribute Definition Request

Fields

Name Type Tags Description
custom_attribute_definition Custom Attribute Definition Required Represents a definition for custom attribute values. A custom attribute definition
specifies the key, visibility, schema, and other properties for a custom attribute.
idempotency_key str Optional A unique identifier for this request, used to ensure idempotency. For more information,
see Idempotency.
Constraints: Maximum Length: 45

Example (as JSON)

{
  "custom_attribute_definition": {
    "description": "This is the other name this merchant goes by.",
    "key": "alternative_seller_name",
    "name": "Alternative Merchant Name",
    "schema": {
      "key1": "val1",
      "key2": "val2"
    },
    "visibility": "VISIBILITY_READ_ONLY"
  },
  "idempotency_key": "idempotency_key6"
}