Please find the English version here.

Dies ist eine vollständige Liste von API-Anfragen und -Ereignissen. Sie ist ausschließlich für Kunden gedacht, die ihre eigenen Magento-Erweiterungen basierend auf cobby entwickeln. Anforderungen, die ebenfalls ein Ereignis auslösen, können in einem Observer dazu verwendet werden, sich an das Ereignis anzuhängen und Daten zu manipulieren.
Mit der Veröffentlichung der Cobby-Version 1.38.1.1 haben sich viele Anfragen in ein schlankeres Benennungsschema geändert. Wenn Sie also in früheren Versionen von cobby benutzerdefinierte Erweiterungen vorgenommen haben, sollten Sie Ihren Beobachter auf das alte und das neue Format prüfen lassen.

Beispiel Erweiterung:
Sie finden unsere Beispieldatei für Magento 1 hier und für Magento 2 hier.

Wenn Ihre Erweiterung direkt in Magentos DB schreibt, muss cobby über die Änderung informiert werden. Sie können dieses Ereignis dazu verwenden:

//1,2,3 are productids
Mage::dispatchEvent('cobby_handle_changes', array(
    'entity' => 'product',
    'action' => 'save',
    'ids' => array(1,2,3),
    'context' => 'custom',
    'username' => 'Bob'
));

Tools:
Postman und cobby API-requests

Beispiel Events:
cobby_import_...._
import_before | manipulate the data before the import happens
cobby_import_...._import_after | manipulate the way how the returned data is rendered in cobby

Events that differ from this scheme have an explanation directly at the event.

Attribute SetAttribute Set (export)
m1: cobby_catalog_product_attribute_set.export
m2: GET cobby/products/attribute/sets
Event: none

CategoryCategory Tree (export)
m1: cobby_catalog_category.export
m2: GET cobby/categories
Event: none

Attribute
Attribute (info)m1: cobby_catalog_product_attribute.info
m2: none
Event: none

Attribute (export)m1: cobby_catalog_product_attribute.export
m2: GET cobby/product/attributes
Event: cobby_catalog_product_attribute_export_after |use this to change the type of the attribute (e.g. from text to dropdown)
cobby_catalog_product_attribute_option_export_after |use this to change the output of the options or even remove them

The cobby_catalog_product_attribute_export_after event is triggered after exporting the attribute in cobby. If the attribute contains attribute options (e.g. select-attributes), both events will trigger.

Attribute Options
Attribute Options (export)
m1: cobby_catalog_product_attribute_option.export
m2: GET cobby/product/attribute/options

Attribute Options (import)m1: cobby_catalog_product_attribute_option.import
m2: none
Event: cobby_catalog_product_attribute_option_export_after |use this to change the output of the options or even remove them

Configurable Product
Configurable Product (assign)m1: cobby_catalog_product_type_configurable.assign
m2: none
Event: none

Website
 Website (export)m1: cobby_core_website.export
m2: GET cobby/store/websites
Event: none

Stores
Stores (export)
m1: cobby_core_store.export
m2: GET cobby/store/storeViews
Event: none

Storegroup
Storegroup (export)m1: cobby_storegroup.export
m2: GET cobby/store/storeGroups
Event: none

Config
Config (export)
m1: cobby_core_config.export
m2: GET cobby/configs
Event: none

Acl
Acl (export)m1: cobby_core_acl.export
m2: none
Event: none

Customer Group
Customer Group (export)m1: cobby_customer_group.export
m2: GET cobby/customer/groups
Event: none

Product
Product (updateSkus)
m1: cobby_catalog_product.updateSkus
m2: POST cobby/product/skus
Event: none

Product (getAllIds)
m1: cobby_catalog_product.getAllIds
m2: GET cobby/product/ids
Event: none

Product (updateWebsites)
m1: cobby_catalog_product.updateWebsites
m2: POST /cobby/product/website
Event: none

