POST http://pimdev.kosmelita.lt/pimcore-datahub-import-export/magento_sync/push/attributes

SyncController :: updateAttributes

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"EurokosM2ImporterExporterBundle\Controller\SyncController::updateAttributes"
_editmode
false
_event_controller
EurokosM2ImporterExporterBundle\Controller\SyncController {#407
  #container: Symfony\Component\DependencyInjection\Argument\ServiceLocator {#2083 …}
  -serializer: Symfony\Component\Serializer\Serializer {#2038 …}
  -serializer: Symfony\Component\Serializer\Serializer {#2038 …}
}
_pimcore_context
"default"
_pimcore_frontend_request
true
_route
"eurokos_m2_importer_exporter_sync"
_route_params
[]
contentDocument
Pimcore\Model\Document\Page {#636
  #dao: Pimcore\Model\Document\Page\Dao {#627 …}
  #dependencies: null
  #__dataVersionTimestamp: 1723646774
  #path: "/"
  #properties: [
    "language" => Pimcore\Model\Property {#625
      #dao: null
      #name: "language"
      #data: null
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: true
      #inherited: false
      name: "language"
      data: null
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: true
      inherited: false
    }
    "navigation_accesskey" => Pimcore\Model\Property {#642
      #dao: null
      #name: "navigation_accesskey"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_accesskey"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_anchor" => Pimcore\Model\Property {#654
      #dao: null
      #name: "navigation_anchor"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_anchor"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_class" => Pimcore\Model\Property {#657
      #dao: null
      #name: "navigation_class"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_class"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_exclude" => Pimcore\Model\Property {#652
      #dao: null
      #name: "navigation_exclude"
      #data: false
      #type: "bool"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_exclude"
      data: false
      type: "bool"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_name" => Pimcore\Model\Property {#655
      #dao: null
      #name: "navigation_name"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_name"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_parameters" => Pimcore\Model\Property {#653
      #dao: null
      #name: "navigation_parameters"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_parameters"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_relation" => Pimcore\Model\Property {#643
      #dao: null
      #name: "navigation_relation"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_relation"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_tabindex" => Pimcore\Model\Property {#648
      #dao: null
      #name: "navigation_tabindex"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_tabindex"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_target" => Pimcore\Model\Property {#593
      #dao: null
      #name: "navigation_target"
      #data: null
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_target"
      data: null
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
    "navigation_title" => Pimcore\Model\Property {#660
      #dao: null
      #name: "navigation_title"
      #data: ""
      #type: "text"
      #ctype: "document"
      #cpath: null
      #cid: 1
      #inheritable: false
      #inherited: false
      name: "navigation_title"
      data: ""
      type: "text"
      ctype: "document"
      cpath: null
      cid: 1
      inheritable: false
      inherited: false
    }
  ]
  #id: 1
  #creationDate: 1720525389
  #modificationDate: 1723646774
  #versionCount: 4
  #userOwner: 1
  #locked: null
  #userModification: 21
  #parentId: 0
  #parent: null
  #_fulldump: false
  #dirtyFields: []
  -activeDispatchingEvents: []
  #fullPathCache: null
  #type: "page"
  #key: ""
  #index: 999999
  #published: true
  #children: []
  #siblings: []
  #controller: "App\Controller\DefaultController::defaultAction"
  #template: null
  #editables: null
  #versions: null
  #contentMainDocumentId: &12 null
  #contentMasterDocumentId: &12 null
  #supportsContentMain: true
  #missingRequiredEditable: null
  #staticGeneratorEnabled: false
  #staticGeneratorLifetime: null
  #inheritedEditables: []
  #scheduledTasks: null
  #title: ""
  #description: ""
  #prettyUrl: null
  dependencies: null
  __dataVersionTimestamp: 1723646774
  path: "/"
  properties: [
    "language" => Pimcore\Model\Property {#625}
    "navigation_accesskey" => Pimcore\Model\Property {#642}
    "navigation_anchor" => Pimcore\Model\Property {#654}
    "navigation_class" => Pimcore\Model\Property {#657}
    "navigation_exclude" => Pimcore\Model\Property {#652}
    "navigation_name" => Pimcore\Model\Property {#655}
    "navigation_parameters" => Pimcore\Model\Property {#653}
    "navigation_relation" => Pimcore\Model\Property {#643}
    "navigation_tabindex" => Pimcore\Model\Property {#648}
    "navigation_target" => Pimcore\Model\Property {#593}
    "navigation_title" => Pimcore\Model\Property {#660}
  ]
  id: 1
  creationDate: 1720525389
  modificationDate: 1723646774
  versionCount: 4
  userOwner: 1
  locked: null
  userModification: 21
  parentId: 0
  parent: null
  _fulldump: false
  dirtyFields: []
  fullPathCache: null
  type: "page"
  key: ""
  index: 999999
  published: true
  children: []
  siblings: []
  controller: "App\Controller\DefaultController::defaultAction"
  template: null
  editables: null
  versions: null
  contentMainDocumentId: null
  contentMasterDocumentId: null
  supportsContentMain: true
  missingRequiredEditable: null
  staticGeneratorEnabled: false
  staticGeneratorLifetime: null
  inheritedEditables: []
  scheduledTasks: null
  title: ""
  description: ""
  prettyUrl: null
}

Request Headers

Header Value
connection
"close"
content-length
"106"
content-type
"application/json"
host
"pimdev.kosmelita.lt"
user-agent
"GuzzleHttp/7"
x-forwarded-for
"10.212.1.1"
x-forwarded-host
"pimdev.kosmelita.lt"
x-forwarded-proto
"https"
x-forwarded-server
"pimdev.kosmelita.lt"
x-php-ob-level
"1"
x-real-ip
"10.212.1.1"

Request Content

Pretty

{
    "colors": [
        {
            "label": "__EMPTY__VALUE__",
            "value": null
        }
    ],
    "sizes": [
        {
            "label": "__EMPTY__VALUE__",
            "value": null
        }
    ]
}

Raw

{"colors":[{"label":"__EMPTY__VALUE__","value":null}],"sizes":[{"label":"__EMPTY__VALUE__","value":null}]}

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-language
"en"
content-type
"application/json"
date
"Wed, 28 Jan 2026 22:17:14 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-token
"92a36a"
x-powered-by
"pimcore"

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
"0"
APP_ENV
"dev"
DB_DATABASE
"pimcore"
DB_HOST
"127.0.0.1"
DB_PASSWORD
"6eagLYeHMqPCiA7EPDW6"
DB_PORT
"3306"
DB_USERNAME
"pimcore"
DB_VERSION
"10.11.8-MariaDB-ubu2204"
MAIL_SENDER_EMAIL
"pim@kosmelita.lt"
MAIL_SENDER_NAME
""
MAIL_SMTP
"smtp://pim:Atejo-Ruduo-24@mail.kosmelita.lt:465"
OPENAI_API_KEY
"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"
OPENAI_API_URL
"https://api.openai.com/v1/chat/completions"
OPENAI_INGREDIENTS_COMMAND
"extract the ingredients form this image, you can find in the image one ingredients section directly or you can find the ingredients multiple sections like for example for the multiple sections "summer indredients: ingred1, ingred2, ingred3" then another section in the same image called "moonstone ingredients: ingred3, moon1, moon2" return all ingredients as comma-separated list in the format : "ingredients: inged1,ingred2,ingred3, moon1,moon2" and do not add dot at the end of the answer, do not modify or correct the ingredients names, just return them as they are"
OPENAI_MODEL_NAME
"gpt-4o"
OPENSEARCH_HOST
"http://127.0.0.1:9200"
OPENSEARCH_PASSWORD
""
OPENSEARCH_SSL_VERTIFICATION
"false"
OPENSEARCH_USERNAME
""
PIMCORE_DEV_MODE
"false"
PIMCORE_WRITE_TARGET_CUSTOM_REPORTS
"settings-store"
PIMCORE_WRITE_TARGET_CUSTOM_VIEWS
"settings-store"
PIMCORE_WRITE_TARGET_DOCUMENT_TYPES
"settings-store"
PIMCORE_WRITE_TARGET_IMAGE_THUMBNAILS
"settings-store"
PIMCORE_WRITE_TARGET_PERSPECTIVES
"settings-store"
PIMCORE_WRITE_TARGET_PREDEFINED_ASSET_METADATA
"settings-store"
PIMCORE_WRITE_TARGET_PREDEFINED_PROPERTIES
"settings-store"
PIMCORE_WRITE_TARGET_STATICROUTES
"settings-store"
PIMCORE_WRITE_TARGET_VIDEO_THUMBNAILS
"settings-store"
PIMCORE_WRITE_TARGET_WEB_TO_PRINT
"settings-store"
REDIS_DB
"2"
REDIS_HOST
"localhost"
REDIS_PORT
"6379"
REDIS_SESSION_DB
"1"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"106"
CONTENT_TYPE
"application/json"
DOCTRINE_DEPRECATIONS
"trigger"
DOCUMENT_ROOT
"/var/www/pimcore/eurokos/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTP_CONNECTION
"close"
HTTP_CONTENT_LENGTH
"106"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"pimdev.kosmelita.lt"
HTTP_USER_AGENT
"GuzzleHttp/7"
HTTP_X_FORWARDED_FOR
"10.212.1.1"
HTTP_X_FORWARDED_HOST
"pimdev.kosmelita.lt"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"pimdev.kosmelita.lt"
HTTP_X_REAL_IP
"10.212.1.1"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"192.168.0.21"
REMOTE_PORT
"36816"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1769638634
REQUEST_TIME_FLOAT
1769638634.55
REQUEST_URI
"/pimcore-datahub-import-export/magento_sync/push/attributes"
SCRIPT_FILENAME
"/var/www/pimcore/eurokos/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"192.168.30.20"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,PIMCORE_DEV_MODE,REDIS_HOST,REDIS_PORT,REDIS_DB,REDIS_SESSION_DB,DB_HOST,DB_DATABASE,DB_USERNAME,DB_PASSWORD,DB_VERSION,DB_PORT,MAIL_SMTP,MAIL_SENDER_NAME,MAIL_SENDER_EMAIL,OPENSEARCH_HOST,OPENSEARCH_USERNAME,OPENSEARCH_PASSWORD,OPENSEARCH_SSL_VERTIFICATION,PIMCORE_WRITE_TARGET_IMAGE_THUMBNAILS,PIMCORE_WRITE_TARGET_CUSTOM_REPORTS,PIMCORE_WRITE_TARGET_VIDEO_THUMBNAILS,PIMCORE_WRITE_TARGET_DOCUMENT_TYPES,PIMCORE_WRITE_TARGET_WEB_TO_PRINT,PIMCORE_WRITE_TARGET_PREDEFINED_PROPERTIES,PIMCORE_WRITE_TARGET_PREDEFINED_ASSET_METADATA,PIMCORE_WRITE_TARGET_STATICROUTES,PIMCORE_WRITE_TARGET_PERSPECTIVES,PIMCORE_WRITE_TARGET_CUSTOM_VIEWS,OPENAI_MODEL_NAME,OPENAI_API_KEY,OPENAI_API_URL,OPENAI_INGREDIENTS_COMMAND"
USER
"www-data"