> ## 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.

# Get an operationToken (Product Importer API)

> This recipe shows how to get an operationToken

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
       --url https://api.criteo.com/preview/retail-media/catalog/products/batch \
       --header 'accept: application/json' \
       --header 'content-type: application/json'
  ```

  ```json JSON theme={null}
  {
  	"entries":[
  		{
  			"merchantId":"123",
  			"method":"insert",
  			"product":{
          "id":"id",
          "title":"myTitle",
          "description":"myDescription",
          "link":"https://www.advertiser.com/myProduct",
          "imageLink":"https://www.advertiser.com/300x200/myProduct",
          "brand":"",
          "googleProductCategory":null,
          "gtin":"123456789",
          "price":{
            "currency":"EUR",
            "value":"49.99"
          },
          "availability":"in stock"
        },
        "feedId":"string"
      }
    ]
  }

  ```
</RequestExample>

<ResponseExample>
  ```json Response Example theme={null}
  {
    "operationToken" : "eyJhbGciOiJub25lIn0.eyJwYXJ0bmVySWQiOjEyMywib3BlcmF0aW9uSWQiOiIxNzE2YzExNC1mZThjLTRiZmYtOGFiNC0zYzM5YTQwY2M1ZGMiLCJleHAiOjE2MTYxNDIwMDJ9."
  }
  ```
</ResponseExample>

<Steps>
  <Step title="Send a batch request">
    Send a product batch request using the POST BATCH endpoint.
  </Step>

  <Step title="Get the operationToken from the response">
    A successful BATCH request will return an operationToken.
  </Step>
</Steps>
