OmsStatusEventRequest

A single OMS-originated status event for an order. Exactly one of fulfillmentEvent or adjustment must be present.

CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware

Properties

Name Type Description
omsOrderId string Optional external OMS identifier. Echoed back in forwarded order event payloads.
fulfillmentEvent object
adjustment object
View JSON Schema on GitHub

JSON Schema

salesforce-commerce-cloud-oms-status-event-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-oms-status-event-request-schema.json",
  "title": "OmsStatusEventRequest",
  "description": "A single OMS-originated status event for an order. Exactly one of fulfillmentEvent or\nadjustment must be present.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-orders-api-openapi.yml#/components/schemas/OmsStatusEventRequest",
  "additionalProperties": false,
  "properties": {
    "omsOrderId": {
      "minLength": 1,
      "maxLength": 256,
      "description": "Optional external OMS identifier. Echoed back in forwarded order event payloads.",
      "type": "string"
    },
    "fulfillmentEvent": {
      "$ref": "#/$defs/OmsFulfillmentEvent"
    },
    "adjustment": {
      "$ref": "#/$defs/OmsAdjustment"
    }
  },
  "type": "object",
  "oneOf": [
    {
      "required": [
        "fulfillmentEvent"
      ]
    },
    {
      "required": [
        "adjustment"
      ]
    }
  ],
  "$defs": {
    "OmsAdjustment": {
      "description": "A post-order adjustment reported by an external OMS (for example, refund, return, cancellation).",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "type": {
          "description": "Adjustment type (open string, for example, refund, return, credit, cancellation).",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "occurredAt": {
          "type": "string",
          "format": "date-time"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "completed",
            "failed"
          ]
        },
        "lineItems": {
          "type": "array",
          "maxItems": 200,
          "items": {
            "$ref": "#/$defs/OmsAdjustmentLineItem"
          }
        },
        "totals": {
          "type": "array",
          "maxItems": 200,
          "items": {
            "$ref": "#/$defs/OmsAdjustmentTotal"
          }
        },
        "description": {
          "description": "Free-form note about the adjustment provided by the OMS. Shown to support agents and forwarded to order event subscribers.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "type": "object",
      "required": [
        "id",
        "type",
        "occurredAt",
        "status"
      ]
    },
    "OmsAdjustmentLineItem": {
      "description": "A reference to an order line item affected by an adjustment, with a signed quantity (negative for reductions/returns).",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "quantity": {
          "description": "Signed quantity; negative for reductions or returns.",
          "type": "integer"
        }
      },
      "type": "object",
      "required": [
        "id",
        "quantity"
      ]
    },
    "OmsAdjustmentTotal": {
      "description": "A signed monetary total for an adjustment, broken down by cost category, in minor currency units (for example, cents for EUR or USD; decimal places follow the order's currency).",
      "additionalProperties": false,
      "properties": {
        "type": {
          "description": "Cost category. Well-known values: subtotal, items_discount, discount, fulfillment, tax, fee, total. Additional values are permitted.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "amount": {
          "description": "Signed amount in minor currency units (for example, cents for EUR or USD); the number of decimal places follows the order's currency. Negative for money returned to the buyer.",
          "type": "integer"
        },
        "displayText": {
          "description": "Text describing the adjustment total for display.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "type": "object",
      "required": [
        "type",
        "amount"
      ]
    },
    "OmsFulfillmentEvent": {
      "description": "A fulfillment event reported by an external OMS (for example, shipped, delivered, canceled).",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "occurredAt": {
          "description": "RFC 3339 timestamp when the event occurred.",
          "type": "string",
          "format": "date-time"
        },
        "type": {
          "description": "Fulfillment event type. Common values: processing, shipped, in_transit, delivered, failed_attempt, canceled, undeliverable, returned_to_sender. Additional values are permitted.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "lineItems": {
          "type": "array",
          "minItems": 1,
          "maxItems": 200,
          "items": {
            "$ref": "#/$defs/OmsLineItemReference"
          }
        },
        "trackingNumber": {
          "description": "Required when type is not \"processing\". Otherwise, a 400 Bad Request is returned.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "trackingUrl": {
          "description": "Required when type is not \"processing\". Otherwise, a 400 Bad Request is returned.",
          "type": "string",
          "format": "uri",
          "minLength": 1,
          "maxLength": 2048
        },
        "carrier": {
          "description": "The carrier handling the shipment (for example, UPS, FedEx, DHL).",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "description": {
          "description": "Free-form note about the event provided by the OMS. Shown to support agents and forwarded to order event subscribers.",
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "type": "object",
      "required": [
        "id",
        "occurredAt",
        "type",
        "lineItems"
      ]
    },
    "OmsLineItemReference": {
      "description": "A reference to an order line item affected by a fulfillment event, with the fulfilled quantity.",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "quantity": {
          "description": "Fulfillment line-item quantity. Zero is allowed.",
          "type": "integer",
          "minimum": 0
        }
      },
      "type": "object",
      "required": [
        "id",
        "quantity"
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-oms-status-event-request"
All schemas
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.