This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a site's receipt settings, or creates them if none exist.
function updateReceiptsSettings(
receiptsSettings: ReceiptsSettings,
): Promise<ReceiptsSettings>;
Receipt settings to update. Partial update is supported, but if no receipt settings entity exists, the full entity must be specified.
import { receiptsSettings } from "@wix/get-paid";
async function updateReceiptsSettings(receiptsSettings) {
const response =
await receiptsSettings.updateReceiptsSettings(receiptsSettings);
}
There are 5 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.