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

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

{"stackTrail":"paths:/api/financeiro/movements/{movement_id}/transfer-pv:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.