SmartGare
API referenceEndpoints

Revise a draft charge list

Replaces the draft's name and lines. **Required permission:** `billing.charge-list:write`

PUT/billing/v1/charge-lists/{id}

Replaces the draft's name and lines.

Required permission: billing.charge-list:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ReviseChargeListRequest

Response Body

*/*

*/*

curl -X PUT "https://example.com/billing/v1/charge-lists/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "actor": "string",  "at": "2019-08-24T14:15:22Z",  "effective_at": "2019-08-24T14:15:22Z",  "id": "string",  "status": "DRAFT"}