Attributes
Attach / Update an Attribute
To Create an attribute you must leave the id field empty. To Update you must specify the ID field. RecordID refers to the object that the attribute will be attached to. Supported entities: 'customer', 'customer group', 'address'. Name cannot have spaces and is limited to 50 characters. One database record must not have multiple attributes with the same name. 3 types are available - int, double, text. Based on the type the value should be number of text.
put/v1/attributes
Request
- Base URL(relative, and it does not resolve against the document’s source URL)
- Auth
- API key in header sessionKey
- or API key in header clientCode
- or API key in header jwt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entity": "customer group",
"name": "is_good",
"record_id": 7,
"type": "int"
}Response
Created
Example response
{
"id": 73
}Changes
No recorded changes to this operation across all 1 revision of this API.