Financeiro (Protected)

Transferir um movimento por pagar para outro ponto de venda

Give an unpaid movement away to another point of sale of the same company.

PUSH by the owning PV — a store cannot pull another store's movement. The ownership predicate lives in the DB UPDATE's WHERE (compare-and-swap), so a losing race returns 409 rather than silently moving the wrong row.

Plain def — synchronous pyodbc must not run on the event loop.

post/api/financeiro/movements/{movement_id}/transfer-pv

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/financeiro/movements/{movement_id}/transfer-pv
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

movement_idinteger required

Headers

x-api-tokenstring nullable

Request body

to_point_of_sale_idinteger required

Ponto de venda que passa a ser dono do movimento

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.