Product (exportProducts)
m1: cobby_export.exportProducts
m2: POST cobby/export/products
Event: cobby_catalog_product_export_after |use this to remove products before export or manipulate the product type that is seen by cobby

Product (updateCategoryAssociations)
m1: cobby_import_product.updateCategoryAssociations
m2: POST cobby/import/products/categories
Event: cobby_import_product_category_import_before
cobby_import_product_category_import_after

Product (importProducts)
m1: cobby_import_product.importProducts
m2: POST cobby/import/products
Event: cobby_import_product_import_before
cobby_import_product_import_after

Product (updateStock)m1: cobby_import_product.updateStock
m2: POST cobby/import/products/stocks
Event: cobby_import_product_stock_import_before
cobby_import_product_stock_import_after

Product (updateLink)m1: cobby_import_product.updateLink
m2: POST cobby/import/products/links
Event: cobby_import_product_link_import_before
cobby_import_product_link_import_after

Product (updateGroupedProductAssociations)
m1: cobby_import_product.updateGroupedProductAssociations
m2: none
Event: cobby_import_product_grouped_import_before
cobby_import_product_grouped_import_after

Product (updateConfigurableProducts)
m1: cobby_import_product.updateConfigurableProducts
m2: none
Event: cobby_import_product_configurable_import_before
cobby_import_product_configurable_import_after

Product (updateMedia)
m1: cobby_import_product.updateMedia
m2: none
Event: cobby_import_product_media_import_before
cobby_import_product_media_import_after

Product (updateTierPrices)m1: cobby_import_product.updateTierPrices
m2: POST cobby/import/products/tierPrices
Event: cobby_import_product_tierprice_import_before
cobby_import_product_tierprice_import_after

Product (updateGroupPrices)m1: cobby_import_product.updateGroupPrices
m2: none
Event: cobby_import_product_groupprice_import_before
cobby_import_product_groupprice_import_after

Product (deleteDuplicateImages)
m1: cobby_import_product.deleteDuplicateImages
m2: none
Event: cobby_import_product_url_import_before
cobby_import_product_url_import_after

Product (updateUrl)m1: cobby_import_product.updateUrl
m2: none
Event: cobby_import_product_url_import_before
cobby_import_product_url_import_after

Product (updateCustomOptions)m1: cobby_import_product.updateCustomOptions
M2: none
Event: cobby_import_product_customoption_import_before
cobby_import_product_customoption_import_after"

Product (updateBundleOptions)
m1: cobby_import_product.updateBundleOptions
m2: none
Event: cobby_import_product_bundleoption_import_before
cobby_import_product_bundleoption_import_after

Product (importStart) available starting cobby 1.41
m1: cobby_import_product.start
m2: cobby/import/products/start
Event: cobby_import_product_started |this event is triggered before cobby starts to import

Product (importFinish) available starting cobby 1.41
m1: cobby_import_product.finish
m2: cobby/import/products/finish
Event: cobby_import_product_finished |this event is triggered after cobby finishes to import

Indexer
Indexer (changeStatus)
m1: cobby_indexer.changeStatus
m2: none
Event: none

Indexer (info)
m1: cobby_indexer.info
m2: none
Event: none

Indexer (export)
m1: cobby_indexer.export
m2: none
Event: none

Indexer (reindexProducts)
m1: cobby_indexer.reindexProducts
m2: none
Event: none

Queue
Queue (export)
m1: cobby_queue.export
m2: none
Event: none

Queue (getMaxQueueId)
m1: cobby_queue.getMaxQueueId
m2: none
Event: none

Queue (reset)
m1: cobby_queue.reset
m2: none
Event: none

Translate
Translate (getTranslation)
m1: cobby_core_translate.getTranslation
m2: none
Event: none

Translate (getLocales)
m1: cobby_core_translate.getLocales
m2: none
Event: none

Debug
Debug (export)m1: cobby_core_debug.export
m2: none
Event: none

Did this answer your question?