ReferenceProducts
Create a product
A product is a catalog entry with no price of its own. Prices are attached separately and are append-only, so repricing means adding a price and deactivating the old one.
Authorization
apiKey AuthorizationBearer <token>
A Hashira API key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/products" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "isActive": true, "createdAt": "2019-08-24T14:15:22Z"}List products GET
`limit` defaults to 50. `q` matches against the product name. Results are ordered newest first. Pass the previous response's `nextCursor` as `cursor` to page.
List customers GET
`limit` defaults to 50. `q` matches against the customer name. Results are ordered newest first. Pass the previous response's `nextCursor` as `cursor` to page.