API ReferenceGeneratedYour data

Update a record by its uid

Update a record by its uid

PATCH
/{appUid}/autocrud/payments/{rowUid}

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization for API

In: header

Path Parameters

rowUid*string

The payments row's uid (an app's is its app_uid). A numeric id names nothing.

Formatuuid
appUid*string

Your app's unique id. Find it in the console under the app's Settings, or in the URL of any app page.

Formatuuid

Header Parameters

Idempotency-Key?string

Optional. Send a unique key (e.g. a UUID) to make this write retry-safe: the operation runs once and retries with the same key return the cached response (24h) instead of creating a duplicate. Reusing a key with a different body returns 409.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/autocrud/payments/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "amount": 0.1,  "cleared_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "currency": "string",  "deleted_at": "2019-08-24T14:15:22Z",  "invoice_uid": "5530ed56-4fc5-4528-b011-912a768e9f23",  "method": "string",  "payment_ref": "string",  "scheduled_for": "2019-08-24T14:15:22Z",  "status": "string",  "updated_at": "2019-08-24T14:15:22Z",  "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5"}