# Variação de Produto

## DELETE - Excluindo uma variação&#x20;

Ao optar pela exclusão de uma variação de item publicado no marketplace é necessário verificar se não existem pedidos pendentes de integração com a API; caso haja um pedido pendente no marketplace e o SKU seja removido, a entrega não será integrada a API e não poderá ser consumida pela plataforma/ERP.

Para seguir com a exclusão é preciso realizar um DELETE na seguinte URL, referenciando o SKU da variação a ser excluída:

```
https://api.skyhub.com.br/variations/{SKU_VARIACAO}
```

#### **Request headers:**

| Key                  | Value                                       |
| -------------------- | ------------------------------------------- |
| X-User-Email         | email\_de\_usuario                          |
| X-Api-Key            | token\_de\_integracao de sua conta SkyHub   |
| X-Accountmanager-Key | token\_account único de cada Plataforma/ERP |
| Accept               | application/json                            |
| Content-Type         | application/json                            |

#### **Example request:**

```
curl --location -g --request DELETE 'https://api.skyhub.com.br/variations/{SKU_VARIACAO}' \
--header 'X-User-Email: email_de_usuario' \
--header 'X-Api-Key: token_de_integracao de sua conta SkyHub' \
--header 'X-Accountmanager-Key: token_account único de cada Plataforma/ERP' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
```

#### **Response esperado:**

{% hint style="success" %}
204 \[Success] - No content
{% endhint %}

{% hint style="warning" %}
**Não é possível a exclusão via batch.**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desenvolvedores.skyhub.com.br/produtos/excluir-produto/produto-variavel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
