Create Task

Creates a new task in VTEX Do.

Request body example

curl --location --request POST 'https://{{accountName}}.{{environment}}.com.br/api/do/tasks' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--data-raw '{
 "target": [{
   "id": "633730670642-01",
   "type": "order",
   "url": "https://recorrenciaqa.vtexcommercebeta.com.br/admin/checkout/orders/633730670642-01"
 }],
 "domain":"oms",
 "context":"Marketplace",
 "name": "pricing",
 "priority":"Critical",
 "surrogateKey":"505224-0",
 "description": "Ajudar na doc API para lancar no postman",
 "dueDate": "2016-03-01",
 "assignee": {
   "id": null,
   "name": null ,
   "email": "[email protected]"
 },
 "followers": [
   {
     "id": null,
     "name": null,
     "email": "[email protected]"
   }
 ],
 "parentTaskId": null
}'
Language
Authentication
URL
Click Try It! to start a request and see the response here!