Adding a Workflow to your Retailer via API
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`
`WORKFLOW_UPDATE`
`ORCHESTRATION_ADMIN`
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`
`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}
Language: json
Name: Response Example
Description:
[Warning: empty required content area]