Trellis Docs

Trellis Docs

  • Salsify
  • Infor SX/CSD Integration 1.x
  • Infor SX/CSD Integration 2.x
  • Shopify
  • BigCommerce

›Usage

Introduction

  • Overview
  • Purpose

Compatibility

  • Compatibility

Installation

  • Magento
  • General
  • Webhooks
  • Configurable Products
  • Bundled Products
  • Grouped Products
  • Downloadable Products
  • Media Images
  • Field Mapping
  • Custom Options
  • Product Relation Settings
  • Attribute Set Settings
  • Category Import Settings
  • Default Values
  • Debugging

Usage

  • Manually
  • Automatically

Price

  • Installation

About Trellis

  • About

Version History

  • Version History

Automatically

When a product is updated on the Salsify platform, it is capable of setting a flag on your Magento 2 instance via webhooks, then updating those products in Magento 2 via cron on a schedule.

  1. Webhooks To use webhooks, they need to be enabled on your Magento 2 platform as described above, and enabled on your Salsify platform.

    Magento 2: Stores → Configuration → [Tab] Trellis → Salsify → Webhooks

    1. Enable Webhooks

    2. Create a Client ID

    Salsify: More → Channels → (Your Channel) → Notifications → Call Webhook: Successful Publication

    The build of the URL is important: https://your-store.com/salsify/hook/update/client_id/<Client ID>

    The Client ID you’ve created in the Magento 2 Salsify

    Connector admin settings panel needs to match the one at the end of the URL in order for webhooks to successfully communicate and verify the request.

    The route salsify/hook/update/client_id/ triggers the updating of products.

  2. Cron

    The webhook described above will set a timestamped flag when called upon. The Magento 2 cron will pick up that flag and run the product update. After a successful update, the flag will be removed in anticipation of the next webhook update. This cron is set to run every 15 minutes to ensure the system is not overloaded with requests from Salsify.

← ManuallyInstallation →
Docs
SalsifyInfor SX/CSD Integration 1.xInfor SX/CSD Integration 2.xShopify
More
BlogGitHubBitBucket
Copyright © 2024 Trellis, Inc.