---
title: "Import SMVM prices from PriceRepository"
url: "https://developer.migros.ch/apis/prices-discounts-1/versions/f2d88540-a3d1-4e7d-9eb7-5d3dac51c93d/operations/smvmImport"
---

> Full API specification: https://developer.migros.ch/apis/prices-discounts-1/versions/f2d88540-a3d1-4e7d-9eb7-5d3dac51c93d.md

# Import SMVM prices from PriceRepository

`POST` `/migros/products/prices/v1/smvmimport`

Operation ID: `smvmImport`

This endpoint offers the possibility for PriceRepository to send price updates.

## Responses

- `201` - Price successfully imported.
- `400` - Bad request. Unable to read body.
- `422` - XML extraction failed.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Prices & Discounts
  version: 1.6.0
servers:
  - description: URL of upstream
    url: https://api.migros.ch
paths:
  /migros/products/prices/v1/smvmimport:
    post:
      description: This endpoint offers the possibility for PriceRepository to send
        price updates.
      operationId: smvmImport
      responses:
        "201":
          content:
            text/plain:
              schema:
                type: string
          description: Price successfully imported.
        "400":
          content:
            text/plain:
              schema:
                type: string
          description: Bad request. Unable to read body.
        "422":
          content:
            text/plain:
              schema:
                type: string
          description: XML extraction failed.
        "500":
          content:
            text/plain:
              schema:
                type: string
          description: Internal server error.
      summary: Import SMVM prices from PriceRepository
      tags:
        - SMVM-Import
security:
  - Kong-Api-Key: []
components:
  securitySchemes:
    Kong-Api-Key:
      description: Kong key-auth authentication
      in: header
      name: X-Api-Key
      type: apiKey
```
