Assets

Assets Management

Get jewellery-assets

get

Get list of jewellery-assets with pagination. Filters and sorting can be applied.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
limitinteger · min: 10 · max: 100Required

No of of records to fetch.

Default: 20
offsetintegerRequired

Records to be fetched from this offset.

Default: 0
order_bystring · enumOptional

Sort records by field

Default: asset_noPossible values:
order_typestring · enumOptional

Order type - asc or desc.

Default: descPossible values:
Responses
chevron-right
200

OK

application/json
get
/assets

Get a jewellery-asset

get

Get a jewellery-asset details by id

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

ID of the asset to fetch

Responses
chevron-right
200

OK

application/json
get
/assets/{id}

Update a jewellery-asset

put

Update a jewellery-asset details by id.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

ID of the asset to update

Body

Request schema for updating an asset

asset_namestring · max: 32Required

Name of the asset (unique). Allowed characters are alphabets, numbers, hyphen and underscore.

tagsstring[]Optional

Tags associated with the asset. Tag names should be registered at the settings section of your account.

Responses
chevron-right
200

Asset updated successfully

application/json
put
/assets/{id}

Last updated