yayloh provides a possibility of integration with Centra with the help of API keys. This integration allows yayloh to import and access your Centra orders, products, customers, and refunds.
To set up Centra with yayloh, we will need the following:
Create & share Shop Endpoint and API key - which has to read access to orders, products, customers, and refunds.
Create & share Order Endpoint and API key - which has to read access to orders, products, customers, and refunds.
Share the Webhook endpoint secret generated for the yayloh webhook URL. The yayloh webhook URL will be shared with you by the yayloh team during the onboarding process.
Check below, we have explained in detail:
1- Shop Endpoint and API Key
2- Order Endpoint and API Keys
3- Webhook endpoint secret
Shop Endpoint and API Key
Log in to your Centra account.
On the left side panel select systems >> stores.
Within stores >> Click on “View” to see the retail store to connect with yayloh.
This opens a pane on the right-hand side of the screen with details of the stores.
Scroll down on the pane to find the list of plugins.
Select “Add new plugin method”.
Fill Plugins information as following:
Select Plugin as Shop API 1 from the drop down.
Mark the status as Active.
You can name the plugin with the "yayloh-" prefix for easy reference.
Keep the default selected parameters or alternatively select at least -
Image sizes - Thumb
Required fields - ALL
Warehouses - ALL
Check if a Secret key is generated. In some cases, centra will generate a random string for you. Alternatively, you can manually generate a random alphanumeric string of 16 characters in the text box.
Save & Add the new plugin.
Copy & Send the URL & the secret key. Make sure you copy the whole URL.
Order Endpoint and API Keys
Repeat steps 1 to 6 as shown above. See here
Fill the Plugin information as following:
Select Plugin as "Order API" from the drop-down
Mark the status as Active.
You can name the plugin with the "yayloh-" prefix for easy reference
Maintain the default selected parameters or alternatively select at least –
Markets - ALL
Get orders with status – ALL
Allow access to the endpoint – ALL.
3. Check if a secret key is generated. In some cases, centra will generate a random string for you. Alternatively, you can manually generate a random alphanumeric string of 16 characters in the text box.
4. Save & Add the new plugin.
5. Copy & Send the URL & the secret key. Make sure you copy the whole URL
Webhook endpoint secret
Repeat steps 1 to 6 as shown above. See here
Fill the Plugin information as following
Select Centra webhook as a plugin from the drop-down.
Select the status as Active and name the plugin with "yayloh-" as prefix for easy reference.
Paste the webhook link shared by the yayloh team in the Webhook URL text box and select the Version as Integration API.
Select only the event trigger Order as yes while the others as no.
Save & Add the new plugin.
Copy & Send the Secret key.
Note- If you have any doubts, please contact to Centra customer service for assistance.