---
title: "/2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append"
method: POST
path: "/2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append"
tags: ["Campaign"]
---

# /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append

`POST /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append`

This endpoint appends one or more add to basket ids to targeting on the specified line item.  The resulting state of the add to basket target is returned.

## Path parameters

- `line-item-id` string, required

## Request body

- AddToBasketIdsUpdateModel202110Request — Data model for a value type input resource
  - `data` ValueTypeResourceOfAddToBasketIdsUpdateModel202110 — Data model for a value type resource
    - `attributes` AddToBasketIdsUpdateModel202110 — Update model for updating add to basket target ids
      - `categoryIds` string[] — Category ids that add to basket should target
      - `productIds` string[] — Product ids that add to basket should target
    - `type` string

## Response `200`

Success

- AddToBasketTarget202110Response — Data model for a value type resource outcome
  - `data` ValueTypeResourceOfAddToBasketTarget202110 — Data model for a value type resource
    - `attributes` AddToBasketTarget202110 — Identifies add to basket targeting for a line item
      - `categoryIds` string[] — Category ids that add to basket should target
      - `productIds` string[] — Product ids that add to basket should target
      - `scope` 'unknown' | 'include' | 'exclude', required — Scope of the add to basket target
    - `type` string
  - `errors` CommonProblem[]
    - `code` string, nullable — A machine-readable error code, expressed as a string value.
    - `detail` string, nullable — A human-readable explanation specific to this occurrence of the problem
    - `instance` string, nullable — A URI that identifies the specific occurrence of the problem.
    - `source` object, nullable — A machine-readable structure to reference to the exact location(s) causing the error(s)
    - `stackTrace` string, nullable
    - `title` string, nullable — A short human-readable description of the problem type
    - `traceId` string, nullable — The request correlation ID this problem comes from.
    - `traceIdentifier` string, nullable — The request correlation ID this problem comes from. (deprecated, use traceId instead)
    - `type` 'unknown' | 'access-control' | 'authentication' | 'authorization' | 'availability' | 'deprecation' | 'quota' | 'validation', nullable — The problem's category.
  - `warnings` CommonProblem[]
    - `code` string, nullable — A machine-readable error code, expressed as a string value.
    - `detail` string, nullable — A human-readable explanation specific to this occurrence of the problem
    - `instance` string, nullable — A URI that identifies the specific occurrence of the problem.
    - `source` object, nullable — A machine-readable structure to reference to the exact location(s) causing the error(s)
    - `stackTrace` string, nullable
    - `title` string, nullable — A short human-readable description of the problem type
    - `traceId` string, nullable — The request correlation ID this problem comes from.
    - `traceIdentifier` string, nullable — The request correlation ID this problem comes from. (deprecated, use traceId instead)
    - `type` 'unknown' | 'access-control' | 'authentication' | 'authorization' | 'availability' | 'deprecation' | 'quota' | 'validation', nullable — The problem's category.

---

[API](https://skmtc.net/criteo/apis/criteo-api.md) · [All operations](https://skmtc.net/criteo/apis/criteo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/criteo/criteo-api/revisions/c1721589426a/schema)
