---
schema_version: "1"
id: 1c448d6162717c9f832c5f9c80bf8d255a4c1fdd52605a8b40f2ec04f8e2e9d3
title: isstatus Element
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/isml/b2c-isstatus.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-isstatus.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 347e7b6b4b7834cda9a7e6eaf1db46caad08608a0346d201cdf4c2be7f241929
products:
  - Composable Storefront
  - Salesforce APIs
---
# isstatus Element

Set the HTTP response status code.

## Syntax

```
<isstatus
 value = http_code \\required
/>
```

- value = http_code

  - : _Allowed data type:_ string or expression.

    `http_code` identifies the HTTP response code. This must be an integer.

## Example

The following sets the response status code to 307, which indicates that the requested resource resides temporarily under a different URI.

```
<isstatus value="307"/>
```

The following sets the response status code to 410, one of the few error codes for which pages are cached in the Salesforce B2C Commerce Web Server.

```
<isstatus value="410"/>
```

**note:** Explicitly supported REDIRECT and GONE are also cached. This means that responses with the response status code 301 (indicating that the resource has permanently moved to a new location), 302 (indicating that the resource has temporarily moved to another location) and 410 (indicating that the resource is no longer available at the server and no forwarding address is known) are also cached by the WebAdapter.
