{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aghanim Server-to-Server Achievements Store Promotions API",
    "version": "2026.07.14"
  },
  "items": [
    {
      "info": {
        "name": "Store Promotions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get User Promotions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/user/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of objects to skip"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get User Promotions"
        },
        {
          "info": {
            "name": "Delete Store Promotion Of User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/user/:user_id/:store_promotion_id",
            "params": [
              {
                "name": "store_promotion_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete Store Promotion Of User"
        },
        {
          "info": {
            "name": "Get Store Promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/:store_promotion_id",
            "params": [
              {
                "name": "store_promotion_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Store Promotion"
        },
        {
          "info": {
            "name": "Update Store Promotion",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/:store_promotion_id",
            "params": [
              {
                "name": "store_promotion_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Store Promotion"
        },
        {
          "info": {
            "name": "Delete Store Promotion",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/:store_promotion_id",
            "params": [
              {
                "name": "store_promotion_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete Store Promotion"
        },
        {
          "info": {
            "name": "Get Store Promotions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions",
            "params": [
              {
                "name": "resource_state",
                "value": "",
                "type": "query"
              },
              {
                "name": "search_string",
                "value": "",
                "type": "query"
              },
              {
                "name": "active",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of objects to be returned"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of objects to skip"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Store Promotions"
        },
        {
          "info": {
            "name": "Create Store Promotion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Store Promotion"
        },
        {
          "info": {
            "name": "Bulk Update Store Promotions",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates multiple items."
        },
        {
          "info": {
            "name": "Copy Store Promotion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aghanim.com/s2s/v1/store_promotions/:store_promotion_id/copy",
            "params": [
              {
                "name": "store_promotion_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Copy Store Promotion"
        }
      ]
    }
  ],
  "bundled": true
}