admin-affiliate
Create a curated BOM product
Creates a bom_products record with active: true and url derived from rawUrl. A bare 10-character ASIN becomes a product URL on the country's Amazon marketplace (buildProductUrl); any other URL gets that marketplace's affiliate tag (applyRegionalTag). universal uses the de marketplace. Enum and URL validation is left to PocketBase, so violations surface as 500.
post/api/admin/bom-products
Request
- Base URL: https://voltplan.app
- URL: https://voltplan.app/api/admin/bom-products
- Auth: HTTP bearer
Request body
Response
Record created.
Changes
No recorded changes to this operation across all 1 revision of this API.