The Wix eCommerce Memberships Service Plugin allows you to integrate with Wix as a membership provider. This means you can enable customers to purchase various goods using memberships issued by your service. By integrating your service with Wix, you can facilitate key membership operations such as membership retrieval, charging, and voiding membership transactions. These operations are seamlessly integrated into the site's checkout page, enhancing the overall customer experience.
With the Memberships SPI, you can:
Name | Type | Description |
---|---|---|
deploymentUri | string | Required. Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the List Eligible Memberships endpoint at https://my-memberships.com/v1/list-eligible-memberships , the base URI you provide here is https://my-emberships.com/ . |
Configuration setup: When a site owner installs and authorizes your app to provide gift card operations, Wix will send a JSON Web Token (JWT) with an instance ID to your deployment URI + endpoint path. The app should collect the JWT, decode it, and store the resulting instance ID.
For example, the token in this request:
Decodes into: