Skip to main content
Version: Node SDK

Get One

Returns the details of a single product.

Code Sample

import { Salable } from '@salable/node-sdk';

const salable = new Salable('{{API_KEY}}', 'v2');

const product = await salable.products.getOne('3fe29048-28bf-461c-8498-c42c3572359c');

Parameters

productUuid (required)

Type: string

The UUID of the Product to be returned


options

Type: GetProductOptions

OptionTypeDescriptionRequired
expandstring[]Specify which properties to expand. e.g. { expand: ['features', 'plans'] }

Return Type

For more information about this request see our API documentation on Product Object