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.
When the custom product name for an order line item has a value, the asset name is set to custom product name.
This action is available in API version 60.0 and later.
This is applicable for Consumer Sales for business-to-consumer (B2C).
You need the Assetize Order permission set to use this invocable action.
URI: /services/data/v66.0/actions/standard/createOrUpdateAssetFromOrder
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where, TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
orderId | string | Required. ID of the order. |
| Output | Type | Description |
|---|---|---|
requestId | ID of the request to create an asset. |
- POST
This sample request is for the Create or Update Asset From Order action.
This sample response is for the Create or Update Asset From Order action.