---
updatedAt: 2026-05-29T17:53:38.000Z
---

# Set up CAP SKU All (Legacy)

This API helps Sellers to completely opt-in or opt-out from CAP program.

If the subsidyEnrolled value = "true", the Seller enrolls in the CAP program. All eligible SKUs (current and future) are by default opt-in. Seller should use the SKU opt-in/opt-out API to opt-out individual items.

If the subsidyEnrolled value = "false", the Seller stops participating in the CAP program and all eligible SKUs (current and future) are opt-out of the CAP program.

[block:html]
{
  "html": "<a\n  href=\"https://god.gw.postman.com/run-collection/34477757-4e4731cf-b730-409e-899e-a35aeb947ccb?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34477757-4e4731cf-b730-409e-899e-a35aeb947ccb%26entityType%3Dcollection%26workspaceId%3De352a845-5a81-4cbe-9122-9b33bac31bf3\"\n  target=\"_blank\"\n  style=\"text-decoration: none\"\n>\n  <button>\n    <img\n      src=\"https://run.pstmn.io/button.svg\"\n      alt=\"Run In Postman\"\n      style=\"width: 128px; height: 32px\"\n    />\n  </button>\n</a>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Price Management",
    "version": "1.0",
    "description": "Pricing is a fundamental building block for your listing on Walmart.com. You can use the price management APIs to set up and manage the price for a given item"
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Production URL"
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Sandbox URL"
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "paths": {
    "/v3/cppreference": {
      "post": {
        "tags": [
          "Prices"
        ],
        "summary": "Set up CAP SKU All (Legacy)",
        "description": "This API helps Sellers to completely opt-in or opt-out from CAP program.\n\nIf the subsidyEnrolled value = \"true\", the Seller enrolls in the CAP program. All eligible SKUs (current and future) are by default opt-in. Seller should use the SKU opt-in/opt-out API to opt-out individual items.\n\nIf the subsidyEnrolled value = \"false\", the Seller stops participating in the CAP program and all eligible SKUs (current and future) are opt-out of the CAP program.",
        "externalDocs": {
          "description": "View Guide",
          "url": "/doc/us/mp/us-mp-price/#1290"
        },
        "operationId": "optCapProgramInPrice",
        "parameters": [
          {
            "in": "header",
            "name": "WM_SEC.ACCESS_TOKEN",
            "description": "The access token retrieved in the Token API call",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....."
          },
          {
            "in": "header",
            "name": "WM_CONSUMER.CHANNEL.TYPE",
            "description": "A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "WM_QOS.CORRELATION_ID",
            "description": "A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
          },
          {
            "in": "header",
            "name": "WM_SVC.NAME",
            "description": "Walmart Service Name",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Walmart Service Name"
          }
        ],
        "requestBody": {
          "description": "Request fields",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subsidyEnrolled": {
                    "type": "boolean",
                    "description": "A Boolean parameter that allows all sellers to completely enroll in or out of the Competitive Price Adjustment program"
                  },
                  "subsidyPreference": {
                    "type": "boolean",
                    "description": "A Boolean parameter that determines whether offer level subsidy setting override seller level subsidy setting"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "martId": {
                      "type": "string",
                      "description": "A unique ID that a user or seller uses for a marketplace."
                    },
                    "statusInfo": {
                      "type": "object",
                      "properties": {
                        "subsidyEnrolled": {
                          "type": "boolean",
                          "description": "A Boolean parameter that allows all sellers to completely enroll in or out of the Competitive Price Adjustment program"
                        },
                        "subsidyPreference": {
                          "type": "boolean",
                          "description": "A Boolean parameter that determines whether offer level subsidy setting override seller level subsidy setting"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```