---
updatedAt: 2026-07-21T00:19:49.000Z
---

# Update State and Bid of Existing Keywords

You can update current state and bid of existing keywords using this method.

<Callout icon="📘" theme="info">
  ### URL: ​PUT/api/v1/keywords
</Callout>

# Query Parameters

<Table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Notes
      </th>

      <th>
        Type
      </th>

      <th>
        Required 
      </th>

      <th>
        Possible Values
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        keywordId
      </td>

      <td>
        ID of the keyword
      </td>

      <td>
        integer
      </td>

      <td>
        Y
      </td>

      <td>
        Unique numeric identifier
      </td>
    </tr>

    <tr>
      <td>
        state
      </td>

      <td>
        State of the keyword
      </td>

      <td>
        string
      </td>

      <td>
        N
      </td>

      <td>
        State values can be: enabled, paused, archived
      </td>
    </tr>

    <tr>
      <td>
        bid
      </td>

      <td>
        Maximum cost per click for the keyword
      </td>

      <td>
        double
      </td>

      <td>
        N
      </td>

      <td>
        Valid bid value. <br /><ul><li>Note: Minimum bid amount is:<ul><li>$0.30 for keyword bidding campaigns</li><li>$0.20 limit is for Auto bid campaigns</li><li>$0.50 for Sponsored Brands campaigns</li><li>$0.50 for Sponsored Videos campaigns</li></ul></li></ul>

        Bid amount will be restricted to first two decimal places for advertisers.<br />Any decimal digit beyond the first 2 digits will be truncated without rounding off.<br />For a keyword bid, maximum bid amount should be less than or equal to $100.
      </td>
    </tr>
  </tbody>
</Table>

## Sample Request

```
curl -X POST \
'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/keywords' \
--header 'Authorization: Bearer <auth_token>' \ 
--header 'accept: application/json' \
--header 'WM_SEC.AUTH_SIGNATURE: ***********' \
--header 'WM_SEC.KEY_VERSION: 1' \ 
--header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \
--header 'WM_CONSUMER.intimestamp: 1565309779' \
--header 'Content-Type: application/json' \
--data '{ 
          "keywordId": 345, 
          "state": "enabled", 
          "bid": .70
        }'
```

## Response

| Element   | Description                                                       | Type    |
| --------- | ----------------------------------------------------------------- | ------- |
| code      | The response code can have following values: `success`, `failure` | string  |
| details   | Details of the error if value of response code is `failure`       | string  |
| keywordId | ID of the keyword                                                 | integer |

## Sample Response

```
[
  {
    "code": "success",
    "details": " ",
    " keywordId": 600003
  }
]
```

<br />