Get a color
GET
Returns one product color by its numeric ID. The response is the bare object, without the standard {status, message, data} envelope; an unknown ID returns an error.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64OK
*/*- response
id?|Color ID. Set by the server; use it in the URL of Get, Update and Delete a color.
Format
int64name*stringColor name shown on items, e.g. "Navy". Required, and must be unique across the merchant's colors.
status*stringFree-text status for the color. Defaults to "active".
modifiedTime*stringWhen the color was last changed, ISO 8601. Defaults to the current time if not sent.
Format
date-timeExample Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/colors/0'Example Response
{ "id": 0, "name": "string", "status": "string", "modifiedTime": "2019-08-24T14:15:22Z"}