POST https://abb-dev.tech/api/_action/sync

SyncController :: sync

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
0
[
  "action" => "upsert"
  "entity" => "product"
  "payload" => [
    [
      "price" => [
        [
          "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca"
          "net" => 266.1765
          "gross" => 316.75
          "linked" => true
          "listPrice" => [
            "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca"
            "net" => 0
            "gross" => 0
            "linked" => true
            "listPrice" => null
          ]
        ]
      ]
      "prices" => [
        [
          "versionId" => "0fa91ce3e96a4bc2be4bd9ce752c3425"
          "productId" => "68d9274f7e9840e1b5e74ee0112c209d"
          "productVersionId" => null
          "ruleId" => "019320fdbd2f73cda3637e30b0093866"
          "price" => [
            [
              "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca"
              "net" => 390.7059
              "gross" => 464.94
              "linked" => true
              "listPrice" => [
                "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca"
                "net" => 0
                "gross" => 0
                "linked" => true
                "listPrice" => null
              ]
            ]
          ]
          "quantityStart" => 0
          "quantityEnd" => null
          "customFields" => null
          "rule" => [
            "name" => "Tax Austria 20%"
            "priority" => 1
            "description" => ""
            "customFields" => null
            "moduleTypes" => [
              "price"
            ]
            "conditions" => [
              [
                "type" => "orContainer"
                "ruleId" => "019320fdbd2f73cda3637e30b0093866"
                "parentId" => null
                "value" => []
                "position" => 0
                "customFields" => null
                "children" => []
                "id" => "019320fdbd49726ab0ca6d3a69c5088c"
              ]
              [
                "type" => "andContainer"
                "ruleId" => "019320fdbd2f73cda3637e30b0093866"
                "parentId" => "019320fdbd49726ab0ca6d3a69c5088c"
                "value" => []
                "position" => 0
                "customFields" => null
                "children" => []
                "id" => "019320fdbd547283bcfef66fa3c15718"
              ]
              [
                "type" => "customerCustomerGroup"
                "ruleId" => "019320fdbd2f73cda3637e30b0093866"
                "parentId" => "019320fdbd547283bcfef66fa3c15718"
                "value" => [
                  "operator" => "="
                  "customerGroupIds" => [
                    "0193210163a576cdb105ec639e2d2c69"
                  ]
                ]
                "position" => 0
                "customFields" => null
                "children" => []
                "id" => "019320fdbd5773db955392d8baf70d8c"
              ]
            ]
            "productPrices" => []
            "shippingMethodPrices" => []
            "shippingMethodPriceCalculations" => []
            "shippingMethods" => []
            "paymentMethods" => []
            "personaPromotions" => []
            "orderPromotions" => []
            "cartPromotions" => []
            "promotionDiscounts" => []
            "promotionSetGroups" => []
            "eventActions" => []
            "id" => "019320fdbd2f73cda3637e30b0093866"
          ]
          "id" => "749f105f3c334c23a8d9e39389d0b5f6"
        ]
      ]
      "id" => "68d9274f7e9840e1b5e74ee0112c209d"
    ]
  ]
]

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Shopware\Core\Framework\Api\Controller\SyncController::sync"
_cspNonce
"PjfSImL8uwo="
_route
"api.action.sync"
_routeScope
[
  "api"
]
_route_params
[]
_stopwatch_token
"eff2c5"
oauth_access_token_id
"eb2c978f66adf024199e48c4495919d357eb1f255622c365a23aad4ad0c0d68fe52c5a8abb3ec8cc"
oauth_client_id
"SWIAYURKWGSZZHZODW1KEXRIQW"
oauth_scopes
[
  "write"
]
oauth_user_id
""
sw-context
Shopware\Core\Framework\Context {#1951
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #scope: "user"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\AdminApiSource {#1966 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1960 …}
  #states: []
}

Request Headers

