CatalogProducts
Approve or reject seller products
Approves or rejects seller products in bulk. Rejected products stay unpublished with the reason attached.
POST
/v1/catalog/products/moderation/decideApproves or rejects seller products in bulk. Rejected products stay unpublished with the reason attached.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/catalog/products/moderation/decide" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "productIds": [ "example" ], "action": "approve", "reason": "Example note." }'{ "approved": 1, "rejected": 1}