Skip to main content
PUT
Set a member's credit limit

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Headers

x-magnific-team-id
string<uuid>

Personal token only: the team the call acts on (its UUID). The caller must be an active member of it. Without it, the team in the token is used; with neither, the call is team_required (400). Ignored for an API key, which always acts on its own team.

Path Parameters

member_id
string
required

A member of your team, as GET /team/members lists it.

Pattern: ^usr_[0-9a-f]{16}$

Body

application/json
credit_limit
object
required

A credit limit. The same object is sent to set it and comes back after setting it.

Example:

Response

The credit limit applied.

data
object
required
Example: