OmsMetaData
Configuration data from Order Management (OMS) that the storefront requires to render cancel and return experiences.
Properties
| Name | Type | Description |
|---|---|---|
| cancelReasonCodes | array | The reason codes available for cancelling an order. The server applies the reason marked with `default` when no reason is supplied on the cancel request. |
| returnReasonCodes | array | The reason codes available for returning order items. The server applies the reason marked with `default` when no reason is supplied on a returned item. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-oms-meta-data-schema.json",
"title": "OmsMetaData",
"description": "Configuration data from Order Management (OMS) that the storefront requires to render cancel and return experiences.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/salesforce-commerce-cloud-shopper-orders-api-openapi.yml#/components/schemas/OmsMetaData",
"type": "object",
"additionalProperties": false,
"required": [
"cancelReasonCodes",
"returnReasonCodes"
],
"properties": {
"cancelReasonCodes": {
"description": "The reason codes available for cancelling an order. The server applies the reason marked with `default` when no reason is supplied on the cancel request.",
"type": "array",
"items": {
"$ref": "#/$defs/OmsReasonCode"
}
},
"returnReasonCodes": {
"description": "The reason codes available for returning order items. The server applies the reason marked with `default` when no reason is supplied on a returned item.",
"type": "array",
"items": {
"$ref": "#/$defs/OmsReasonCode"
}
}
},
"$defs": {
"OmsReasonCode": {
"description": "A single reason code configured in Order Management (OMS).",
"type": "object",
"additionalProperties": false,
"required": [
"reason",
"default"
],
"properties": {
"reason": {
"description": "The reason value as configured in OMS.",
"type": "string",
"maxLength": 256
},
"default": {
"description": "Whether this reason is the default that the server uses when no reason is supplied on a cancel or return request.",
"type": "boolean"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-oms-meta-data"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.