# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.stonestepag.com/status-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
