https://dev.artecon.426.agency/api/_action/sync

SyncController :: sync

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
product-delete
[
  "entity" => "product"
  "action" => "delete"
  "payload" => [
    [
      "id" => "4dee87a4b3c2486b85d4088af718bc11"
    ]
    [
      "id" => "a5309a06b8134b9698fc6c0cc1579d1c"
    ]
    [
      "id" => "1bbfafac10ea4f1fa4d4ae7f1d672cf3"
    ]
    [
      "id" => "a502abcae828438ca8b7e6a4e25f0ffd"
    ]
    [
      "id" => "42f9d72461a64ad3ba249f2f1a5e3022"
    ]
    [
      "id" => "3f875380039d4e08883210f3f750ffb0"
    ]
    [
      "id" => "0b9f56e5bf364419b41c3d580ead0f87"
    ]
    [
      "id" => "8c3c345f60b5470dafd4853f24e129d9"
    ]
    [
      "id" => "4e28bdb9797b471b8ac2d517e495495a"
    ]
    [
      "id" => "0f312fa6eb0145219efa0fa891191833"
    ]
    [
      "id" => "de3d61d1d35b429685e4a3444ca63dd2"
    ]
    [
      "id" => "2116a93e851b4b7094fc5512d2302763"
    ]
    [
      "id" => "330802820c6a4ee1b411e5fd451cba05"
    ]
    [
      "id" => "b26a3785ed164536bc2d6ce199eb0ce1"
    ]
    [
      "id" => "0c1a687f3f264115b13659f198636c54"
    ]
    [
      "id" => "e66907d1e36c43e3a7dd0243cabdefe0"
    ]
    [
      "id" => "7b67a775e6804a6cb53aec15bb351068"
    ]
    [
      "id" => "407d192a75654bcaa9cd7b09e8f25f22"
    ]
    [
      "id" => "1eba32ec031d4f03b475208e658e3185"
    ]
  ]
]

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Core\Framework\Api\Controller\SyncController::sync"
_cspNonce
"CgH4jQiDC4Q="
_route
"api.action.sync"
_routeScope
[
  "api"
]
_route_params
[]
_since
Shopware\Core\Framework\Routing\Annotation\Since {#1777
  -value: "6.0.0.0"
}
_stopwatch_token
"9431c3"
oauth_access_token_id
"76456d8eedbb2ca15a82504d01542840edc085c5fa2ca9d5f27c5dae543dbeb9006ce73dbfd9e5ba"
oauth_client_id
"administration"
oauth_scopes
[
  "write"
  "admin"
]
oauth_user_id
"07e124f8262a43899f8c964656633a35"
sw-context
Shopware\Core\Framework\Context {#1760
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #currencyFactor: 1.0
  #scope: "user"
  #ruleIds: []
  #source: Shopware\Core\Framework\Api\Context\AdminApiSource {#1758 …}
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1763 …}
  -states: []
}

Request Headers

Header Value
accept
"application/vnd.api+json"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6Ijc2NDU2ZDhlZWRiYjJjYTE1YTgyNTA0ZDAxNTQyODQwZWRjMDg1YzVmYTJjYTlkNWYyN2M1ZGFlNTQzZGJlYjkwMDZjZTczZGJmZDllNWJhIiwiaWF0IjoxNzM4MzMwOTQwLjYzODY4OCwibmJmIjoxNzM4MzMwOTQwLjYzODY5MSwiZXhwIjoxNzM4MzMxNTQwLjMwODg4Niwic3ViIjoiMDdlMTI0ZjgyNjJhNDM4OTlmOGM5NjQ2NTY2MzNhMzUiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.Y_UENQqyq9YvweMTPluFf3F7bHBfv4-hMwJ4rPYHBG0BUbQ9m-6wa_T2Z1excDX9iaXlg_TQt3al8cOUeJFyIIu3_qMykm0j87kq13ycv04fMztO32iv6Hxy1E7pCLnOk2r19eGPjPA5cYgJJ9q5AkBNAkM5eLif3An9B5WHJQQ48vIKjc6qppSirKqmHwSXA006bNXnYVITiermHfUSQEIFWPOn4QRLLeRGb3vWQbpYpQpTESlxw88PxnpRNZZ278FZdK-g7uvu0YKybpYljBilSyhYZ7mdTwZzCPGy5S29PSuTJxESvDIG7j6fK0jo0B8TmX2Nms-LICd14T_Xfw"
content-length
"867"
content-type
"application/json"
forwarded
"for="89.22.120.22";host="dev.artecon.426.agency";proto=https"
host
"dev.artecon.426.agency"
indexing-behavior
"disable-indexing"
user-agent
"GuzzleHttp/7"
x-forwarded-for
"89.22.120.22"
x-php-ob-level
"1"

