Settings

Embed
Preview of the card
<a href="https://shippified.net/docs/ref-settings"><img src="https://shippified.net/docs/_api/public/orgs/5b8789b1-481a-41f5-8e5a-5f30d11f5151/spaces/ae0c5af4-cc84-4899-9078-2faf8e7a6fc5/pages/f86d864b-eb9b-41b5-a5e4-2948bd6fa15a/social-card.svg?v=4bd9898cfc89" alt="Settings" width="600" height="315"></a>
POST https://shippified.net/api/settings

Update workspace intake settings.

Partial update — omitted fields keep their values. outputWebhook is the fallback webhook every newly parsed order is re-posted to when its bot has no output webhook of its own; updatesWebhook receives shipped / delivered / updated events. Both must be public URLs (private and internal addresses are refused). When forwardOn is sent, any flag left out is set to true. Daily-digest settings live at PATCH /api/discord/settings.

Request body

application/json
outputWebhook
string
Empty string clears it.
updatesWebhook
string
Empty string clears it.
forwardOn
object
{
  "outputWebhook": "string",
  "updatesWebhook": "string",
  "forwardOn": {
    "placed": true,
    "shipped": true,
    "delivered": true,
    "updated": true
  }
}

Code samples

cURL
curl -X POST "https://shippified.net/api/settings" \
  -H "Content-Type: application/json" \
  -d '{"outputWebhook":"string","updatesWebhook":"string","forwardOn":{"placed":true,"shipped":true,"delivered":true,"updated":true}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated. Returns the full workspace snapshot (same shape as GET /api/state).
{}
400 A webhook URL was refused, e.g. it points at a private address.
{
  "error": "string"
}
401 Not authenticated.
Updated