Update Attribute

SecurityOAuth2
Request
path Parameters
attribute-id
required
string
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Request Body schema: application/json
optional
attribute_name
required
string
allowed_values
required
Array of strings
attribute_type
required
string
Enum: "STRING" "NUMBER" "ENUM" "BOOLEAN" "MAP"
attribute_entity_type
string
Enum: "SHIPMENT" "ADDRESS" "PRODUCT"
merchants
Array of strings
Responses
200
put/attributes/{attribute-id}
Request samples
application/json
{
  • "attribute_name": "string",
  • "allowed_values": [
    ],
  • "attribute_type": "STRING",
  • "attribute_entity_type": "SHIPMENT",
  • "merchants": [
    ]
}
Response samples
application/json
{
  • "custom_attribute_id": "string",
  • "attribute_name": "string",
  • "allowed_values": [
    ],
  • "attribute_type": "STRING",
  • "attribute_entity_type": "SHIPMENT",
  • "merchants": [
    ]
}