Home > @vsf-enterprise/sapcc-api > Endpoints > getProduct
Endpoints.getProduct() method
Returns details of a single product according to a product code. Gets product details.
Signature:
getProduct(context: SapccIntegrationContext, props: ProductGetProps): Promise<Product>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
| props | ProductGetProps | An object that contains properties for getting a product. |
Returns:
Promise<Product>