- Updates a category by its ID
Retrieves a list of categories
Creates a new category
Deletes a category by its ID
Updates a category by its...
PUT {{baseURL}}/pay-int-api/categories/{{categoryId}}
This endpoint updates or edits category information.
The category name must be unique in the merchant account.
Security
Bearer
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/categories/{categoryId}
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/categories/{categoryId}
- Production environmenthttps://api.flute.com/pay-int-api/categories/{categoryId}
curl -i -X PUT \
https://developer.flute.com/_mock/api-reference/pay-int-api/categories/7891b7c8-9d0e-4f1a-2b3c-4d5e6f7a8b14 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-version: string' \
-d '{
"name": "Direct Sales",
"defaultUnitTypeId": 2
}'