Sha256: 349d90e7bc2707cf27f8503e9bb7723bbb58eec19785d69f30d6bdd630c773a2

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
        "Content-Type": "application/x-www-form-urlencoded"
      },
      "request_query_parameters": {
      },
      "response_headers": {
        "X-Frame-Options": "SAMEORIGIN",
        "X-XSS-Protection": "1; mode=block",
        "X-Content-Type-Options": "nosniff",
        "X-Download-Options": "noopen",
        "X-Permitted-Cross-Domain-Policies": "none",
        "Referrer-Policy": "strict-origin-when-cross-origin",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "d001e8ec-f648-4261-b34d-0c751e446bfc",
        "X-Runtime": "0.016966",
        "Expires": "0"
      },
      "request_method": "DELETE",
      "request_path": "/api/admin/discounts/5d5ecafed4322a04dfbf7353",
      "request_body": null,
      "request_content_type": "application/x-www-form-urlencoded",
      "response_status": 204,
      "response_status_text": "No Content",
      "response_body": null,
      "response_content_type": null,
      "curl": "curl \"https://www.example.com/api/admin/discounts/5d5ecafed4322a04dfbf7353\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
    }
  ],
  "resource": "Discounts",
  "description": "Removing a discount",
  "route": "/api/admin/discounts/:id",
  "http_method": "DELETE"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-api-4.4.7 doc/api/admin/discounts/removing_a_discount.json