SyncController :: sync
Request
GET Parameters
No GET parameters
POST Parameters
Key | Value |
---|---|
0 | [ "action" => "upsert" "entity" => "product" "payload" => [ [ "price" => [ [ "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca" "net" => 88.1092 "gross" => 104.85 "linked" => true "listPrice" => [ "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca" "net" => 0 "gross" => 0 "linked" => true "listPrice" => null ] ] ] "prices" => [ [ "versionId" => "0fa91ce3e96a4bc2be4bd9ce752c3425" "productId" => "c1a130cf8ed84fffac11ccb074eeb003" "productVersionId" => null "ruleId" => "019320fdbd2f73cda3637e30b0093866" "price" => [ [ "currencyId" => "b7d2554b0ce847cd82f3ac9bd1c0dfca" "net" => 113.6639 "gross" => 135.26 "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" => "df372995208041aeb6bb2abfad1860ba" ] ] "id" => "c1a130cf8ed84fffac11ccb074eeb003" ] ] ] |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Shopware\Core\Framework\Api\Controller\SyncController::sync" |
_cspNonce | "LAkAY5p+e4A=" |
_route | "api.action.sync" |
_routeScope | [
"api"
] |
_route_params | [] |
_stopwatch_token | "a50f1f" |
oauth_access_token_id | "dbbdd7df680bea4f58566e5a4fdccdd2762908ac832ba8c3930a04eb584d7b809a571b45cc40cccd" |
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.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImRiYmRkN2RmNjgwYmVhNGY1ODU2NmU1YTRmZGNjZGQyNzYyOTA4YWM4MzJiYThjMzkzMGEwNGViNTg0ZDdiODA5YTU3MWI0NWNjNDBjY2NkIiwiaWF0IjoxNzM3NjA4MzczLjk2NzM1LCJuYmYiOjE3Mzc2MDgzNzMuOTY3MzU4LCJleHAiOjE3Mzc2MDg5NzMuOTY2OTMxLCJzdWIiOiIiLCJzY29wZXMiOlsid3JpdGUiXX0.ViwBhRBYkktwBn9acjeTLOJW0QPdu8esBJzvayrgGbegXyi_x4k1oGLW890dgi3J-q3x0q1GpQP7Kn9sKdk_XtOS1DnOf1Sw3nYcbo3qR61nGoWZ9pKshDmON-0cde1Xyztjx2JnSRBAof2ehOdtvrRYtPzUx_aQeoBdmXqnt-D1YQcviaO7jc7nvkhmLdPeakCZnfp_ZTIMPPNCsK231enEmfRwPYBBKdOns_goQ8ZKyIdhzre8OUgi_Uxthk4QkRDZPAvsjzAqVCfNPbomB142_YMDatDqfraTMklUu6AWVSy3GFSLST8RZYQptquEPIvogwCciflN1qMaKTCdQg" |
content-length | "1895" |
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 | "95021e2b-974c-4687-b6cc-481862fb36a0" |
Request Content
Pretty
[ { "action": "upsert", "entity": "product", "payload": [ { "price": [ { "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca", "net": 88.1092, "gross": 104.85, "linked": true, "listPrice": { "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca", "net": 0, "gross": 0, "linked": true, "listPrice": null } } ], "prices": [ { "versionId": "0fa91ce3e96a4bc2be4bd9ce752c3425", "productId": "c1a130cf8ed84fffac11ccb074eeb003", "productVersionId": null, "ruleId": "019320fdbd2f73cda3637e30b0093866", "price": [ { "currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca", "net": 113.6639, "gross": 135.26, "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": "df372995208041aeb6bb2abfad1860ba" } ], "id": "c1a130cf8ed84fffac11ccb074eeb003" } ] } ]
Raw
[{"action":"upsert","entity":"product","payload":[{"price":[{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":88.1092,"gross":104.85,"linked":true,"listPrice":{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":0,"gross":0,"linked":true,"listPrice":null}}],"prices":[{"versionId":"0fa91ce3e96a4bc2be4bd9ce752c3425","productId":"c1a130cf8ed84fffac11ccb074eeb003","productVersionId":null,"ruleId":"019320fdbd2f73cda3637e30b0093866","price":[{"currencyId":"b7d2554b0ce847cd82f3ac9bd1c0dfca","net":113.6639,"gross":135.26,"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":"df372995208041aeb6bb2abfad1860ba"}],"id":"c1a130cf8ed84fffac11ccb074eeb003"}]}]
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 05:00:06 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 | "afbe77" |
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 | "1895" |
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.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImRiYmRkN2RmNjgwYmVhNGY1ODU2NmU1YTRmZGNjZGQyNzYyOTA4YWM4MzJiYThjMzkzMGEwNGViNTg0ZDdiODA5YTU3MWI0NWNjNDBjY2NkIiwiaWF0IjoxNzM3NjA4MzczLjk2NzM1LCJuYmYiOjE3Mzc2MDgzNzMuOTY3MzU4LCJleHAiOjE3Mzc2MDg5NzMuOTY2OTMxLCJzdWIiOiIiLCJzY29wZXMiOlsid3JpdGUiXX0.ViwBhRBYkktwBn9acjeTLOJW0QPdu8esBJzvayrgGbegXyi_x4k1oGLW890dgi3J-q3x0q1GpQP7Kn9sKdk_XtOS1DnOf1Sw3nYcbo3qR61nGoWZ9pKshDmON-0cde1Xyztjx2JnSRBAof2ehOdtvrRYtPzUx_aQeoBdmXqnt-D1YQcviaO7jc7nvkhmLdPeakCZnfp_ZTIMPPNCsK231enEmfRwPYBBKdOns_goQ8ZKyIdhzre8OUgi_Uxthk4QkRDZPAvsjzAqVCfNPbomB142_YMDatDqfraTMklUu6AWVSy3GFSLST8RZYQptquEPIvogwCciflN1qMaKTCdQg" |
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 | "95021e2b-974c-4687-b6cc-481862fb36a0" |
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.eyJhdWQiOiJTV0lBWVVSS1dHU1paSFpPRFcxS0VYUklRVyIsImp0aSI6ImRiYmRkN2RmNjgwYmVhNGY1ODU2NmU1YTRmZGNjZGQyNzYyOTA4YWM4MzJiYThjMzkzMGEwNGViNTg0ZDdiODA5YTU3MWI0NWNjNDBjY2NkIiwiaWF0IjoxNzM3NjA4MzczLjk2NzM1LCJuYmYiOjE3Mzc2MDgzNzMuOTY3MzU4LCJleHAiOjE3Mzc2MDg5NzMuOTY2OTMxLCJzdWIiOiIiLCJzY29wZXMiOlsid3JpdGUiXX0.ViwBhRBYkktwBn9acjeTLOJW0QPdu8esBJzvayrgGbegXyi_x4k1oGLW890dgi3J-q3x0q1GpQP7Kn9sKdk_XtOS1DnOf1Sw3nYcbo3qR61nGoWZ9pKshDmON-0cde1Xyztjx2JnSRBAof2ehOdtvrRYtPzUx_aQeoBdmXqnt-D1YQcviaO7jc7nvkhmLdPeakCZnfp_ZTIMPPNCsK231enEmfRwPYBBKdOns_goQ8ZKyIdhzre8OUgi_Uxthk4QkRDZPAvsjzAqVCfNPbomB142_YMDatDqfraTMklUu6AWVSy3GFSLST8RZYQptquEPIvogwCciflN1qMaKTCdQg" |
REDIRECT_SSL_TLS_SNI | "abb-dev.tech" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/_action/sync" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "62684" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1737608405 |
REQUEST_TIME_FLOAT | 1737608405.3042 |
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" |