Loading...
Was this page helpful?
This documentation provides a reference to the restoreShippingMethods
method. This belongs to the Cart Module.
This method restores soft deleted shipping methods by their IDs.
ids
string[]returnLinkableKeys
property any of the shipping method's relation attribute names, such as tax_lines
.Promise
Promise<void | Record<TReturnableLinkableKeys, string[]>>tax_line_id
,
and its value is an array of strings, each being the ID of the record associated with the shipping method through this relation,
such as the IDs of associated tax lines.
If there are no related records restored, the promise resolves to void
.