---
updatedAt: 2026-01-22T09:33:23.000Z
agentTools:
  projectIndex: https://developers.trendyol.com/v2.0/llms.txt
---

# Product Archive

### Product Archive (v2/archiveProducts)

This method is used to archive or unarchive your products in the Trendyol system. It supports both single and multiple product archiving operations.

* Before archiving your products with this method, your products must exist in the Trendyol system.
* The maximum number of items that can be submitted per request is 1,000.
* Archived products become invisible on Trendyol, but they are not permanently deleted.
* Products removed from the archive become active again.
* You can use product filter service to check the status of archived products. Responses include an "archived" field.

<Callout icon="❗️" theme="error">
  Check Batchrequest Result

  After the product create process, you need to check the status of your products and the transfer process via the **[getBatchRequestResult](https://integration-documentation-udwy.readme.io/v2.0/docs/check-batchrequest-result-getbatchrequestresult)** service with the batchRequestId in the response.
</Callout>

### **PUT** archiveProducts (Product Archive)

<NoLinkCallout type="info" title="PROD">
  [https://apigw.trendyol.com/integration/product/sellers/\{sellerId}/products/archive-state](https://apigw.trendyol.com/integration/product/sellers/\{sellerId}/products/archive-state)
</NoLinkCallout>

<NoLinkCallout type="info" title="STAGE">
  [https://stageapigw.trendyol.com/integration/product/sellers/\{sellerId}/products/archive-state](https://stageapigw.trendyol.com/integration/product/sellers/\{sellerId}/products/archive-state)
</NoLinkCallout>

**Service Parameters**

| Parameters | Requirement | Description                                                                           | Data Type | Max. Char |
| :--------- | :---------- | :------------------------------------------------------------------------------------ | :-------- | :-------- |
| items      | Yes         | List of products to be archived/unarchived.                                           | Array     | -         |
| barcode    | Yes         | Product barcode.                                                                      | string    | 40        |
| archived   | Yes         | Archive status. true: archive the product, false: remove the product from the archive | boolean   | -         |

**Sample Service Request - Product Archive**

```json
{
  "items": [
    {
      "barcode": "barkod-1234",
      "archived": true
    },
    {
      "barcode": "barkod-5678",
      "archived": true
    }
  ]
}
```

**Sample Service Request - Product Unarchive**

```json
{
  "items": [
    {
      "barcode": "barkod-1234",
      "archived": false
    },
    {
      "barcode": "barkod-5678",
      "archived": false
    }
  ]
}
```

**Sample Service Request - Product Archive/Unarchive**

```json
{
  "items": [
    {
      "barcode": "barkod-1234",
      "archived": true
    },
    {
      "barcode": "barkod-5678",
      "archived": false
    },
    {
      "barcode": "barkod-9012",
      "archived": true
    }
  ]
}
```

**Service Responses**

| Status Code | Definition                                                                                                                                                                                                                                                                                          |
| :---------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **200**     | The request was successful. you need to check the status of your products and the transfer process via the **[getBatchRequestResult](https://integration-documentation-udwy.readme.io/v2.0/docs/check-batchrequest-result-getbatchrequestresult)** service with the batchRequestId in the response. |
| **400**     | Missing or incorrect parameter is used in the URL. Review the document again.                                                                                                                                                                                                                       |
| **401**     | One of the supplierID, API Key, API Secure Key information you used while sending the request is missing or incorrect. You can find the right information for your store on **[Trendyol Seller Panel](https://partner.trendyol.com/auth/login?redirect=%2Faccount%2Finfo)**.                        |
| **404**     | The request url information is incorrect. Review the document again.                                                                                                                                                                                                                                |
| **500**     | There may have been a momentary error. In case the situation does not improve by waiting a few minutes, create a request under the heading "API Integration Support Request" with the endpoint used, the sent request and the response.                                                             |

**Invalid Barcode Error**

```json
{
  "errors": [
    {
      "key": "invalid.barcode",
      "message": "Barkod formatı geçersiz",
      "errorCode": "400"
    }
  ]
}
```

**Product Not Found Error**

```json
{
  "errors": [
    {
      "key": "product.not.found",
      "message": "Ürün sistemde bulunamadı",
      "errorCode": "404"
    }
  ]
}
```