Loading...
Was this page helpful?
This documentation provides a reference to the restorePromotions
method. This belongs to the Promotion Module.
This method restores soft deleted promotions by their IDs.
promotionIds
string | string[]returnLinkableKeys
property any of the promotion's relation attribute names, such as application_method_id
.Promise
Promise<void | Record<string, string[]>>application_method_id
,
and its value is an array of strings, each being the ID of the record associated with the promotion through this relation,
such as the IDs of associated application method.
If there are no related records restored, the promise resolves to void
.