Header Value
accept
"application/json"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImViMmM5NzhmNjZhZGYwMjQxOTllNDhjNDQ5NTkxOWQzNTdlYjFmMjU1NjIyYzM2NWEyM2FhZDRhZDBjMGQ2OGZlNTJjNWE4YWJiM2VjOGNjIiwiaWF0IjoxNzM3NjI1NDc0LjM5ODU5OCwibmJmIjoxNzM3NjI1NDc0LjM5ODYsImV4cCI6MTczNzYyNjA3NC4zOTgzODQsInN1YiI6IiIsInNjb3BlcyI6WyJ3cml0ZSJdfQ.eDmhwC2wjuotxy7Mj5JKNiTG5yZvImJz0xfurM9R3nXufd_79teNGVb8dRCvmLAY8hMdGMUQKjg_Tf1dTC7BqKOvvxGdDsmKF4x58Z_d5yO9rZEHki3UNXiYX4A6gfoOVOunbAH06Yyb-Tt8h-13EUjkqtKDqhncdXxamxPDwwsbTqP5Dq_ccjNFYScruIy4V9LVq_6_pFreZj8irbhXdu7YZu9KFaVz02Rs1MsyhBsHOWiUSHbQaFpC0t4CMnD9lV5kTEEPPVSgmxIZj1wCe2xBKJD2mRM_g4sRHw6N8D-klDIgjqmDPZQuptpm89LbRGO1voATCnPXYufatXBCAQ"
content-length
"1896"
content-type
"application/json"
forwarded
"for="88.84.141.4";host="abb-dev.tech";proto=https"
host
"abb-dev.tech"
indexing-behaviour
"use-queue-indexing"
single-operation
"1"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"GuzzleHttp/7"
x-forwarded-for
"88.84.141.4"
x-php-ob-level
"1"
x-request-id
"ae925d33-7409-4daf-af32-4ba5cb331f37"

Request Content

Pretty

[
    {
        "action": "upsert",
        "entity": "product",
        "payload": [
            {
                "price": [
                    {
                        "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
                        "net": 266.1765,
                        "gross": 316.75,
                        "linked": true,
                        "listPrice": {
                            "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
                            "net": 0,
                            "gross": 0,
                            "linked": true,
                            "listPrice": null
                        }
                    }
                ],
                "prices": [
                    {
                        "versionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
                        "productId": "68d9274f7e9840e1b5e74ee0112c209d",
                        "productVersionId": null,
                        "ruleId": "019320fdbd2f73cda3637e30b0093866",
                        "price": [
                            {
                                "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
                                "net": 390.7059,
                                "gross": 464.94,
                                "linked": true,
                                "listPrice": {
                                    "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
                                    "net": 0,
                                    "gross": 0,
                                    "linked": true,
                                    "listPrice": null
                                }
                            }
                        ],
                        "quantityStart": 0,
                        "quantityEnd": null,
                        "customFields": null,
                        "rule": {
                            "name": "Tax Austria 20%",
                            "priority": 1,
                            "description": "",
                            "customFields": null,
                            "moduleTypes": [
                                "price"
                            ],
                            "conditions": [
                                {
                                    "type": "orContainer",
                                    "ruleId": "019320fdbd2f73cda3637e30b0093866",
                                    "parentId": null,
                                    "value": [],
                                    "position": 0,
                                    "customFields": null,
                                    "children": [],
                                    "id": "019320fdbd49726ab0ca6d3a69c5088c"
                                },
                                {
                                    "type": "andContainer",
                                    "ruleId": "019320fdbd2f73cda3637e30b0093866",
                                    "parentId": "019320fdbd49726ab0ca6d3a69c5088c",
                                    "value": [],
                                    "position": 0,
                                    "customFields": null,
                                    "children": [],
                                    "id": "019320fdbd547283bcfef66fa3c15718"
                                },
                                {
                                    "type": "customerCustomerGroup",
                                    "ruleId": "019320fdbd2f73cda3637e30b0093866",
                                    "parentId": "019320fdbd547283bcfef66fa3c15718",
                                    "value": {
                                        "operator": "=",
                                        "customerGroupIds": [
                                            "0193210163a576cdb105ec639e2d2c69"
                                        ]
                                    },
                                    "position": 0,
                                    "customFields": null,
                                    "children": [],
                                    "id": "019320fdbd5773db955392d8baf70d8c"
                                }
                            ],
                            "productPrices": [],
                            "shippingMethodPrices": [],
                            "shippingMethodPriceCalculations": [],
                            "shippingMethods": [],
                            "paymentMethods": [],
                            "personaPromotions": [],
                            "orderPromotions": [],
                            "cartPromotions": [],
                            "promotionDiscounts": [],
                            "promotionSetGroups": [],
                            "eventActions": [],
                            "id": "019320fdbd2f73cda3637e30b0093866"
                        },
                        "id": "749f105f3c334c23a8d9e39389d0b5f6"
                    }
                ],
                "id": "68d9274f7e9840e1b5e74ee0112c209d"
            }
        ]
    }
]

