Update attachment

Updates a previously existing SKU attachment with new information.

⚠️ To understand the specific syntax for Assembly Options attachments, read the Assembly Options documentation.

Request body example

{
  "Name": "Test",
  "IsRequired": true,
  "IsActive": true,
  "Domains": [
    {
      "FieldName": "Basic test",
      "MaxCaracters": "",
      "DomainValues": "[1-2]#9[1-1][1]basic;#11[0-1][1]basic"
    },
    {
      "FieldName": "teste",
      "MaxCaracters": "",
      "DomainValues": "[0-10]#8[0-3][0]medium;#9[0-3][0]medium;#10[0-3][0]medium;#11[0-3][0]medium;#36[0-3][0]medium;#37[0-3][0]medium;#38[0-3][0]medium"
    }
  ]
}

Response body example

{
  "Id": 8,
  "Name": "Test",
  "IsRequired": true,
  "IsActive": true,
  "Domains": [
    {
      "FieldName": "Basic test",
      "MaxCaracters": "",
      "DomainValues": "[1-2]#9[1-1][1]basic;#11[0-1][1]basic"
    },
    {
      "FieldName": "teste",
      "MaxCaracters": "",
      "DomainValues": "[0-10]#8[0-3][0]medium;#9[0-3][0]medium;#10[0-3][0]medium;#11[0-3][0]medium;#36[0-3][0]medium;#37[0-3][0]medium;#38[0-3][0]medium"
    }
  ]
}

Request body has the following properties:

AttributeTypeDescription
NamestringAttachment Name
IsRequiredbooleanIf it is required or not
IsActivebooleanIf the attachment is active or not
Domainsarray of objectsAttachment list of characteristics
FieldNamestringAttachment key Name
MaxCaractersstringKey max number of characters
DomainValuesstringAllowed key values

Request body example:

{
   "Name": "Test",
   "IsRequired": true,
   "IsActive": true,
   "Domains": [
       {
           "FieldName": "Basic test",
           "MaxCaracters": "",
           "DomainValues": "[1-2]#9[1-1][1]basic;#11[0-1][1]basic"
       },
       {
           "FieldName": "teste",
           "MaxCaracters": "",
           "DomainValues": "[0-10]#8[0-3][0]medium;#9[0-3][0]medium;#10[0-3][0]medium;#11[0-3][0]medium;#36[0-3][0]medium;#37[0-3][0]medium;#38[0-3][0]medium"
       }
   ]
}

Response body has the following properties:

AttributeTypeDescription
IdintegerAttachment ID
NamestringAttachment Name
IsRequiredbooleanIf it is required or not
IsActivebooleanIf the attachment is active or not
Domainsarray of objectsAttachment list of characteristics
FieldNamestringAttachment key Name
MaxCaractersstringKey max number of characters
DomainValuesstringAllowed key values

Response body example:

{
     "Id": 8,
   "Name": "Test",
   "IsRequired": true,
   "IsActive": true,
   "Domains": [
       {
           "FieldName": "Basic test",
           "MaxCaracters": "",
           "DomainValues": "[1-2]#9[1-1][1]basic;#11[0-1][1]basic"
       },
       {
           "FieldName": "teste",
           "MaxCaracters": "",
           "DomainValues": "[0-10]#8[0-3][0]medium;#9[0-3][0]medium;#10[0-3][0]medium;#11[0-3][0]medium;#36[0-3][0]medium;#37[0-3][0]medium;#38[0-3][0]medium"
       }
   ]
}
Language
Authentication
URL
Click Try It! to start a request and see the response here!