Invoice Increment ID adjustment for API in Magento 2
-
28-03-2021 - |
Pregunta
I would like to change the increment_id
for invoices. I tried this by running the following query:
ALTER TABLE sequence_invoice_1 AUTO_INCREMENT = 504;
This works for the invoice id but it does not work when working through the rest API because the API uses the entity_id
column from sales_order
table. For some bookkeeping implementation I need to change the entity_id
above 500 through the rest API.
How to accomplish to change the value for the next entity_id
?
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange