Back to Collection Items
        Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
$http = New-Object Chilkat.Http
# Adds the "Authorization: Bearer <access_token>" header.
$http.AuthToken = "<access_token>"
$resp = New-Object Chilkat.HttpResponse
$success = $http.HttpNoBody("PUT","https://domain.com/supplier_information/:id?exported=true",$resp)
if ($success -eq $false) {
    $($http.LastErrorText)
    exit
}
$($resp.StatusCode)
$($resp.BodyStr)
        Curl Command
        curl -X PUT
	-H "Authorization: Bearer <access_token>"
https://domain.com/supplier_information/:id?exported=true
        Postman Collection Item JSON
        {
  "name": "Mark SIM Record as Exported",
  "request": {
    "method": "PUT",
    "header": [
    ],
    "url": {
      "raw": "{{URL}}/supplier_information/:id?exported=true",
      "host": [
        "{{URL}}"
      ],
      "path": [
        "supplier_information",
        ":id"
      ],
      "query": [
        {
          "key": "exported",
          "value": "true"
        }
      ],
      "variable": [
        {
          "key": "id",
          "value": "1"
        }
      ]
    }
  },
  "response": [
  ]
}