Setting Up ArcDynamic
1.1 min read
|
Integration specs:
Supported functions:
- Order Download
- Shipment Confirmation
- Inventory Sync
Required Parameters
- Extensiv Integration Manager API User
- Integration Manager API Key
- Webhook URL
Step-by-step guide
API user setup:
- Create an API user in the core application (Arc) : Users -> Add user
- Add a token for that newly created API user: Users -> Edit -> Security -> Add token
- Take note of the username/token and save it in this URL format
-
https://REPLACE_WITH_DEPLOYMENT_CODE.skyrin.com/apps/cart/stores/REPLACE_WITH_STORE_CODE/services/cart/plugin.CartRover.handleWebhook/$/username=REPLACE_WITH_API_USERNAME/token=REPLACE_WITH_API_TOKEN/
API group setup:
- Create an API group : Permissions -> API Groups -> Add group (e.g. Name=CartRover, Code=cartrover)
- Add the following API to the group : Permissions -> API Groups -> Edit -> APIs → cart: plugin.CartRover.handleWebhook (search for the plugin.CartRover portion, check the API, and click "OK" in the bottom right)
User group setup:
- Create a user group : Permissions -> User Groups -> Add Group (e.g. Name=CartRover, Code=cartrover)
- Add the user created above to the user group : Permissions -> User Groups -> Edit -> Users -> Add user
- Add the API group created above to the user group : Permissions -> User Groups -> Edit -> API Group Permissions -> Add API Group
- Select "Write" in the Access Control Level
Finally, take the URL from above (if a new token was created, remember to replace it in the URL) and put it in Integration Manager field Webhook URL.
To verify, you can put the URL above in the browser and get a message like the following:
E05PRA1: Invalid event specified
Responses like:
{"id":null,"success":false,"data":false,"encoding":false,"code":401,"errorCode":"E01F1B1","message":"Authorization Failed","count":null,"errors":[]}
indicate something is wrong with the permissions.
It is recommended to clear your browser history and/or delete the token and create a new one after verifying everything is working.