Form Fields | meanings |
---|---|
Store Name: | Enter the name of your store as it should appear in the Comet system. This name will be used to identify your store throughout the integration process. |
Storefront URL (Home page) | Provide the URL of your store’s home page. Please ensure that the Store Name and Storefront URL are accurate and properly formatted to avoid any connectivity issues during the integration process. ex: https://z**-001.dx.commercecloud.salesforce.com/on/demandware.store/Sites-RefArch-Site |
Form Fields | meanings |
---|---|
Base Catalog ID | Enter the Base Catalog ID. Can be obtained from Business Manager > Merchant Tools > Products and Catalogs > Catalogs |
Assigned Price Books IDs | Enter all the qualified price books belongs to the site. Can be obtained from Business Manager > Merchant Tools > Products and Catalogs > Price Books |
Assigned Inventory IDs | Enter all the qualified inventories belongs to the site. Can be obtained from Business Manager > Merchant Tools > Products and Catalogs > Inventory |
Form Fields: | meanings |
---|---|
Site ID: | Enter site id from SFCC (ex: SiteGenesis, RefArch) |
App URL: | Enter app sfcc sandbox domain (ex: https://z***-001.dx.commercecloud.salesforce.com) |
Base Image URL: | Enter product image URL from sfcc sandbox with protocol. |
https://*z****-001.dx.commercecloud.salesforce.com/on/demandware.static/-/Sites-apparel-catalog/default/dw2d53288c/images/large/PG.10235094.JJ2DHXX.PZ.jpg
The “Base Image URL” will be this for above URL
https://*z****-001.dx.commercecloud.salesforce.com/on/demandware.static/-/Sites-apparel-catalog/default/dw2d53288c/images/
Form fields | meanings |
---|---|
Client ID: | Enter the unique identifier for your Salesforce Commerce Cloud account. This can be found in the account manager settings under the “API Client” section |
API Secret: | Provide the API secret associated with your above Client ID. This secret is used to authenticate your integration and should be kept confidential. You can generate a new API Client and secret in your Salesforce Commerce Cloud account manager settings. |
Business Manager email: | Enter the email address associated with your Salesforce Commerce Cloud Business Manager account. This email will be used for communication (ex:trigger Comet jobs from Comet console) related to the integration. |
Business Manager access key: | Provide the access key for your Business Manager account. This key grants access to the necessary APIs and resources required for the integration. You can generate a new access key in your Business Manager > Profile > Manage Access Keys > Agent User Login and OCAPI |
Form fields | meanings |
---|---|
Organization ID | The unique identifier for your Salesforce Commerce Cloud organization. This can be found in the Administration > Site Development > Salesforce Commerce API Settings section. Ex: f_ecom_z***_001 |
Short Code | A unique code that identifies your Salesforce Commerce Cloud instance. It is typically a combination of alphabets and a numeric identifier. Ex: k*7**m78 |
Client ID | The client ID is used to authenticate your API requests. You can generate a client ID in your SLAS account using this document. Please choose “default shopper scopes” while creating the API clientInformation. |
Client Secret | The client secret is a confidential key used to authenticate your API requests along with the client ID. It should be kept secure and never shared publicly. You can generate a client secret in the Account Manager under the “API Access” section. |
Form Fields | meanings | |
---|---|---|
WebDAV URL | This is the URL of Comet drop location where SFCC jobs will drop the exported FileSystem. | |
Brand Organization ID | Brand Organization ID will be created when a brand signup in Comet console. | |
Comet Parent Store Environment ID | Parent Store Environment ID will be created when a brand signup in Comet console. | |
App Client User ID | Generate Client User ID and store it in SFCC’s Comet Custom preference | |
App Client Password | Generate Client Password and store it in SFCC’s Comet Custom preference |
Form fields | meanings |
---|---|
Merchant account ID | Enter your adyen’s merchant account ID. You can get the merchant ID after logging into this link |
API Key | A Adyen integration API key can be generated from the Adyen link |
Client Key | Generate a client key as well from “Client settings” while generating API key in above step |
Select your environment | Select “Test” OR “Live” based on the use case. |
Form fields | meanings |
---|---|
Webhook URL | The Webhook URL is the endpoint where Adyen will send the event data when the specified event occurs. This will be prefilled and not editable field. |
Event to listen to | These are the recommended events that you want to subscribe to and receive notifications for. We have to select these events in Adyen portal while setting up the webhooks. |
HMAC Key | The HMAC (Hash-based Message Authentication Code) key is a shared secret key used to authenticate and validate the integrity of the webhook messages sent from Adyen to your endpoint |
Note: Make sure your Salesforce Commerce Cloud integration is set up to handle the incoming webhook notifications from Adyen. You may need to configure the necessary endpoints and logic to process the received data.
Important: If Adyen is already integrated in the SFCC site, then please skip the Adyen-specific metadata included in the provided metadata.
metadata/comet-meta-import
folder within the cartridge bundle.metadata
folder, compress the comet-meta-import
folder to generate a comet-meta-import.zip
file.comet-meta-import.zip
file from the open dialog box.comet-meta-import.zip
file in the Archives list.comet-meta-import.zip
and then click on the Import button.client_id
.Note: Currently, Comet utilizes OCAPI and SCAPI endpoints in the checkout flow. However, we plan to switch to completly SCAPI in our next release.Used OCAPI endpoints
OCAPI | Scope/Permissions | API Path | Purpose | |
---|---|---|---|---|
Customer API | read_attributes, write_attributes | POST /customers/auth | Create shopper Token | |
Basket API | read_attributes, write_attributes | POST /baskets | Create basket | |
read_attributes, write_attributes | POST baskets/{basketId} /items | Add products | ||
read_attributes, write_attributes | DELETE baskets/{basket_id} /items/{item_id} | Remove item from basket | ||
read_attributes, write_attributes | PATCH baskets/{basket_id} /items/{item_id} | Update item quantity in the basket | ||
read_attributes, write_attributes | DELETE /baskets/{basketId} | Delete the basket | ||
read_attributes, write_attributes | POST /baskets/{basketId} /billing_address | Add Billing address | ||
read_attributes, write_attributes | PUT /baskets/{basket_id} /customer | Add Shopper email to the basket | ||
read_attributes, write_attributes | PUT /baskets/{basketId} /shipments/shipping_address) | Adding shipping address | ||
read_attributes, write_attributes | POST /baskets/{basket_id} /coupons | Update basket with coupon | ||
read_attributes, write_attributes | GET /baskets/{basket_id} /approaching_discounts | Get approaching discounts of a basket | ||
read_attributes, write_attributes | DELETE /baskets/{basket_id} /coupons/{coupon_item_id} | Delete basket coupon | ||
read_attributes, write_attributes | GET /baskets/*/payment_methods | Get payment methods | ||
read_attributes, write_attributes | POST /baskets/{basket_id} /payment_instruments | Set Payment method and payment details | ||
Order API | read_attributes, write_attributes | POST /orders | Create Order | |
read_attributes, write_attributes | PATCH /orders/{order_no} /payment_instruments/{payment_instrument_id} | Updates payment instrument of order | ||
read_attributes, write_attributes | PATCH /orders/{order_no} | Confirm Order | ||
Data API | ||||
Jobs API | read_attributes, write_attributes | POST /jobs/*/executions | Execute the jobs | |
read_attributes, write_attributes | POST /job_execution_search | Search job |
Comet Attributes | Purpose |
---|---|
Comet WebDAV URL | The Comet WebDAV URL is the endpoint provided by the Comet system for accessing and dropping files using the WebDAV protocol. The URL can be obtained on this step |
Comet App Client id | The Comet App Client ID is a unique identifier assigned to the client application that is authorized to access the Comet system. This will be generated on this step |
Comet App client password | The Comet App Client Password is the corresponding password associated with the Comet App Client ID. This will be generated on this step |
Comet Brand Organization ID | The Comet Brand Organization ID represents the specific organization or brand within the Comet system that the integration is associated with. The ID can be obtained on this step |
Comet Parent Store Environment Id | The Comet Parent Store Environment ID identifies the specific environment within the Salesforce Commerce Cloud where the integration is being set up. It helps in distinguishing between different environments, such as development, staging, or production OR Site A, Site B ..etc, and ensures that the integration is configured correctly for the intended environment.The ID can be obtained on this step |
Start Order Number for Job | The Start Order Number for Job field is used to specify the order number from which the order export process should begin. This field is particularly useful in two scenarios: 1. When exporting orders for the first time, you can set the starting order number to ensure that all relevant orders are included in the export. 2. If a previous job fails, you can use this field to resume the export process from a specific order number, avoiding the need to start from the beginning. |
Order Export Start Time (in minute) | The Order Export Start Time field allows you to specify the time, in minutes, from when the orders should be exported. This field is optional and provides an alternative way to determine the starting point for order export. It is useful in scenarios where you want to export orders based on a specific time frame rather than an order number. For example: - If you enter 1440 minutes, the system will export orders from one day before the current time. - If you enter 10080 minutes, the system will export orders from 7 days before the current time. Note: Either the Start Order Number or the Order Export Start Time should be provided to determine the starting point for order export. |
Note: The integration has been completed.
Comet/Catalogs/Full-Export/comet-full-cat-export-base
Comet/Catalogs/Full-Export/comet-full-cat-export-storefront
Comet/Catalogs/SitePreferences/site-preferences
Comet/Catalogs/SitePreferences/site-preferences
SitePriceBooks, SiteInventoryList
Comet/Catalogs/PriceBooks/Full-Export/comet-full-price-book
Note: Adding new promotional pricebooks:
- Go to jobID: COMET-All-Full-Export-Job, step job: Comet-Full-PriceBook-Export) include the new pricebook ID in field DataUnits.
- Enable delta export for that pricebook, Go to Administration > Site Development > Delta Exports and add new pricebook for delta job.
Comet/Catalogs/Inventory/Full-Export/comet-full-inventory
Comet/Catalogs/Full-Export/comet-full-cat-export-base
Comet/Catalogs/Full-Export/comet-full-cat-export-storefront
Comet/Catalogs/PriceBooks/Full-Export/comet-full-price-book
Note: Adding new promotional pricebooks:
- Go to jobID: COMET-All-Full-Export-Job, step job: Comet-Full-PriceBook-Export) include the new pricebook ID in field DataUnits.
- Enable delta export for that pricebook, Go to Administration > Site Development > Delta Exports and add new pricebook for delta job.
Comet/Catalogs/Inventory/Full-Export/comet-full-inventory
Comet/Promotions/Full-Export/comet-full-promo
Comet
Catalogs/Delta-Export/base1
Comet
Catalogs/Delta-Export/storefront
Jobs Comet-Delta-CampPromo-Export
for this purpose. Please schedule it as per the need.
bc_comet.http.notification.webhook
service will be invoked. It will send a notification to the Comet backend, informing it about the job’s completion status.
If service fails then please write to Comet support ([email protected]).