PutProductTypes
This request allows you to modify an existing product type.
Request URL
PUT https://api-dev.theownly.io/v1/productTypes/{id}
Headers
Name | Value | Required? |
---|---|---|
Accept | application/json | Yes |
Content-Type | application/json | Yes |
Authorization | Bearer{APItoken} | Yes |
Parameters
Name | Type | Required? | Description |
---|---|---|---|
name | String | Yes | Product Type Name |
Example Request
curl -X 'PUT' \
'https://api.theownly.io/v1/productTypes/Oo5BqeAm' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'
Example Response
{
"id": "Oo5BqeAm",
"name": "string"
}