https://staging-shop.liebscher-bracht.com/api/search/order

ApiController :: search

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
filter
[
  [
    "field" => "stateMachineState.technicalName"
    "type" => "equalsAny"
    "value" => [
      "open"
    ]
  ]
  [
    "field" => "transactions.stateMachineState.technicalName"
    "type" => "equalsAny"
    "value" => [
      "paid"
      "invoice"
      "open"
    ]
  ]
  [
    "field" => "order.salesChannelId"
    "type" => "equals"
    "value" => "3986cd37fb564724bbeda3dc83a5dfae"
  ]
]
includes
[
  "order" => [
    "id"
  ]
]
limit
50
sort
[
  [
    "field" => "order.createdAt"
    "direction" => "DESC"
  ]
]

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Core\Framework\Api\Controller\ApiController::search"
_cspNonce
"2Cmbk7ocQzQ="
_route
"api.order.search"
_routeScope
[
  "api"
]
_route_params
[
  "entityName" => "order"
  "path" => ""
]
_stopwatch_token
"989e6a"
entityName
"order"
oauth_access_token_id
"51b23f51aa3d757c4f5e25c88a1eafaff8208b7bbe8560aa974fd47559fbff0d723afe1b8b6edc8a"
oauth_client_id
"administration"
oauth_scopes
[
  "write"
  "admin"
]
oauth_user_id
"e53352ecfd92467c8301e815234c5ca1"
path
""
sw-context
Shopware\Core\Framework\Context {#2445
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #scope: "user"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\AdminApiSource {#2447 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2442 …}
  -states: []
}

Request Headers

Header Value
accept
"*/*"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6IjUxYjIzZjUxYWEzZDc1N2M0ZjVlMjVjODhhMWVhZmFmZjgyMDhiN2JiZTg1NjBhYTk3NGZkNDc1NTlmYmZmMGQ3MjNhZmUxYjhiNmVkYzhhIiwiaWF0IjoxNzM2NTEzNzE0LjE0Nzg2NywibmJmIjoxNzM2NTEzNzE0LjE0Nzg2OSwiZXhwIjoxNzM2NTE0MzE0LjE0NDE1Niwic3ViIjoiZTUzMzUyZWNmZDkyNDY3YzgzMDFlODE1MjM0YzVjYTEiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.iRwkbMClC-b3SWv7393PgTUp2mSlVAT3CS51eXtux5snvZEoQeAmZmry1DF9TwRESrabaCujdnpkBvQwmDPpNPLA4H3qmuJZO-hCKjduw9M8ty5ubn6F1Ss5YBPexHjSfc7Jg37_NjPfP-qFPGxtiwpmmCqW3ln17doO7G_qZTWpg-cZEVsiUubu2ieXrXWyP2WfyhapC-fQET838snrCR37BtSfJO8qindeJOOKuw5fru-6vbF5GhmdXwMEvFis_Bvx7ahdQPnIPjfCcDiNzjv1gqvXsbcKb0sv_PGzjMutkyp4-H1f3dtvHLvZkVog-DulguKqM-bBaCMWe8_vtQ"
content-length
"389"
content-type
"application/json"
forwarded
"for="194.6.210.175";host="staging-shop.liebscher-bracht.com";proto=https"
host
"staging-shop.liebscher-bracht.com"
https
"on"
https-forwarded
"1"
ssl-offloaded
"1"
user-agent
"Xentral"
x-forwarded-for
"194.6.210.175"
x-forwarded-server
"staging-shop.liebscher-bracht.com"
x-php-ob-level
"1"
x-real-ip
"2a05:d014:f93:7f12:970d:a8e9:1889:ec30"

Request Content

Pretty

{
    "limit": 50,
    "includes": {
        "order": [
            "id"
        ]
    },
    "sort": [
        {
            "field": "order.createdAt",
            "direction": "DESC"
        }
    ],
    "filter": [
        {
            "field": "stateMachineState.technicalName",
            "type": "equalsAny",
            "value": [
                "open"
            ]
        },
        {
            "field": "transactions.stateMachineState.technicalName",
            "type": "equalsAny",
            "value": [
                "paid",
                "invoice",
                "open"
            ]
        },
        {
            "field": "order.salesChannelId",
            "type": "equals",
            "value": "3986cd37fb564724bbeda3dc83a5dfae"
        }
    ]
}

Raw

