Home > @poq/sdk-sfcc > ICustomObjectsClient > getCustomObjectsByIDByID
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>>;
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>>