Create or Update Asset From Order Item Action

Create assets from individual order items within an order. Track assets after the individual line items of an order reach a certain stage in their lifecycle, such as submitted, fulfilled, or provisioned. If the order item is part of a renewal, an amendment, or a cancellation, existing assets are changed.

This action is available in API version 60.0 and later.

Special Access Rules 

You need the Assetize Order permission set to use this invocable action.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/createOrUpdateAssetFromOrderItem

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
orderIdstringRequired. ID of the order.

Outputs 

OutputTypeDescription
requestIdstringID of the request to create an asset.

Example 

POST

This sample request is for the Create or Update Asset From Order Item action.

1{
2    "inputs": [
3        {
4            "orderItemIds": ["802SG000002HixxYAC"]
5        }
6    ]
7}

This sample response is for the Create or Update Asset From Order Item action.

1{
2  "actionName": "createOrUpdateAssetFromOrderItem",
3  "errors": null,
4  "isSuccess": true,
5  "outputValues": {
6    "requestId": "b2a2b4b9-845b-4078-980a-759308389604"
7  },
8  "version": 1
9}