Plytix
EndpointsAssetlists

Create-Asset-Lists

POST
/api/v3/asset-lists

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Input DTO for creating an asset list.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v3/asset-lists" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "type": "Smart"  }'
{  "data": {    "id": "stringstringstringstring",    "account_id": "stringstringstringstring",    "name": "string",    "query": [      [        {          "relationship_id": "stringstringstringstring",          "product_ids": [            {              "id": "stringstringstringstring",              "qty_operator": "exists",              "value": [                0              ]            }          ],          "operator": "string"        }      ]    ],    "created": "2019-08-24T14:15:22Z",    "modified": "2019-08-24T14:15:22Z",    "type": "Smart"  },  "errors": [    {      "name": "string",      "description": "string"    }  ],  "pagination": {    "next_page": "string",    "previous_page": "string"  }}