---
title: "Create MP label"
url: "https://developer-qual.migros.ch/apis/odin-1/versions/ea750027-e89a-4267-ace5-9e2cc74dc68b/operations/create-mp-label"
---

> Full API specification: https://developer-qual.migros.ch/apis/odin-1/versions/ea750027-e89a-4267-ace5-9e2cc74dc68b.md

# Create MP label

`POST` `/migrospartner/products/odin/v1/label`

Operation ID: `create-mp-label`

Gathers product-, price-, scale- and store-data, creates a label and starts the image generation process.

## Request body (required)

Content types: `application/json`

## Responses

- `201` - Label created

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Odin
  version: 1.0.0
servers:
  - description: URL of upstream
    url: https://api-qual.migros.ch
paths:
  /migrospartner/products/odin/v1/label:
    post:
      description: Gathers product-, price-, scale- and store-data, creates a label
        and starts the image generation process.
      operationId: create-mp-label
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/MigrosPartnerMoFipLabel"
        required: true
      responses:
        "201":
          description: Label created
      summary: Create MP label
      tags:
        - ESL-MP
security:
  - Kong-Api-Key: []
components:
  schemas:
    MigrosPartnerMoFipLabel:
      description: MoFipLabel represents the model which MoFip sends while pairing.
      properties:
        arrow:
          example: none
          type: string
        gtin:
          example: "2124307000000"
          type: string
        label_id:
          example: 0BC62A0BB696
          type: string
        origin_country:
          example: Espagne
          type: string
        product_id:
          example: "275700501000"
          type: string
        show_delivery_by_air:
          example: false
          nullable: true
          type: boolean
        show_delivery_interruption:
          example: false
          nullable: true
          type: boolean
        store_id:
          example: "0063940"
          type: string
        wildfang:
          example: ""
          type: string
      required:
        - label_id
        - store_id
        - product_id
        - gtin
        - origin_country
        - wildfang
        - show_delivery_by_air
        - show_delivery_interruption
        - arrow
      type: object
  securitySchemes:
    Kong-Api-Key:
      description: Kong key-auth authentication
      in: header
      name: X-Api-Key
      type: apiKey
```
