SmartGare
API referenceEndpoints

Declare a line

**Required permission:** `referential.line:write`

POST/referential/v1/lines

Required permission: referential.line:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DeclareLineInput

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/lines" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{  "id": "string"}