GLS Group Shop Return API

The ShopReturn API from GLS Group — 1 operation(s) for shopreturn.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/ShopReturn/Create Create a shop return label · CreateShopReturn #
Ask an LLM
“How do I create a return label for a customer's return?”
“Can I set the return reason and send labels by email?”
Tell an agent
Create a shop return label for {customerNo} with return reason {returnReason}.
Create a return label for {customerNo} and send it by email.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gls-group:gls-group-shopreturn-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gls-group-shopreturn-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GLS Netherlands LabelApi - Production Shop Return API
  description: GLS Label API Production environment
  version: v1
servers:
- url: https://api.gls.nl/v1
tags:
- name: ShopReturn
paths:
  /api/ShopReturn/Create:
    post:
      tags:
      - ShopReturn
      summary: CreateShopReturn
      operationId: CreateShopReturn
      parameters:
      - name: api-version
        in: query
        description: The requested API version
        schema:
          type: string
          default: '1.0'
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/InboundCreateShopReturnRequest'
            example:
              username: string
              password: string
              shippingSystemName: string
              shippingSystemVersion: string
              shiptype: p
              customerNo: string
              customerSubjectName: string
              reference: string
              trackingLinkType: u
              units:
              - unitId: string
                unitType: co
                customerUnitReference: string
                weight: 0
                dimensions:
                  length: 0
                  width: 0
                  height: 0
                additionalInfo1: string
                additionalInfo2: string
              labelType: zpl
              labelA4StartPosition: 0
              labelA4MoveXMm: 0
              labelA4MoveYMm: 0
              addresses:
                pickupAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                deliveryAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                  addresseeType: b
                requesterAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
              returnReason: string
              sendLabelsByEmail: true
          application/json:
            schema:
              $ref: '#/components/schemas/InboundCreateShopReturnRequest'
            example:
              username: string
              password: string
              shippingSystemName: string
              shippingSystemVersion: string
              shiptype: p
              customerNo: string
              customerSubjectName: string
              reference: string
              trackingLinkType: u
              units:
              - unitId: string
                unitType: co
                customerUnitReference: string
                weight: 0
                dimensions:
                  length: 0
                  width: 0
                  height: 0
                additionalInfo1: string
                additionalInfo2: string
              labelType: zpl
              labelA4StartPosition: 0
              labelA4MoveXMm: 0
              labelA4MoveYMm: 0
              addresses:
                pickupAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                deliveryAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                  addresseeType: b
                requesterAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
              returnReason: string
              sendLabelsByEmail: true
          text/json:
            schema:
              $ref: '#/components/schemas/InboundCreateShopReturnRequest'
            example:
              username: string
              password: string
              shippingSystemName: string
              shippingSystemVersion: string
              shiptype: p
              customerNo: string
              customerSubjectName: string
              reference: string
              trackingLinkType: u
              units:
              - unitId: string
                unitType: co
                customerUnitReference: string
                weight: 0
                dimensions:
                  length: 0
                  width: 0
                  height: 0
                additionalInfo1: string
                additionalInfo2: string
              labelType: zpl
              labelA4StartPosition: 0
              labelA4MoveXMm: 0
              labelA4MoveYMm: 0
              addresses:
                pickupAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                deliveryAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                  addresseeType: b
                requesterAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
              returnReason: string
              sendLabelsByEmail: true
          application/*+json:
            schema:
              $ref: '#/components/schemas/InboundCreateShopReturnRequest'
            example:
              username: string
              password: string
              shippingSystemName: string
              shippingSystemVersion: string
              shiptype: p
              customerNo: string
              customerSubjectName: string
              reference: string
              trackingLinkType: u
              units:
              - unitId: string
                unitType: co
                customerUnitReference: string
                weight: 0
                dimensions:
                  length: 0
                  width: 0
                  height: 0
                additionalInfo1: string
                additionalInfo2: string
              labelType: zpl
              labelA4StartPosition: 0
              labelA4MoveXMm: 0
              labelA4MoveYMm: 0
              addresses:
                pickupAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                deliveryAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
                  addresseeType: b
                requesterAddress:
                  name1: string
                  name2: string
                  name3: string
                  street: string
                  houseNo: string
                  houseNoExt: string
                  zipCode: string
                  city: string
                  countryCode: string
                  contact: string
                  phone: string
                  email: string
              returnReason: string
              sendLabelsByEmail: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCreateLabelResponseObject'
              example:
                error: true
                status: string
                message: string
                errors: {}
                transactionId: string
                shipmentTrackingLink: string
                labels: string
                units:
                - {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseObject'
              example:
                error: true
                status: string
                message: string
                errors: {}
                transactionId: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseObject'
              example:
                error: true
                status: string
                message: string
                errors: {}
                transactionId: string
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseObject'
              example:
                error: true
                status: string
                message: string
                errors: {}
                transactionId: string
        '424':
          description: Failed Dependency
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponseObject'
              example:
                error: true
                status: string
                message: string
                errors: {}
                transactionId: string
components:
  schemas:
    ApiResponseObject:
      type: object
      properties:
        error:
          type: boolean
          readOnly: true
        status:
          type:
          - string
          - 'null'
        message:
          type:
          - string
          - 'null'
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type:
            - array
            - 'null'
            items:
              type: string
        transactionId:
          type:
          - string
          - 'null'
          format: uuid
      additionalProperties: false
    Dimensions:
      type: object
      properties:
        length:
          type: integer
          format: int32
        width:
          type: integer
          format: int32
        height:
          type: integer
          format: int32
      additionalProperties: false
    InboundCreateShopReturnRequest:
      required:
      - password
      - username
      type: object
      properties:
        username:
          maxLength: 70
          minLength: 1
          type: string
        password:
          maxLength: 20
          minLength: 1
          type: string
          writeOnly: true
        shippingSystemName:
          type:
          - string
          - 'null'
        shippingSystemVersion:
          type:
          - string
          - 'null'
        shiptype:
          $ref: '#/components/schemas/ShipType'
        customerNo:
          maxLength: 8
          minLength: 7
          type:
          - string
          - 'null'
        customerSubjectName:
          maxLength: 50
          type:
          - string
          - 'null'
        reference:
          maxLength: 20
          type:
          - string
          - 'null'
        trackingLinkType:
          $ref: '#/components/schemas/TrackingLinkType'
        units:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Unit'
        labelType:
          $ref: '#/components/schemas/LabelResultType'
        labelA4StartPosition:
          type:
          - integer
          - 'null'
          format: int32
        labelA4MoveXMm:
          type:
          - integer
          - 'null'
          format: int32
        labelA4MoveYMm:
          type:
          - integer
          - 'null'
          format: int32
        addresses:
          $ref: '#/components/schemas/PickupAddresses'
        returnReason:
          type:
          - string
          - 'null'
        sendLabelsByEmail:
          type: boolean
      additionalProperties: false
    AdresseeType:
      enum:
      - b
      - p
      type: string
    ApiCreateLabelResponseObject:
      type: object
      properties:
        error:
          type: boolean
          readOnly: true
        status:
          type:
          - string
          - 'null'
        message:
          type:
          - string
          - 'null'
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type:
            - array
            - 'null'
            items:
              type: string
        transactionId:
          type:
          - string
          - 'null'
          format: uuid
        shipmentTrackingLink:
          type:
          - string
          - 'null'
        labels:
          type:
          - string
          - 'null'
        units:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApiUnit'
      additionalProperties: false
    UnitType:
      enum:
      - co
      - lg
      - mp
      - bp
      - xl
      - pl
      - rl
      type: string
    Unit:
      required:
      - unitId
      - weight
      type: object
      properties:
        unitId:
          maxLength: 50
          minLength: 1
          type: string
        unitType:
          $ref: '#/components/schemas/UnitType'
        customerUnitReference:
          maxLength: 35
          type:
          - string
          - 'null'
        weight:
          type: number
          format: float
        dimensions:
          $ref: '#/components/schemas/Dimensions'
        additionalInfo1:
          maxLength: 30
          type:
          - string
          - 'null'
        additionalInfo2:
          maxLength: 30
          type:
          - string
          - 'null'
      additionalProperties: false
    PickupAddresses:
      type: object
      properties:
        pickupAddress:
          $ref: '#/components/schemas/PickupAddress'
        deliveryAddress:
          $ref: '#/components/schemas/DeliveryAddress'
        requesterAddress:
          $ref: '#/components/schemas/RequesterAddress'
      additionalProperties: false
    PickupAddress:
      required:
      - city
      - countryCode
      - name1
      - street
      - zipCode
      type: object
      properties:
        name1:
          maxLength: 30
          minLength: 1
          type: string
        name2:
          maxLength: 30
          type:
          - string
          - 'null'
        name3:
          maxLength: 30
          type:
          - string
          - 'null'
        street:
          maxLength: 40
          minLength: 1
          type: string
        houseNo:
          maxLength: 5
          type:
          - string
          - 'null'
        houseNoExt:
          maxLength: 5
          type:
          - string
          - 'null'
        zipCode:
          maxLength: 8
          minLength: 1
          type: string
        city:
          maxLength: 30
          minLength: 1
          type: string
        countryCode:
          maxLength: 2
          minLength: 1
          type: string
        contact:
          maxLength: 30
          type:
          - string
          - 'null'
        phone:
          maxLength: 25
          type:
          - string
          - 'null'
        email:
          maxLength: 320
          type:
          - string
          - 'null'
      additionalProperties: false
    ApiUnit:
      type: object
      additionalProperties: false
    RequesterAddress:
      required:
      - city
      - countryCode
      - name1
      - street
      - zipCode
      type: object
      properties:
        name1:
          maxLength: 30
          minLength: 1
          type: string
        name2:
          maxLength: 30
          type:
          - string
          - 'null'
        name3:
          maxLength: 30
          type:
          - string
          - 'null'
        street:
          maxLength: 40
          minLength: 1
          type: string
        houseNo:
          maxLength: 5
          type:
          - string
          - 'null'
        houseNoExt:
          maxLength: 5
          type:
          - string
          - 'null'
        zipCode:
          maxLength: 8
          minLength: 1
          type: string
        city:
          maxLength: 30
          minLength: 1
          type: string
        countryCode:
          maxLength: 2
          minLength: 1
          type: string
        contact:
          maxLength: 30
          type:
          - string
          - 'null'
        phone:
          maxLength: 25
          type:
          - string
          - 'null'
        email:
          maxLength: 320
          type:
          - string
          - 'null'
      additionalProperties: false
    TrackingLinkType:
      enum:
      - u
      - s
      type: string
    LabelResultType:
      enum:
      - zpl
      - zplUtf8
      - zpl300
      - zpl300Utf8
      - pdf
      - pdfRoutingOnly
      - zplRoutingOnly
      - zplUtf8RoutingOnly
      - zpl300RoutingOnly
      - zpl300Utf8RoutingOnly
      - pdfA6U
      - pdfA6S
      - pdf2A4
      - pdf4A4
      - none
      type: string
    ShipType:
      enum:
      - p
      - f
      type: string
    DeliveryAddress:
      required:
      - city
      - countryCode
      - name1
      - street
      - zipCode
      type: object
      properties:
        name1:
          maxLength: 30
          minLength: 1
          type: string
        name2:
          maxLength: 30
          type:
          - string
          - 'null'
        name3:
          maxLength: 30
          type:
          - string
          - 'null'
        street:
          maxLength: 40
          minLength: 1
          type: string
        houseNo:
          maxLength: 5
          type:
          - string
          - 'null'
        houseNoExt:
          maxLength: 5
          type:
          - string
          - 'null'
        zipCode:
          maxLength: 8
          minLength: 1
          type: string
        city:
          maxLength: 30
          minLength: 1
          type: string
        countryCode:
          maxLength: 2
          minLength: 1
          type: string
        contact:
          maxLength: 30
          type:
          - string
          - 'null'
        phone:
          maxLength: 25
          type:
          - string
          - 'null'
        email:
          maxLength: 320
          type:
          - string
          - 'null'
        addresseeType:
          $ref: '#/components/schemas/AdresseeType'
      additionalProperties: false