Request Content

Pretty

{
    "product-delete": {
        "entity": "product",
        "action": "delete",
        "payload": [
            {
                "id": "4dee87a4b3c2486b85d4088af718bc11"
            },
            {
                "id": "a5309a06b8134b9698fc6c0cc1579d1c"
            },
            {
                "id": "1bbfafac10ea4f1fa4d4ae7f1d672cf3"
            },
            {
                "id": "a502abcae828438ca8b7e6a4e25f0ffd"
            },
            {
                "id": "42f9d72461a64ad3ba249f2f1a5e3022"
            },
            {
                "id": "3f875380039d4e08883210f3f750ffb0"
            },
            {
                "id": "0b9f56e5bf364419b41c3d580ead0f87"
            },
            {
                "id": "8c3c345f60b5470dafd4853f24e129d9"
            },
            {
                "id": "4e28bdb9797b471b8ac2d517e495495a"
            },
            {
                "id": "0f312fa6eb0145219efa0fa891191833"
            },
            {
                "id": "de3d61d1d35b429685e4a3444ca63dd2"
            },
            {
                "id": "2116a93e851b4b7094fc5512d2302763"
            },
            {
                "id": "330802820c6a4ee1b411e5fd451cba05"
            },
            {
                "id": "b26a3785ed164536bc2d6ce199eb0ce1"
            },
            {
                "id": "0c1a687f3f264115b13659f198636c54"
            },
            {
                "id": "e66907d1e36c43e3a7dd0243cabdefe0"
            },
            {
                "id": "7b67a775e6804a6cb53aec15bb351068"
            },
            {
                "id": "407d192a75654bcaa9cd7b09e8f25f22"
            },
            {
                "id": "1eba32ec031d4f03b475208e658e3185"
            }
        ]
    }
}

Raw

