Skip to content

Modifica stato pagamento "Issued Document" e "Received Documents" #239

Closed Answered by emajo
overiver1 asked this question in Q&A
Discussion options

You must be logged in to vote

Ciao @overiver1, gli errori che stai riportando sono molto strani in quanto risorsa non trovata dovrebbe restituire un 404 mentre poi ti viene restituito un 400, quindi la risorsa viene trovata, da api reference mi sembra molto strano che ti restituista un errore del genere a meno che l'id non sia effettivamente errato.

Per quanto riguarda il body da passare nella chiamata di modifica documento non basta passare solamente il campo status ma va ripassato completamente tutto il payment, per esempio se allo stato attuale il campo payments items è popolato così:

...
"payments_list": [
            {
                "amount": 18.75,
                "due_date": "2023-02-22",
                "sta…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by emajo
Comment options

You must be logged in to vote
2 replies
@overiver1
Comment options

@valmoz
Comment options

Comment options

You must be logged in to vote
8 replies
@overiver1
Comment options

@emajo
Comment options

@overiver1
Comment options

@dcesca
Comment options

@dcesca
Comment options

Comment options

You must be logged in to vote
1 reply
@emajo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants