E
E
Eugene2020-08-13 11:09:22
RESTful API
Eugene, 2020-08-13 11:09:22

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 question

Ask a Question

731 491 924 answers to any question