Skip to main content

Update Resource


ApiScope: manage.smarttemplate.write
API Scope Level: DealerScope
Path Parameters
    dealerUUID string required
    resourceUuid string required
Request Body required
    type string
    objectJSONEndpoint string
    minimalObjectEndpoint string
    fullObjectEndpoint string
    version int32
    isValid boolean
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    resource object
    type string
    objectSchemaEndpoint string
    minimalObjectEndpoint string
    fullObjectEndpoint string
    isValid boolean
    uuid string
PUT /v2/smartTemplatesdealers/:dealerUUID/resources/:resourceUuid

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
dealerUUID — path required
resourceUuid — path required
Body required
{
"type": "string",
"objectJSONEndpoint": "string",
"minimalObjectEndpoint": "string",
"fullObjectEndpoint": "string",
"version": 0,
"isValid": true
}
Accept
curl / cURL
curl -L -X PUT '/manage/v2/smartTemplatesdealers/:dealerUUID/resources/:resourceUuid' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"type": "string",
"objectJSONEndpoint": "string",
"minimalObjectEndpoint": "string",
"fullObjectEndpoint": "string",
"version": 0,
"isValid": true
}'