ScalepointDeveloper Portal

Create material order

POST
/{version}/material/order

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

version*"v2"

API version

Default"v2"

Value in

  • "v2"

Request Body

application/json

Material order payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/material/order" \  -H "Content-Type: application/json" \  -d '{    "meta": {      "timestamp": "string"    },    "data": {      "order": {        "number": "string",        "subtotal": 0,        "vat": 0,        "total": 0,        "items": [          {            "lineNumber": 0,            "id1": "string",            "title": "string",            "unit": "string",            "quantity": 0,            "unitPrice": 0,            "discount": 0,            "subtotal": 0,            "status": "string"          }        ]      },      "claim": {        "id": "string",        "tenant": "string"      },      "servicePartner": {        "id": "string"      }    }  }'
Empty