{"product-delete":{"entity":"product","action":"delete","payload":[{"id":"4dee87a4b3c2486b85d4088af718bc11"},{"id":"a5309a06b8134b9698fc6c0cc1579d1c"},{"id":"1bbfafac10ea4f1fa4d4ae7f1d672cf3"},{"id":"a502abcae828438ca8b7e6a4e25f0ffd"},{"id":"42f9d72461a64ad3ba249f2f1a5e3022"},{"id":"3f875380039d4e08883210f3f750ffb0"},{"id":"0b9f56e5bf364419b41c3d580ead0f87"},{"id":"8c3c345f60b5470dafd4853f24e129d9"},{"id":"4e28bdb9797b471b8ac2d517e495495a"},{"id":"0f312fa6eb0145219efa0fa891191833"},{"id":"de3d61d1d35b429685e4a3444ca63dd2"},{"id":"2116a93e851b4b7094fc5512d2302763"},{"id":"330802820c6a4ee1b411e5fd451cba05"},{"id":"b26a3785ed164536bc2d6ce199eb0ce1"},{"id":"0c1a687f3f264115b13659f198636c54"},{"id":"e66907d1e36c43e3a7dd0243cabdefe0"},{"id":"7b67a775e6804a6cb53aec15bb351068"},{"id":"407d192a75654bcaa9cd7b09e8f25f22"},{"id":"1eba32ec031d4f03b475208e658e3185"}]}}

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/json"
date
"Fri, 31 Jan 2025 13:42:56 GMT"
referrer-policy
"strict-origin-when-cross-origin"
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"9ea783"
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_ENV
"dev"
APP_SECRET
"def000003a7861bc10b867208d1ca72dec7c4852acb74e1b7eceb999b4c163c20cebadbc7c615d27af0f35de8bcfd44e765428f45e5aae72b288a57452d562bb03c54650"
APP_URL
"https://dev.artecon.426.agency"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/dev.artecon.426.agency/var/cache/composer"
DATABASE_URL
"mysql://artecon_shopware6:6cXR44Wfpj3q@localhost:3306/artecon_staging_shopware6"
INSTANCE_ID
"nO7ZpMAA9bqThhwwSea6G2wNm9EdYByf"
LOCK_DSN
"flock"
MAILER_DSN
"null://null"
SHOPWARE_CACHE_ID
"artecon_staging"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"http://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"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"867"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/dev.artecon.426.agency/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/dev.artecon.426.agency/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/vnd.api+json"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6Ijc2NDU2ZDhlZWRiYjJjYTE1YTgyNTA0ZDAxNTQyODQwZWRjMDg1YzVmYTJjYTlkNWYyN2M1ZGFlNTQzZGJlYjkwMDZjZTczZGJmZDllNWJhIiwiaWF0IjoxNzM4MzMwOTQwLjYzODY4OCwibmJmIjoxNzM4MzMwOTQwLjYzODY5MSwiZXhwIjoxNzM4MzMxNTQwLjMwODg4Niwic3ViIjoiMDdlMTI0ZjgyNjJhNDM4OTlmOGM5NjQ2NTY2MzNhMzUiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.Y_UENQqyq9YvweMTPluFf3F7bHBfv4-hMwJ4rPYHBG0BUbQ9m-6wa_T2Z1excDX9iaXlg_TQt3al8cOUeJFyIIu3_qMykm0j87kq13ycv04fMztO32iv6Hxy1E7pCLnOk2r19eGPjPA5cYgJJ9q5AkBNAkM5eLif3An9B5WHJQQ48vIKjc6qppSirKqmHwSXA006bNXnYVITiermHfUSQEIFWPOn4QRLLeRGb3vWQbpYpQpTESlxw88PxnpRNZZ278FZdK-g7uvu0YKybpYljBilSyhYZ7mdTwZzCPGy5S29PSuTJxESvDIG7j6fK0jo0B8TmX2Nms-LICd14T_Xfw"
HTTP_FORWARDED
"for="89.22.120.22";host="dev.artecon.426.agency";proto=https"
HTTP_HOST
"dev.artecon.426.agency"
HTTP_INDEXING_BEHAVIOR
"disable-indexing"
HTTP_USER_AGENT
"GuzzleHttp/7"
HTTP_X_FORWARDED_FOR
"89.22.120.22"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJhZG1pbmlzdHJhdGlvbiIsImp0aSI6Ijc2NDU2ZDhlZWRiYjJjYTE1YTgyNTA0ZDAxNTQyODQwZWRjMDg1YzVmYTJjYTlkNWYyN2M1ZGFlNTQzZGJlYjkwMDZjZTczZGJmZDllNWJhIiwiaWF0IjoxNzM4MzMwOTQwLjYzODY4OCwibmJmIjoxNzM4MzMwOTQwLjYzODY5MSwiZXhwIjoxNzM4MzMxNTQwLjMwODg4Niwic3ViIjoiMDdlMTI0ZjgyNjJhNDM4OTlmOGM5NjQ2NTY2MzNhMzUiLCJzY29wZXMiOlsid3JpdGUiLCJhZG1pbiJdfQ.Y_UENQqyq9YvweMTPluFf3F7bHBfv4-hMwJ4rPYHBG0BUbQ9m-6wa_T2Z1excDX9iaXlg_TQt3al8cOUeJFyIIu3_qMykm0j87kq13ycv04fMztO32iv6Hxy1E7pCLnOk2r19eGPjPA5cYgJJ9q5AkBNAkM5eLif3An9B5WHJQQ48vIKjc6qppSirKqmHwSXA006bNXnYVITiermHfUSQEIFWPOn4QRLLeRGb3vWQbpYpQpTESlxw88PxnpRNZZ278FZdK-g7uvu0YKybpYljBilSyhYZ7mdTwZzCPGy5S29PSuTJxESvDIG7j6fK0jo0B8TmX2Nms-LICd14T_Xfw"
REDIRECT_SSL_TLS_SNI
"dev.artecon.426.agency"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/sync"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"42518"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1738330965
REQUEST_TIME_FLOAT
1738330965.0061
REQUEST_URI
"/api/_action/sync"
SCRIPT_FILENAME
"/var/www/dev.artecon.426.agency/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"89.22.120.22"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"dev.artecon.426.agency"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at dev.artecon.426.agency Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"dev.artecon.426.agency"
SYMFONY_DOTENV_VARS
"LOCK_DSN,MAILER_DSN,APP_ENV,APP_SECRET,APP_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CACHE_ID"
USER
"www-data"
proxy-nokeepalive
"1"