Skip to main content
POST
Replace credit note metadata
API v2 is in beta. Endpoints return the X-Lago-Endpoint-Status: beta header.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

credit_note_id
string<uuid>
required

Credit note identifier.

Example:

"1a901a90-1a90-1a90-1a90-1a901a901a90"

Body

application/json

Request payload

metadata
object

Metadata keys and values. Omitted metadata defaults to an empty object. At most 50 keys are allowed. Keys are limited to 100 characters and values to 255 characters. Values must be strings or null.

Example:

Response

Successful response

Metadata response.

metadata
object | null
required

Metadata as an object of key-value pairs.