Skip to main content
POST
Create a commitment request

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer<int32>
required

ID of the commitment you want to create a request for.

Response

201 - application/json

Commitment request successfuly created.

Approval request (workflow) for a purchase commitment.

id
integer<int32>
owner
Reference to a user · object

Reference to a user.

assignee
Reference to a user · object

Reference to a user.

businessObject
Subscription Commitment · object

Commitment for a subscription.

stepId
integer<int32>
read-only
workflowId
string
read-only
templateId
integer<int32>
read-only
state
enum<string>
read-only
Available options:
Pending,
Cancelled,
Denied,
Approved
createdAt
string<date-time>
read-only
modifiedAt
string<date-time>
read-only
author
Reference to a user · object

Reference to a user.

modifier
Reference to a user · object

Reference to a user.