Fiskaliza
Referenca e API-sëPikat e shitjes

Update a point of sale

Send any non-empty subset of fields. Omitted fields are preserved, address replaces the whole address, and vat_number: null clears VAT.

PATCH/v1/pos/{pos_id}

Send any non-empty subset of fields. Omitted fields are preserved, address replaces the whole address, and vat_number: null clears VAT.

Authorization

fiskalizaKey fiskaliza:pos:manage
AuthorizationBearer <token>

An opaque Fiskaliza API key. Each operation lists the capabilities required on that key.

In: header

Scope: fiskaliza:pos:manage

Path Parameters

pos_id*string
Match^nj_pos_

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/pos/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "warnings": [    "string"  ],  "data": {    "pos": {      "id": "string",      "legal_name": "string",      "vat_number": "string",      "operating_profile": "GENERAL_RETAIL",      "address": {        "line_1": "string",        "line_2": "string",        "city": "string",        "region": "string",        "postal_code": "string",        "country": "st",        "phone": "string"      },      "timezone": "Europe/Belgrade",      "default_operator": {        "name": "string"      },      "free_text": "string",      "certificate_not_before": "2019-08-24T14:15:22Z",      "certificate_not_after": "2019-08-24T14:15:22Z",      "certificate_fingerprint": "string",      "status": "string"    }  }}