Variants

Update variants

Updates one or more variants in the workspace, identified by their current developer IDs.

Only provided fields are modified. The whole batch is rejected if any update is invalid.

patch/variants

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/variants
  • Auth: API key in header Authorization

Request body

Example request

{
  "updates": [
    {
      "developerId": "spanish",
      "description": "Spanish translations for Mexico",
      "localeCode": "es-mx"
    },
    {
      "developerId": "fr-ca",
      "name": "French (Canada)",
      "newDeveloperId": "french-canada"
    }
  ]
}

Response

Returns success status of the update operation

successboolean required

Indicates whether the update was successful

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.