This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a gift card.
function getGiftCard(
code: string,
options: GetGiftCardOptions,
): Promise<GetGiftCardResponse>;
Gift card code.
Field options.
import { giftVouchers } from "@wix/ecom";
async function getGiftCard(code, options) {
const response = await giftVouchers.getGiftCard(code, options);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.