> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

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

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



## OpenAPI

````yaml https://api.criteo.com/2026-01/retailmedia/open-api-specifications.json post /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - RetailMedia
  version: 2026-01
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Audience
  - name: Balance
  - name: Billing
  - name: Campaign
  - name: Gateway
paths:
  /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append:
    post:
      tags:
        - Campaign
      summary: >-
        /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append
      description: >-
        This endpoint appends one or more store ids to targeting on the
        specified line item.  The resulting state of the store target is
        returned.
      operationId: AppendStoreTargetsByLineItemId
      parameters:
        - name: line-item-id
          in: path
          description: The line item to interact with
          required: true
          schema:
            type: string
      requestBody:
        description: Store ids to append to the target
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreIdsUpdateModel202110Request'
        x-bodyName: idsToAppend
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoreTarget202110Response'
      security:
        - oauth:
            - RetailMedia_Campaign_Manage
components:
  schemas:
    StoreIdsUpdateModel202110Request:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/ValueTypeResourceOfStoreIdsUpdateModel202110'
      description: Data model for a value type input resource
    StoreTarget202110Response:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/ValueTypeResourceOfStoreTarget202110'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          readOnly: true
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          readOnly: true
      description: Data model for a value type resource outcome
    ValueTypeResourceOfStoreIdsUpdateModel202110:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/StoreIdsUpdateModel202110'
        type:
          type: string
      description: Data model for a value type resource
    ValueTypeResourceOfStoreTarget202110:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/StoreTarget202110'
        type:
          type: string
      description: Data model for a value type resource
    CommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s)
          nullable: true
        stackTrace:
          type: string
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        traceIdentifier:
          type: string
          description: >-
            The request correlation ID this problem comes from. (deprecated, use
            traceId instead)
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      description: Common problem object.
    StoreIdsUpdateModel202110:
      required:
        - storeIds
      type: object
      properties:
        storeIds:
          type: array
          items:
            type: string
          description: Store ids that should be targeted
      description: Update model for updating store target ids
    StoreTarget202110:
      required:
        - scope
        - storeIds
      type: object
      properties:
        scope:
          enum:
            - unknown
            - include
            - exclude
          type: string
          description: Scope of the store target
        storeIds:
          type: array
          items:
            type: string
          description: Store ids that should be targeted
      description: Identifies store targeting for a line item
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````