Get account's approval settings
This endpoint retrieves the current approval settings of a marketplace's Received SKUs module. Its response includes:
-
Score: Matcher scores for approving and rejecting SKUs received from sellers.
-
Matchers: All Matchers configured on the marketplace, and their respective details.
-
SpecificationsMapping: Mapping of product and SKU specifications, per seller.
-
MatchFlux: This field determines the type of approval configuration applied to SKUs received from a seller.
The possible values include:
-default, where the Matcher reviews the SKU, and approves it based on its score.
-manual, for manual approvals through the Received SKU UI, or Match API.
-autoApprove, for every SKU received from a given seller to be approved automatically, regardless of their Matcher Score.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise, they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| Channels | UI resources | Save suggestion rules |
| Suggestion | Suggestion resources | Main access |
There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint.
To learn more about machine authentication at VTEX, see Authentication overview.
❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.
Path parameters
Name of the VTEX account that belongs to the marketplace. All data extracted, and changes added will be posted into this account.
Headers
Describes the type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand
Response
OK