Create or Update Asset From Order Action
Create an asset for each order item in the specified order. New
assets are created for a new order. Modify existing assets for change order requests,
such as a renewal or a cancellation.
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/v64.0/actions/standard/createOrUpdateAssetFromOrder
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
orderId |
|
Outputs
Output | Details |
---|---|
requestId |
|
Example
- POST
-
This sample request is for the Create or Update Asset From Order action.
{ "inputs": [ { "orderId": "801DE000000oJfAYAU" } ] }
This sample response is for the Create or Update Asset From Order action.
[ { "actionName": "createOrUpdateAssetFromOrder", "errors": null, "isSuccess": true, "outputValues": { "requestId": "3b89392d-6987-40d9-9190-d18fdb5cb849" } } ]