> For the complete documentation index, see [llms.txt](https://api.stonestepag.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.stonestepag.com/status-update.md).

# Sale Status Update API

## SaleStatusUpdate

<mark style="color:green;">`POST`</mark> `https://{baseurl}/sales/sale/api/saleStatus`

This endpoint allows you to get free cakes.

#### Query Parameters

| Name          | Type    | Description                             |
| ------------- | ------- | --------------------------------------- |
| country       | string  | Country Code                            |
| partner\_code | string  | Partner Code                            |
| sale\_id      | string  | Sale Id                                 |
| status        | boolean | Status 1- Active 2- Expired 3 Suspended |

#### Headers

| Name                   | Type   | Description                       |
| ---------------------- | ------ | --------------------------------- |
| EIGER-SESSION-ID       | string | Web Service Generated Token Value |
| EIGER-TOKEN            | string | Web Service Generated Token Value |
| EIGER-API-REQUEST-TYPE | string | REST                              |
| Accept                 | string | application/json                  |
| Content-Type           | string | application/json                  |

{% tabs %}
{% tab title="200 Sale Status Updated successfully." %}

```
{
"status": "SUCCESS",
"errorcode": "0000",
"message": "Sales Status Updated Successfully",
"errors": null
}
```

{% endtab %}

{% tab title="404 Failed." %}

```
{    "message": "Failed"}
```

{% endtab %}
{% endtabs %}
