Create Access Token

How to create a flow on interplay to create a service which enables to create access token of a customer.

Written By Anuj Rajput ()

Updated at April 6th, 2023

In this tutorial, we will setup a flow to create a new access token for the customer . We will be using nodes under the Shopify category to enable the service. The customer access token is required to modify the customer object in any way. 

Procedure 

Step 1

Open a flow on the interplay to get started. From the left menu of custom nodes, scroll down to category - Shopify and find the Create Access Token node. You can also search in the menu: create-access-token

Drag it in the flow and follow next steps.

 

Step 2

Configure the node with your shop credentials. You need to provide :

Node Namestring
It is used to distinguish a particular node from other nodes. The name of every node must be unique and it represents what the node does
Shop-namestring
it is the name of the shop whose items are being used.
Private Access Tokenstring
An access token is a string of characters that grants a third-party application access to a specific Shopify store's data.
to know how to generate this access token use this url here

 

Step 3

Add Http and Http response nodes from components category from the side menu. Drag and drop these nodes in the flow

 

Step 4

Configure the Http node to setup endpoint to listen to the requests for creating new access token. As we are receiving some data in the request, we will use post method.

 

 

Step 5

Connect all three nodes to complete the flow. 

 

Step 6

Finally click on deploy at the top right to deploy this flow and then you can start testing and using this flow to create new access token for customer of your shop.