Answer the question
In order to leave comments, you need to log in
How to submit draft order via REST API to Woocommerce?
Good afternoon. There is a site on WooCommerce. It is necessary to implement the functionality that will transfer the order left on the site via the REST API to the partner.
To create order drafts, a regular REST API is used with responses in JSON format.
For example: POST www.domen.ru/orders/drafts/add Response
format:
{ id: DRAFT_NUMBER, items: PRODUCTS, total_cost: COST_PRODUCTS_IN_RUB}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question