Raw

[{"action":"upsert","entity":"product","payload":[{"price":[{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":266.1765,"gross":316.75,"linked":true,"listPrice":{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":0,"gross":0,"linked":true,"listPrice":null}}],"prices":[{"versionId":"0fa91ce3e96a4bc2be4bd9ce752c3425","productId":"68d9274f7e9840e1b5e74ee0112c209d","productVersionId":null,"ruleId":"019320fdbd2f73cda3637e30b0093866","price":[{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":390.7059,"gross":464.94,"linked":true,"listPrice":{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":0,"gross":0,"linked":true,"listPrice":null}}],"quantityStart":0,"quantityEnd":null,"customFields":null,"rule":{"name":"Tax Austria 20%","priority":1,"description":"","customFields":null,"moduleTypes":["price"],"conditions":[{"type":"orContainer","ruleId":"019320fdbd2f73cda3637e30b0093866","parentId":null,"value":[],"position":0,"customFields":null,"children":[],"id":"019320fdbd49726ab0ca6d3a69c5088c"},{"type":"andContainer","ruleId":"019320fdbd2f73cda3637e30b0093866","parentId":"019320fdbd49726ab0ca6d3a69c5088c","value":[],"position":0,"customFields":null,"children":[],"id":"019320fdbd547283bcfef66fa3c15718"},{"type":"customerCustomerGroup","ruleId":"019320fdbd2f73cda3637e30b0093866","parentId":"019320fdbd547283bcfef66fa3c15718","value":{"operator":"=","customerGroupIds":["0193210163a576cdb105ec639e2d2c69"]},"position":0,"customFields":null,"children":[],"id":"019320fdbd5773db955392d8baf70d8c"}],"productPrices":[],"shippingMethodPrices":[],"shippingMethodPriceCalculations":[],"shippingMethods":[],"paymentMethods":[],"personaPromotions":[],"orderPromotions":[],"cartPromotions":[],"promotionDiscounts":[],"promotionSetGroups":[],"eventActions":[],"id":"019320fdbd2f73cda3637e30b0093866"},"id":"749f105f3c334c23a8d9e39389d0b5f6"}],"id":"68d9274f7e9840e1b5e74ee0112c209d"}]}]

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,indexing-behavior,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,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-security-policy
"object-src 'none'; script-src 'none'; base-uri 'self'; frame-ancestors 'none';"
content-type
"application/json"
date
"Thu, 23 Jan 2025 09:45:19 GMT"
referrer-policy
"strict-origin-when-cross-origin"
server-timing
""
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"96148b"
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
ACCESS_TOKEN
""
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"def00000331072bbd675ee4e5fa13e84f682b2720035dba32f99a3a8f2252c21b4b193521a0756ca1df8296c48c281c92675baba79d43aa8aa2adeda297569b7ccbedb5c"
APP_URL
"https://abb-dev.tech"
APP_USER
"zeal"
BLUE_GREEN_DEPLOYMENT
"1"
CLIENT_ID
"765859926830-0bgni73nn5kd166ng5tmcgc4n1ne7jfd.apps.googleusercontent.com"
CLIENT_SECRET
"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"
COMPOSER_HOME
"/var/www/html/shopware"
DATABASE_HOST
"localhost"
DATABASE_NAME
"shopware"
DATABASE_PASSWORD
"CvRVLv7bGshvQsVvXkNY"
DATABASE_URL
"mysql://root:CvRVLv7bGshvQsVvXkNY@localhost:3306/shopware"
DATABASE_USER
"root"
DEVELOPER_TOKEN
"6s5rWrjP9PM0r_6d_gj7Qg"
GOOGLE_MANAGER
"5952225337"
INSTANCE_ID
"7MnW6wmLQV3kHOQzrIALypgsh7pu1fXF"
LOCK_DSN
"flock"
MAILER_DSN
"smtp://7d4a04b4c07677:8ca771ebefeee8@sandbox.smtp.mailtrap.io:2525"
REDIS_URL
"redis://localhost:6379/1"
REFRESH_TOKEN
"1//04Gr0d6ZcYMuNCgYIARAAGAQSNwF-L9Ir9yrmvIEj6v0qLZ-hloCjzgvkin25pid4ZiN4hZg_28EXo471TPj2mjimUbnx8KZNuyM"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"1896"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/shopware/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/shopware/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImViMmM5NzhmNjZhZGYwMjQxOTllNDhjNDQ5NTkxOWQzNTdlYjFmMjU1NjIyYzM2NWEyM2FhZDRhZDBjMGQ2OGZlNTJjNWE4YWJiM2VjOGNjIiwiaWF0IjoxNzM3NjI1NDc0LjM5ODU5OCwibmJmIjoxNzM3NjI1NDc0LjM5ODYsImV4cCI6MTczNzYyNjA3NC4zOTgzODQsInN1YiI6IiIsInNjb3BlcyI6WyJ3cml0ZSJdfQ.eDmhwC2wjuotxy7Mj5JKNiTG5yZvImJz0xfurM9R3nXufd_79teNGVb8dRCvmLAY8hMdGMUQKjg_Tf1dTC7BqKOvvxGdDsmKF4x58Z_d5yO9rZEHki3UNXiYX4A6gfoOVOunbAH06Yyb-Tt8h-13EUjkqtKDqhncdXxamxPDwwsbTqP5Dq_ccjNFYScruIy4V9LVq_6_pFreZj8irbhXdu7YZu9KFaVz02Rs1MsyhBsHOWiUSHbQaFpC0t4CMnD9lV5kTEEPPVSgmxIZj1wCe2xBKJD2mRM_g4sRHw6N8D-klDIgjqmDPZQuptpm89LbRGO1voATCnPXYufatXBCAQ"
HTTP_FORWARDED
"for="88.84.141.4";host="abb-dev.tech";proto=https"
HTTP_HOST
"abb-dev.tech"
HTTP_INDEXING_BEHAVIOUR
"use-queue-indexing"
HTTP_SINGLE_OPERATION
"1"
HTTP_USER_AGENT
"GuzzleHttp/7"
HTTP_X_FORWARDED_FOR
"88.84.141.4"
HTTP_X_REQUEST_ID
"ae925d33-7409-4daf-af32-4ba5cb331f37"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImViMmM5NzhmNjZhZGYwMjQxOTllNDhjNDQ5NTkxOWQzNTdlYjFmMjU1NjIyYzM2NWEyM2FhZDRhZDBjMGQ2OGZlNTJjNWE4YWJiM2VjOGNjIiwiaWF0IjoxNzM3NjI1NDc0LjM5ODU5OCwibmJmIjoxNzM3NjI1NDc0LjM5ODYsImV4cCI6MTczNzYyNjA3NC4zOTgzODQsInN1YiI6IiIsInNjb3BlcyI6WyJ3cml0ZSJdfQ.eDmhwC2wjuotxy7Mj5JKNiTG5yZvImJz0xfurM9R3nXufd_79teNGVb8dRCvmLAY8hMdGMUQKjg_Tf1dTC7BqKOvvxGdDsmKF4x58Z_d5yO9rZEHki3UNXiYX4A6gfoOVOunbAH06Yyb-Tt8h-13EUjkqtKDqhncdXxamxPDwwsbTqP5Dq_ccjNFYScruIy4V9LVq_6_pFreZj8irbhXdu7YZu9KFaVz02Rs1MsyhBsHOWiUSHbQaFpC0t4CMnD9lV5kTEEPPVSgmxIZj1wCe2xBKJD2mRM_g4sRHw6N8D-klDIgjqmDPZQuptpm89LbRGO1voATCnPXYufatXBCAQ"
REDIRECT_SSL_TLS_SNI
"abb-dev.tech"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/sync"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"34490"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737625519
REQUEST_TIME_FLOAT
1737625519.0781
REQUEST_URI
"/api/_action/sync"
SCRIPT_FILENAME
"/var/www/html/shopware/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"161.35.213.244"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"abb-dev.tech"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at abb-dev.tech Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"abb-dev.tech"
SYMFONY_DOTENV_PATH
"/var/www/html/shopware/.env"
SYMFONY_DOTENV_VARS
"LOCK_DSN,MAILER_DSN,APP_ENV,APP_DEBUG,APP_SECRET,APP_USER,APP_URL,DATABASE_URL,DATABASE_HOST,DATABASE_NAME,DATABASE_USER,DATABASE_PASSWORD,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,CLIENT_ID,CLIENT_SECRET,REFRESH_TOKEN,DEVELOPER_TOKEN,GOOGLE_MANAGER,ACCESS_TOKEN,REDIS_URL"