Goals

Create a goal

post/products/{product_id}/goals

Path parameters

product_idstring required

ProductId identifier

Request body

Example request

{
  "goal": {
    "description": "An even smarter goal.",
    "workflow_status": "On Track"
  }
}

Response

Successful operation

Changes

Changed in 2 of the 5 revisions of this API.221

  • bfbe6f6d74a122See the full diff
    • the response property goal/success_metric/workflow_status/workflow_status_category became nullable for the status 200

      response-property-became-nullable

    • the goal/success_metric/workflow_status/workflow_status_category response's property type/format changed from object/ to null/ for status 200

      response-property-type-changed

    • removed the optional property goal/success_metric/workflow_status/workflow_status_category/id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property goal/success_metric/workflow_status/workflow_status_category/name from the response with the 200 status

      response-optional-property-removed

    • added the optional property goal/success_metric/workflow_status/workflow_status_category to the response with the 200 status

      response-optional-property-added