# Sales order approvals

Section: Sales. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/sales-order-approvals/

This page and all 7 operation pages, in one file: https://developer.yoprint.com/llms/sales-order-approvals.txt

Ask the customer to approve a whole sales order or quote, and record their answer.

## Operations (7)

- [Record the customer's answer to an order approval](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-complete.md): `PUT /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval/{hash_id2}/complete`. Completes an approval on the customer's behalf: approved, or changes needed.
- [List all approvals of an order, jobs included](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-all-approvals.md): `GET /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/all_approvals`. Returns every approval on a sales order or quote: the order approvals and the artwork approvals of its jobs.
- [List the order approvals of an order](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-index.md): `GET /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval`. Returns the order approvals of a sales order or quote, without job artwork approvals.
- [Get an order approval](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-show.md): `GET /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval/{hash_id2}`. Returns one order approval.
- [Ask the customer to approve an order](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-store.md): `POST /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval`. Creates an order approval on a published sales order or quote and, unless you say otherwise, emails it to the customer.
- [Update an order approval](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-update.md): `PUT /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval/{hash_id2}`. Changes the notes of an approval that is not completed yet.
- [Delete an order approval](https://developer.yoprint.com/reference/sales-order-approvals/v2-order-approval-destroy.md): `DELETE /v2/api/store/{team_slug}/v2/sales_order/{hash_id}/approval/{hash_id2}`. Deletes an order approval that is not completed yet.
