Skip to main content
All CollectionsDevelopment & integrationIntegrating
Can I change a document code via API?
Can I change a document code via API?
Lucien Berkani avatar
Written by Lucien Berkani
Updated over 10 months ago

You can change your document code using the following API :

PUT /api/documents/{document_code}

Here is an example of use :

curl --request PUT \
--url https://your-company.quable.com/api/documents/{old_document_code} \
--header 'accept: application/ld+json' \
--header 'content-type: application/json' \
--data '
{
"id": "new_document_code"
}

Did this answer your question?