Skip to content

Depot distributors public

Registers the public distributor routes.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

POST /api/v1/public/distributors/{vendor}/webhook/{pathToken}

Section titled “POST /api/v1/public/distributors/{vendor}/webhook/{pathToken}”

POSTNo permission neededpublic facehosteditmspInbound hook

Source: [object Object]

distributorWebhook verifies and stores a distributor’s push notification.

NameInTypeRequiredDescription
pathTokenpathstringYes
vendorpathstringYes
StatusBodyDescription
200application/json, objectSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsThe notification could not be verified.
404application/problem+json, ProblemDetailsNo resource matches.
413application/problem+json, ProblemDetailsThe notification is too large.
429application/problem+json, ProblemDetailsToo many requests. Try again in a minute.
500application/problem+json, ProblemDetailsThe request failed.
503application/problem+json, ProblemDetailsThis Depot cannot take distributor notifications yet.
Terminal window
# This operation is public. It takes no credentials.
curl -X POST 'https://depot.example.com/api/v1/public/distributors/<vendor>/webhook/<pathToken>' \
-H 'Accept: application/json'

POST /api/v1/public/punchout/{token}/return

Section titled “POST /api/v1/public/punchout/{token}/return”

POSTNo permission neededpublic facehosteditmspToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

punchoutReturn turns the PunchOutOrderMessage the browser posts into a draft purchase order and sends the browser to it (303).

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsNo resource matches that id.
429application/problem+json, ProblemDetailsToo many requests. Try again in a minute.
Terminal window
# This operation is public. It takes no credentials.
curl -X POST 'https://depot.example.com/api/v1/public/punchout/<token>/return' \
-H 'Accept: application/json'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.