Adding a Workflow to your Retailer via API
Essential knowledge
Author:
Fluent Commerce
Changed on:
24 Oct 2023
Overview
this page is to show how to add a new workflow to your Retailer via the API Put method.Key points
- Ensure the user has the right Permissions before executing the API.
- How to add a Workflow to your Retailer via API
Adding a Workflow to your Retailer via API
Permissions
The user needs`WORKFLOW_CREATE`, and `WORKFLOW_UPDATE` permissions to add a new Workflow. These permissions are included in the `ORCHESTRATION_ADMIN` role.How to add a Workflow to your Retailer via API
To add a new Workflow to your Fluent Account, send your valid Workflow JSON to the following URL via the`PUT` method.`https://{{accountID}}.{{environment}}.api.fluentretail.com/api/v4.1/workflow`Sample successful update response
If your request was successful, you should receive the following response:1{
2 "entityId": "{{retailerID}}-{{workflowName}}::{{workflowVersion}}",
3 "eventStatus": "COMPLETE"
4}