Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Manage which sellers are eligible to sell a product.
curl -X POST 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/sellers' \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{"add": ["sel_01HXYZABCDEF"], "remove": ["sel_01HXYZABCDEG"]}'
const result = await client.admin.products.$id.sellers.mutate({ $id: "prod_01HXYZABCDEF", add: ["sel_01HXYZABCDEF"], remove: ["sel_01HXYZABCDEG"], })
{ "id": "prod_01HXYZABCDEF", "object": "product" }
product