Kittens - Backend Documentation 1.0 Help

Sell Cat

POST method/api/v1/cats/{uid}/sell

Sell one of your cats. Requires authorization

Request parameters

{ "price": 4200 }

Responses

{ "price": 4200, "vat": 924 }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "Unauthorized", "status": 401, "reason": "Unauthorized" }
{ "error": "User account is not verified", "status": 403 }
{ "error": "Not found", "status": 404, "reason": "Requested path could not be found" }
{ "error": "Server Error", "status": 500, "exception": "Baz given, expected Foo or Bar", "trace": "example", "thrownIn": "\App\Foo\Bar\Baz()", "file": "example", "line": 58, "severity": "example" }
Last modified: 26 January 2025