Sign in

Create product

documented

Create a new product (multipart form for attachments when uploading files).

POST /api/v1/productsProductsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{SENDOWL_API_KEY}}:{{SENDOWL_SECRET}}@api.sendowl.com/api/v1/products" \
  -X POST \
  -H "Accept: application/json" \
  -F "product[name]={{$name}}" \
  -F "product[product_type]={{$product_type}}" \
  -F "product[price]={{$price}}" \
  -F "product[description]={{$description}}" \
  -F "product[category]={{$category}}" \
  -F "product[attachment]=@{{$attachment_path}}"