Concepts
Attributes in the Zencargo platform are associated with many products, it is used add attributes to a product e.g. a product Blue T-Shirt could have an attribute called color.
They are typically created prior to creating or during the creation of a product.
Below is an overview of how attributes are stored in the Zencargo platform.
| Field Name | Description | Example Value |
|---|---|---|
| id | The id of the attribute, this is autogenerated by the zencargo platform during attribute creation | cfeeb6ee-91c4-46b1-9411-71185d359324 |
| name | The name of the attribute | Clothing |
| type | The type of the attribute, can be TEXT, DATE, NUMBER
|
TEXT |
Below is a json payload showing an example of an attribute.
{
"id": "73c513ce-c584-46e4-9c51-ddb7aba22575",
"name": "Clothing",
"type": "TEXT"
}
Next Steps
- Create Attribute - Learn how to create an attribute
- Query Attribute - Learn how to query an attribute
- Update Attribute - Learn how to update an attribute
- Delete Attribute - Learn how to delete an attribute
- Making your first call - If you're not sure how GraphQL works, start here.