[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / thankYouHref

# Function: thankYouHref()

> **thankYouHref**(`order`, `language?`): `string`

The thank-you page for a placed order: `/thank-you?order=…&total=…&oid=…`,
in the request's language when `language` is given (`/fr/thank-you?…`).

## Parameters

### order

#### orderId?

`string`

#### orderNumber

`string`

#### total

`number`

### language?

#### locale

`string`

#### routing

[`LocaleRouting`](../interfaces/LocaleRouting)

## Returns

`string`
