Skip to main content

validateMarker

Check the existence of a textual identifier (marker).

Description

This method checks the existence of a textual identifier (marker). It takes a marker parameter as input, representing the product marker to validate. It returns a Promise that resolves to true if the textual identifier (marker) exists or false if it doesn't.

ProductStatuses.validateMarker(

marker*

);

Parameters schema

Schema

marker:* string
Product marker
example: marker

Examples

Minimal example

const response = await ProductStatuses.validateMarker('marker');

Example response

true