Create product
documentedCreate a new product.
POST /api/V2/ProductProductno 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)
npx -y keychains@latest curl "https://api.eposnowhq.com/api/V2/Product" \
-X POST \
-H "Authorization: Basic {{EPOSNOWHQ_API_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Code": "{{$code}}", "Name": "{{$name}}", "Description": "{{$description}}", "Price": {{$price}}, "Cost": {{$cost}}, "TaxRateId": {{$taxRateId}}, "BrandId": {{$brandId}}, "CategoryId": {{$categoryId}}, "PopupNoteId": {{$popupNoteId}}}'"}
## Variables
[
{"name": "code", "label": "Product code", "placeholder": "PRD-001", "type": "text", "exampleValue": "PRD-001"},
{"name": "name", "label": "Product name", "placeholder": "Product name", "type": "text", "exampleValue": "Deluxe Widget"},
{"name": "description", "label": "Description", "placeholder": "Product description", "type": "text", "exampleValue": "A premium widget"},
{"name": "price", "label": "Selling price", "placeholder": "19.99", "type": "number", "exampleValue": "19.99"},
{"name": "cost", "label": "Cost", "placeholder": "9.50", "type": "number", "exampleValue": "9.50"},
{"name": "taxRateId", "label": "Tax rate ID", "placeholder": "1", "type": "number", "exampleValue": "1"},
{"name": "brandId", "label": "Brand ID", "placeholder": "2", "type": "number", "exampleValue": "2"},
{"name": "categoryId", "label": "Category ID", "placeholder": "3", "type": "number", "exampleValue": "3"},
{"name": "popupNoteId", "label": "Popup Note ID", "placeholder": "0", "type": "number", "exampleValue": "0"},
{"name": "EPOSNOWHQ_API_ACCESS_TOKEN", "label": "API access token (Base64 of Key:Secret)", "placeholder": "Base64(API_KEY:API_SECRET)", "type": "text", "exampleValue": "dG9rZW4mZXh0"}
]
Notes:
- Endpoint and method: POST https://api.eposnowhq.com/api/V2/Product as documented by Epos Now (Product creation via API V2). ([developer.eposnowhq.com](https://developer.eposnowhq.com/Docs/Api?endpoint=Product))
- The V2 Product endpoint is flagged as DEPRECATED in favor of V4, so consider using API V4 for new integrations. ([developer.eposnowhq.com](https://developer.eposnowhq.com/Docs/Api?endpoint=Product))
- Authentication uses HTTP Basic with a base64-encoded API Key:Secret string provided in the Authorization header. See the Authentication docs for details. ([developer.eposnowhq.com](https://developer.eposnowhq.com/Docs/Authentication?utm_source=openai))
- The API typically expects JSON payloads and proper Content-Type headers. ([developer.eposnowhq.com](https://developer.eposnowhq.com/Docs/Authentication?utm_source=openai))
If you want me to tailor the payload to your exact Epos Now setup (e.g., include or omit TaxRate/Brand/Category fields based on your account), tell me which attributes you use and I’ll adjust the body and variables accordingly.