post https://{accountName}.{environment}.com.br/api/catalog/pvt/skuservicetype
Creates an SKU Service Type from scratch
Request body has the following properties:
Attribute | Type | Description |
---|---|---|
Name | string | SKU Service Type Name |
IsActive | boolean | If the SKU Service Type is active or not |
ShowOnProductFront | boolean | Deprecated |
ShowOnCartFront | boolean | If the SKU Service Type is displayed on the cart screen |
ShowOnAttachmentFront | boolean | If the SKU Service Type has an attachment |
ShowOnFileUpload | boolean | If the SKU Service Type can be associated with an attachment or not |
IsGiftCard | boolean | If the SKU Service Type is displayed as a Gift Card |
IsRequired | boolean | If the SKU Service type mandatory |
Request body example:
{
"Name": "Teste API Sku Services",
"IsActive": true,
"ShowOnProductFront": true,
"ShowOnCartFront": true,
"ShowOnAttachmentFront": true,
"ShowOnFileUpload": true,
"IsGiftCard": true,
"IsRequired": true
}
Response body has the following properties:
Attribute | Type | Description |
---|---|---|
Id | integer | SKU Service Type ID |
Name | string | SKU Service Type Name |
IsActive | boolean | If the SKU Service Type is active or not |
ShowOnProductFront | boolean | Deprecated |
ShowOnCartFront | boolean | If the SKU Service Type is displayed on the cart screen |
ShowOnAttachmentFront | boolean | If the SKU Service Type has an attachment |
ShowOnFileUpload | boolean | If the SKU Service Type can be associated with an attachment or not |
IsGiftCard | boolean | If the SKU Service Type is displayed as a Gift Card |
IsRequired | boolean | If the SKU Service type mandatory |
Response body example:
{
"Id": 2,
"Name": "Teste API Sku Services",
"IsActive": true,
"ShowOnProductFront": true,
"ShowOnCartFront": true,
"ShowOnAttachmentFront": true,
"ShowOnFileUpload": true,
"IsGiftCard": true,
"IsRequired": true
}