iotoms Docs

Get a size

GET
/api/v1/catalog/attributes/sizes/{id}

Returns one product size by its numeric id. The size object is the whole response body, not wrapped in the standard envelope; an unknown ID returns not found.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

*/*
  1. response
id?|

Numeric size ID; use it as sizeId on items.

Formatint64
name*string

Size name, unique across the catalog.

status*string

Size status, e.g. active.

modifiedTime*string

When the size was last changed (ISO 8601 timestamp).

Formatdate-time
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/sizes/0'
Example Response
{  "id": 0,  "name": "string",  "status": "string",  "modifiedTime": "2019-08-24T14:15:22Z"}