List a merchant's categories (public)
curl -X GET "https://test-api.kashier.io/v2/category/simple?merchantId=string"[ { "_id": "string", "name": "string", "description": "string", "merchantId": "string", "createdByUserId": "string", "createdAt": "string", "updatedAt": "string" }]Returns just the ids and names of a merchant's categories, with no pagination and no authentication. This is the lightweight read a storefront or a payment page uses to render a category picker, so it deliberately exposes nothing beyond the names.
Query Parameters
The merchant id the categories belong to, in MID- form. Required — a request without it comes back as "merchantId" is required. Example: YOUR_MID
Response Body
application/json
application/json
application/json
Update a category PUT
Renames an existing category. The products filed into it are left untouched.
Get the categories on a payment page (public) GET
Returns the categories used by the products on a published product payment page, looked up by the page's link identifier. Unauthenticated, because the payment page itself calls it while a customer…