Poq.SDK.Node

Home > @poq/sdk-sfcc > CustomObjectsClient > getCustomObjectsByIDByID

CustomObjectsClient.getCustomObjectsByIDByID() method

Reads a custom object with a given object type ID and a value for the key attribute of the object which represents its unique identifier.

Signature:

getCustomObjectsByIDByID(objectType: string, key: string, options?: RequestOptions): Promise<PoqResponse<CustomObject>>;

Parameters

Parameter Type Description
objectType string the ID of the object type
key string the key attribute value of the custom object
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<CustomObject>>