Ajouter ou rechercher une suggestion

Anonim

API : modifier valeur sell_date_kind

Bonjour, Est-ce possible par API de modifier le type de date additionnelle (sell_date_kind) ? Ce n'est pas documenté sur la page https://github.com/vosfactures/API#file
Réponse principale Caroline 20/12/2021 09:40

Bonjour Monsieur,

Oui cela est possible avec la requête suivante :

curl https://votrecompte.vosfactures.fr/invoices/INVOICE_ID.json \
-X PUT \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{ "api_token": "API_TOKEN", "invoice": { "sell_date_kind": "TEXT" } }'

Bonne journée.



  

Commentaires (1)

Customer Reviews

Caroline

Réponse principale

Bonjour Monsieur,

Oui cela est possible avec la requête suivante :

curl https://votrecompte.vosfactures.fr/invoices/INVOICE_ID.json \
-X PUT \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{ "api_token": "API_TOKEN", "invoice": { "sell_date_kind": "TEXT" } }'

Bonne journée.



  

Ajouter un commentaire