Skip to main content

Edit Template

PATCH {{baseURL}}api/v1/template/:templateId

Description

To edit a template

Path Variables

  • templateId

Sample Request Body

{
"validationRule": {
"sku": "integer|required",
"productname": "string|required",
"cost": "integer|required",
"category": "required"
},
"config": {
"searchBy": [
"string"
],
"hideFor": [
"string"
]
}
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url {{baseURL}}api/v1/template/:templateId \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!