Purple SCM API Documentation
Machine-readable OpenAPI 3.0 specification: https://marketplace.moveworks.com/api/purple-suite/scm/openapi.json
The consolidated all-apps document at https://marketplace.moveworks.com/api/purple-suite/openapi.json can be narrowed to this app with ?apps=scm, or combined with other apps comma-separated (e.g. ?apps=scm,itsm).
Overview
Endpoints
GET /api/purple-suite/scm/suppliers
List suppliers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
SupplieridstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/scm/suppliers
Onboard supplier
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
Supplier
idstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonSupplieridstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
GET /api/purple-suite/scm/suppliers/{id}
Get supplier
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonSupplieridstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/scm/suppliers/{id}
Delete supplier
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/scm/suppliers/{id}
Update supplier
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
Supplier
idstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonSupplieridstringnamestringstatusstringcategorystringcountrystringratingintegeronboardedAtstringcreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/scm/contracts
List supplier contracts
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
ContractidstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/scm/contracts
Create supplier contract
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
Contract
idstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonContractidstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
GET /api/purple-suite/scm/contracts/{id}
Get supplier contract
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonContractidstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/scm/contracts/{id}
Delete supplier contract
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/scm/contracts/{id}
Update supplier contract
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
Contract
idstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonContractidstringsupplierIdstringtitlestringstatusstringvaluenumberstartDatestringendDatestringautoRenewbooleancreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/scm/shipments
List inbound shipments
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
ShipmentidstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/scm/shipments
Create shipment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
Shipment
idstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonShipmentidstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
GET /api/purple-suite/scm/shipments/{id}
Get shipment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonShipmentidstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/scm/shipments/{id}
Delete shipment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/scm/shipments/{id}
Update shipment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
Shipment
idstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonShipmentidstringsupplierIdstringstatusstringcarrierstringtrackingNumberstringoriginstringdestinationstringestimatedDeliverystringcreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/scm/purchase_orders
List supply-chain purchase orders
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
PurchaseOrderidstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/scm/purchase_orders
Create purchase order
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
PurchaseOrder
idstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonPurchaseOrderidstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
GET /api/purple-suite/scm/purchase_orders/{id}
Get purchase order
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonPurchaseOrderidstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/scm/purchase_orders/{id}
Delete purchase order
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/scm/purchase_orders/{id}
Update purchase order
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
PurchaseOrder
idstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonPurchaseOrderidstringsupplierIdstringstatusstringtotalAmountnumberlineItemsintegerdeliveryDatestringcreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/scm/quality_lots
List quality inspection lots
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
limit | query | integer | no | Legacy page size (default 50). Prefer $top. Ignored when $top/$skip are used. |
cursor | query | string | no | Legacy keyset cursor — pass the previous response's nextCursor. Prefer $skip/$top. |
$filter | query | string | no | OData filter expression. Comparison operators: eq, ne, gt, ge, lt, le. Logical: and, or, not, with parentheses for grouping. String functions: contains(field,'x'), startswith(field,'x'), endswith(field,'x'). Membership: field in ('a','b'). Case-insensitive matching via tolower(field) / toupper(field). Nested fields use a slash, e.g. pto_balance/vacation_days. String literals use single quotes; dates are ISO-8601. Examples: "status eq 'active'"; "salary gt 50000 and department eq 'Engineering'"; "contains(tolower(name),'acme')"; "closeDate gt 2026-01-01". |
$select | query | string | no | Comma-separated list of fields to return, e.g. "id,firstName,email". Nested fields via slash ("pto_balance/vacation_days"). The id field is always included. |
$orderby | query | string | no | Sort clause(s), comma-separated, each "field [asc|desc]" (asc is the default). Example: "createdAt desc, lastName asc". Null values sort last. |
$search | query | string | no | Free-text, case-insensitive substring match across the resource's searchable fields. |
$top | query | integer | no | Maximum number of items to return (page size). |
$skip | query | integer | no | Number of matching items to skip before returning results (offset paging). Combine with $top. |
$count | query | boolean | no | When true, include @odata.count (total matches after $filter/$search, before paging) in the response. |
Responses
200- Paginated list
application/jsondataarrayarray of:
QualityLotidstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
nextCursorstring — Cursor for the next page, or null on the last page. With $top/$skip this is the next $skip value; otherwise a keyset cursor.totalinteger — Total documents in the collection.@odata.countinteger — Present only when $count=true: total matches after $filter/$search.@odata.truncatedboolean — Present and true only when the collection exceeded the in-memory query cap and results may be incomplete.
400- Invalid OData query (e.g. malformed $filter)
POST /api/purple-suite/scm/quality_lots
Create quality lot
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes |
Request body
application/json — required
QualityLot
idstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
Responses
201- Created
application/jsonQualityLotidstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
GET /api/purple-suite/scm/quality_lots/{id}
Get quality lot
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Found
application/jsonQualityLotidstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
404- Not found
DELETE /api/purple-suite/scm/quality_lots/{id}
Delete quality lot
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Responses
200- Deleted
application/jsonsuccessboolean
404- Not found
PATCH /api/purple-suite/scm/quality_lots/{id}
Update quality lot
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Instance-ID | header | string | yes | |
id | path | string | yes |
Request body
application/json
QualityLot
idstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
Responses
200- Updated
application/jsonQualityLotidstringsupplierIdstringitemSkustringquantityintegerstatusstringdefectRatenumberinspectedBystringreceivedAtstringcreatedAtstringupdatedAtstring
404- Not found
GET /api/purple-suite/scm/openapi.json
Get OpenAPI spec
Responses
200- OpenAPI spec
application/jsonobject