Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissioncreate:productname and price are requiredcategoryID, when provided, must refer to a category accepted by the store service502{
"name": "Premium Voucher",
"description": "<p>Premium access.</p>",
"price": 100,
"type": "voucher",
"categoryID": "650906d314a3e564c56f3450"
}curl --location --request POST 'https://api.returning.ai/v1/products' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 201
},
"message": "Create product success.",
"data": {
"_id": "507f1f77bcf86cd799439031",
"communityID": "6502c9e514a3e564c5c09c0a",
"name": "Premium Voucher",
"description": "<p>Premium access.</p>",
"image": "https://example.com/product.png",
"price": 100,
"type": "voucher",
"categoryID": "650906d314a3e564c56f3450",
"isArchived": false,
"displayOrder": 0,
"createdAt": "2026-04-28T00:00:00.000Z",
"updatedAt": "2026-04-28T00:00:00.000Z"
}
}