The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Create rule action

POST

https://api.pack.cloud/v1/organizations/{organizationId}/rules/{ruleId}/actions

Request

Path parameters

organizationIdstring
ruleIdstring

Payload

coderequired
Code of the action
Example:update_return_request_status
settingsobjectrequired

Response

Created

Body

idstring
ID of the rule action
code
Code of the action
Example:update_return_request_status
settingsobject
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource