Building a Custom Connector with Zapier
Send and receive Zoey API calls in Zapier to connect with another platform! Zapier lets you to build a custom connector to send or recieve data between Zoey and other systems.
Zapier enables you to create Zaps which can act as a connector between two APIs. Create a Zap using their straightforward interface to build a connector between the your Zoey store's API and another program.
Learn more about Zapier on their website!
Sending Data to your Zapier Webhook
Calling the Zoey API from Zapier
Tons of updates or changes can be made to your store through the Zoey API!
Set up Zoey API Client
Navigate to Settings > API and open up Zoey REST API - oAuth 2 by clicking Manage.
Here yore active OAuth2.0 clients are listed. They provide access to make calls your store's API.

Click on Add New in the top right to begin configuring the new OAuth2.0 client that Zapier will connect through.

Like the example above, provide a Name, set Enabled to Yes, and choose API Key as the Allowed Grand Types.
Click Save and proceed to the next steps.
Send an API Call to Zoey from a Zap
Firstly, your Zap must have a starting step to begin the chain of events. A subsequent step can be the outgoing webhook to the Zoey API.
That first step can be a receiving webhook that Zoey sends to Zapier on a schedule from an HTTPS Data Mapper.
Zapier Webhook to Zoey API
Add a step in your Zap and choose Webhooks.
- Action event should set to Custom Request, then hit Continue.
Standard actions may also work but some API calls require the custom type. - The Method will depend on what type of call you're making to the Zoey API.
We'll use a Product PUT Update in this example. - Enter your URL endpoint that the call need to be sent to. This can vary depending on the type of call you're making.
Example:https://ts123456-container.zoeysite.com/api/rest/products/:productId
:productId
should be replaced with Zapier Data. Click the + symbol in the URL field to search through data available to this Zap. Select a value that contains a Zoey SKU or Product ID. - Data Passthrough can be set to False.
Updated about 14 hours ago