Edit in GitHubLog an issue

API Integration module

The Magento_OopeApiIntegrations module (magento/module-oope-api-integrations) exposes a REST endpoint that allows external applications and out-of-process services to read Commerce configuration data that has no existing REST surface in core Commerce.

REST endpoint

The GET /V1/order-statuses endpoint returns all order statuses configured in the Commerce instance, joined with their state assignments. It requires an admin token with the Magento_OopeApiIntegrations::order_statuses ACL resource.

A status assigned to multiple states appears as one entry per state. A status not assigned to any state appears once with state: null.

The response combines data from two tables:

  • sales_order_status — status code and label
  • sales_order_status_state — state assignment, default flag, and storefront visibility (LEFT JOINed, so unassigned statuses are included)

Response fields:

FieldTypeDescription
status
String
The status code (primary key from sales_order_status).
label
String
The human-readable label for the status.
state
String or null
The order state this status is assigned to, or null if not assigned to any state.
is_default
Boolean
Whether this status is the default for its assigned state.
visible_on_front
Boolean
Whether this status is visible to customers on the storefront.

Example request:

Copied to your clipboard
curl --request GET \
--url <ADOBE_COMMERCE_API_URL>/rest/V1/order-statuses \
--header 'Authorization: Bearer <admin_token>'

Example response:

Copied to your clipboard
[
{
"status": "pending",
"label": "Pending",
"state": "new",
"is_default": true,
"visible_on_front": false
},
{
"status": "pending_payment",
"label": "Pending Payment",
"state": "pending_payment",
"is_default": true,
"visible_on_front": false
},
{
"status": "processing",
"label": "Processing",
"state": "processing",
"is_default": true,
"visible_on_front": true
},
{
"status": "complete",
"label": "Complete",
"state": "complete",
"is_default": true,
"visible_on_front": true
},
{
"status": "custom_status",
"label": "My Custom Status",
"state": null,
"is_default": false,
"visible_on_front": false
}
]

ACL resources

Resource IDTitleDescription
Magento_OopeApiIntegrations::oope
OOPE API Integrations
Parent resource.
Magento_OopeApiIntegrations::order_statuses
Order Statuses
Required to call the order statuses endpoint.

Installation

This module is included by default in Adobe Commerce as a Cloud Service. For on-premises or cloud infrastructure projects, install it using Composer.

  1. Run the following command to install the module:

    Copied to your clipboard
    composer require magento/module-oope-api-integrations=^1.0
  2. Enable the module.

    Copied to your clipboard
    bin/magento module:enable Magento_OopeApiIntegrations
    bin/magento setup:upgrade
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.