getCoupon( )


Retrieves a coupon by ID.

について getCoupon() function returns a Promise that resolves when the specified coupon is retrieved.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Coupons
Manage Stores - all permissions
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
_idstringRequired

ID of the coupon to retrieve.

リターン
Return Type:Promise<Coupon>
役に立ちましたか?
はい
いいえ