Create product
documentedCreate a new product (Entries product) in DAM
POST /v2/productsDAMno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
Note: This command targets the Acquia DAM API v2 endpoint for creating a product. Base URL is https://api.acquia.com/v2, and the endpoint used is POST /v2/products. Authentication is via OAuth2 Bearer token (and API key header optionally). See official Acquia DAM API v2 docs for exact schema and required fields.
npx -y keychains@latest curl 'https://api.acquia.com/v2/products' \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Api-Key: {{ACQUIA_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "sku": "{{$sku}}", "description": "{{$description}}", "channel_id": "{{$channel_id}}", "product_type_id": "{{$product_type_id}}", "attributes": [ {"attribute_id": "{{$attribute_id}}", "value": "{{$attribute_value}}"} ], "category": "{{$category}}"}'