Sócios (Protected)

Substituir o quadro de sócios num ponto de venda (pedido único)

Changed on

Bundled change request: close every currently-active agreement at the target PV and replace with the rows in the payload, all in one approval cycle. Avoids the validation deadlock that occurs when DELETE + CREATE are submitted as four independent requests.

post/api/socios/pv-roster

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/socios/pv-roster
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Headers

x-api-tokenstring nullable

Request body

idpointofsaleinteger required
iniciostring date required

Response

Successful Response

change_request_idinteger required
status'PENDING' | 'APPROVED' | 'REJECTED' | 'EXPIRED' | 'APPLIED' required
applied_entity_idinteger nullable

Changes

    • info

      removed the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ from the request property ///