{"limit":50,"includes":{"order":["id"]},"sort":[{"field":"order.createdAt","direction":"DESC"}],"filter":[{"field":"stateMachineState.technicalName","type":"equalsAny","value":["open"]},{"field":"transactions.stateMachineState.technicalName","type":"equalsAny","value":["paid","invoice","open"]},{"field":"order.salesChannelId","type":"equals","value":"3986cd37fb564724bbeda3dc83a5dfae"}]}

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls"
cache-control
"no-cache, private"
content-security-policy
"object-src 'none'; script-src 'none'; base-uri 'self';"
content-type
"application/vnd.api+json"
date
"Fri, 10 Jan 2025 12:55:14 GMT"
referrer-policy
"strict-origin-when-cross-origin"
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"380949"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"def00000b94188f5d8916b1932edcc3b2f61a6b55807465ce5bc30b02bd724a0c3dacb146ba64d37b352a29a6f8017930eb8432c627937939c27e76a24d2dffe8bc91535"
APP_URL
"https://staging-shop.liebscher-bracht.com"
APP_URL_CHECK_DISABLED
"0"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/share/staging-shop.liebscher-bracht.com/app/current/var/cache/composer"
DATABASE_URL
"mysql://db-user-6:lg2rRuMbtgT0E9pwMtFu@localhost:3306/db-6"
FEATURE_NEXT_16236
"true"
INSTANCE_ID
"EbXuxHn1kEBGrvi8w9iVLHkbF91XD4f6"
LOCK_DSN
"flock"
MAILER_URL
"smtp://mailhog.liebscher-bracht.com:1025"
MESSENGER_TRANSPORT_DSN
"amqp://staging-shop6:cwTZyD9VJvbx2quxnL59@localhost:5672/%2f/messages/?vhost=staging_shop6_messages"
OPENSEARCH_URL
"http://localhost:9200"
REDIS_CACHE
"redis://redis:6379/1"
REDIS_MESSAGE_QUEUE
"redis://redis:6379/4"
REDIS_SESSION
"redis://redis:6379/2"
REDIS_USER_ACTIVITY
"redis://redis:6379/3"
SHOPWARE_CACHE_ID
"da3897c711b24056b86596e287a0123c"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"localhost:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
STOREFRONT_PROXY_URL
"http://localhost"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"389"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/share/staging-shop.liebscher-bracht.com/htdocs/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/share"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6IjUxYjIzZjUxYWEzZDc1N2M0ZjVlMjVjODhhMWVhZmFmZjgyMDhiN2JiZTg1NjBhYTk3NGZkNDc1NTlmYmZmMGQ3MjNhZmUxYjhiNmVkYzhhIiwiaWF0IjoxNzM2NTEzNzE0LjE0Nzg2NywibmJmIjoxNzM2NTEzNzE0LjE0Nzg2OSwiZXhwIjoxNzM2NTE0MzE0LjE0NDE1Niwic3ViIjoiZTUzMzUyZWNmZDkyNDY3YzgzMDFlODE1MjM0YzVjYTEiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.iRwkbMClC-b3SWv7393PgTUp2mSlVAT3CS51eXtux5snvZEoQeAmZmry1DF9TwRESrabaCujdnpkBvQwmDPpNPLA4H3qmuJZO-hCKjduw9M8ty5ubn6F1Ss5YBPexHjSfc7Jg37_NjPfP-qFPGxtiwpmmCqW3ln17doO7G_qZTWpg-cZEVsiUubu2ieXrXWyP2WfyhapC-fQET838snrCR37BtSfJO8qindeJOOKuw5fru-6vbF5GhmdXwMEvFis_Bvx7ahdQPnIPjfCcDiNzjv1gqvXsbcKb0sv_PGzjMutkyp4-H1f3dtvHLvZkVog-DulguKqM-bBaCMWe8_vtQ"
HTTP_CONTENT_LENGTH
"389"
HTTP_CONTENT_TYPE
"application/json"
HTTP_FORWARDED
"for="194.6.210.175";host="staging-shop.liebscher-bracht.com";proto=https"
HTTP_HOST
"staging-shop.liebscher-bracht.com"
HTTP_HTTPS
"on"
HTTP_HTTPS_FORWARDED
"1"
HTTP_SSL_OFFLOADED
"1"
HTTP_USER_AGENT
"Xentral"
HTTP_X_FORWARDED_FOR
"194.6.210.175"
HTTP_X_FORWARDED_SERVER
"staging-shop.liebscher-bracht.com"
HTTP_X_REAL_IP
"2a05:d014:f93:7f12:970d:a8e9:1889:ec30"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"44504"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1736513714
REQUEST_TIME_FLOAT
1736513714.2674
REQUEST_URI
"/api/search/order"
SCRIPT_FILENAME
"/var/www/share/staging-shop.liebscher-bracht.com/app/releases/983/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"194.6.210.175"
SERVER_NAME
"staging-shop.liebscher-bracht.com"
SERVER_PORT
443
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.2"
SYMFONY_DOTENV_VARS
"LOCK_DSN,APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,SHOPWARE_CDN_STRATEGY_DEFAULT,APP_URL_CHECK_DISABLED,OPENSEARCH_URL,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,STOREFRONT_PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,REDIS_CACHE,REDIS_SESSION,REDIS_USER_ACTIVITY,REDIS_MESSAGE_QUEUE,FEATURE_NEXT_16236,APP_DEBUG,COMPOSER_HOME,MESSENGER_TRANSPORT_DSN,SHOPWARE_CACHE_ID"
USER
"web-user"