# deleteCatalogItem

Source: <https://telegafirst.com/docs/api-op-deletecatalogitem>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 26229d753942ec6c381686c4ccfcc44e2f6e5012f2d79440c6d5a25d1036bbc6
Version: 3

# deleteCatalogItem

`DELETE /api/v1/catalog/{seq_id}`

deleteCatalogItem

## Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

| Поле | Значение |
| - | - |
| security.0.hubApiKey | \[] |
| security.1.hubBearer | \[] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | \["catalog:write"] |

## Параметры запроса

| Поле | Значение |
| - | - |
| 0.description | "Optional: a sent key makes a retry replay the first answer from the 24-hour global cache." |
| 0.in | "header" |
| 0.name | "Idempotency-Key" |
| 0.required | false |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95) |
| 1.in | "path" |
| 1.name | "seq\_id" |
| 1.required | true |
| 1.schema | [1.schema](https://telegafirst.com/docs/schema-1530eae3d9b69eb0d4bf2268a4cc47372fcec06f1cf1736785dd6f16848382fc) |

## Тело запроса

| Поле | Значение |
| - | - |
| Тело запроса | null |

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [CatalogDeleteResult](https://telegafirst.com/docs/schema-dba271126a46022ecdf6072799258b8e9626289b981b5c5c9301c0fc1c093d9e) |
| 200.description | "Catalog item deleted (or already deleted)" |

## Ошибки

| Поле | Значение |
| - | - |
| 400.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 400.description | "Catalog sequence does not match the request schema" |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 401.description | "Missing or invalid API key" |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 403.description | "Catalog write scope or resource policy refused the request" |
| 404.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 404.description | "Catalog item was not found for the authenticated tenant" |
| 409.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 409.description | "CONFLICT: a request under the same Idempotency-Key is still processing" |
| 422.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 422.description | "IDEMPOTENCY\_KEY\_MISMATCH: the Idempotency-Key was already used for a different request" |

## Дополнительные условия

| Поле | Значение |
| - | - |
| description | "Soft delete: the item leaves the showcase, storefront and listings and can no longer be bought; existing orders keep their own item snapshot. A repeat answers deleted:true again. Undo with content publish intent RESTORE; to pause sales only, PATCH is\_active:false. Requires an API key credential, supplied in X-Api-Key or Authorization: Bearer tgf\_\*." |
| operationId | "deleteCatalogItem" |
| tags | \["catalog"] |
| x-idempotency | "http-cache" |
