Skip to main content
PUT
Update LabelGrid delivery settings

Description

other addon setting (including the whole fuga block). At least one field is required. Rejects any credential-shaped key (token, bearerToken, apiKey, accessToken, secret, webhookSecret, and snake_case variants) with a 400 — this endpoint writes plaintext JSONB, and silently dropping a token would leave the caller believing it had been saved. Use PUT /ddex/labelgrid/credentials for the token/webhook secret. Setting enabled: true requires a LabelGrid API token to already be stored; otherwise the request is rejected with a 400 rather than arming a delivery path with no credential. Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

All fields optional; at least one must be provided.

enabled
boolean
environment
enum<string>
Available options:
production,
sandbox
accountStatus
enum<string>
Available options:
not_provisioned,
requested,
provisioned
accountRef
string | null
Maximum string length: 255
autoDelivery
boolean
autoDistribute
boolean
notifyOnStatusChange
boolean

Response

Success

status
string
Example:

"success"

message
string
Example:

"LabelGrid settings updated"

data
object