Patch

Assign Product Instance To Site


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Assigns a product instance to a site.

You must pass the ID of the Wix account that the product instance belongs to in the header of the call.

The customer immediately gains access to features included in the assigned service. It's up to the reseller to decide whether assigning a product instance affects the customer’s payment.

It's possible to assign a product instance that's already assigned to a site, to a different site without unassigning it first. But if the call fails in such a situation, the product instance may either remain assigned to the original site or become unassigned. You can confirm the instance's status by retrieving the relevant package.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Reseller Packages
Learn more about permission scopes.
Endpoint
PATCH
https://www.wixapis.com/resellers/v1/packages/product-instances/{instanceId}/{siteId}

Was this helpful?
Yes
No