Skip to main content

GET /requests/v1/types/{mpid}

Returns the supported supplier process types for Requests search.

Request​

Method and path:

  • GET /requests/v1/types/{mpid}

Headers:

  • X-API-KEY or Authorization: Bearer <token> (one required). API key takes precedence when both are supplied.

Path parameters:

  • mpid (required): string supplier MPID, validated against the authenticated supplier context.

Request body:

  • None.

Response​

Success:

  • 200 OK
  • Body type: array of SupplierProcessTypeOption objects.
[
{
"value": "change-of-supplier",
"label": "Change of Supplier Process"
}
]

Notes:

  • Only process types supported by the Requests response mapper are included.
  • Results are ordered by description, then process type name.
  • value is the request_type filter value for Requests search.
  • If no supported process type records exist, the API returns 200 with an empty array.

Auth/tenant errors:

  • 401 when credentials are invalid or the tenant's supplier MPID does not match mpid.
  • 403 when the credentials have no supplier association and cannot access mpid.

Field-level constraints: