Partakus API documentation
Version v1

Welcome

This document describes a set of API that are public

Before start

Q: How to construct the full url from the endpoint ?

All the APIs mentioned here are begin with the base url : "hub.partakus.com/api"

Q: How authentication is done generally ?

First of all, you need the token to use all the APIs here. To obtain the token, you can call the login API with your email, password and domain (optional).
After that, for all the other APIs, add the following header :
'Authorization': "Bearer (your token)"

Q: How to do an import ?

Step1) Get the presigned URL : call the import API with the import type and the file name to get the presigned URL.
Step2) Upload your file: call the presigned URL as a PUT request with your file to import and the following headers :
'x-amz-meta-import-origin': '(the choosen type MANUAL or BATCH)'
'x-amz-meta-name': '(the file name)'
'Content-Disposition': 'attachment; filename=(the file name)'
'Content-Type': 'text/csv'

Login

Login API Reference

/public/login post

post /public/login

login to the application to get a token

Headers

  • User-Agent: required (string)

Body

Media type: application/json

Type: object

Properties

  • email: required (string)
  • password: required (string)
  • domain: (string)

Example:

{
    "email": "profile.test@gmail.com",
    "password": "password",
    "domain": "mybrand"
}

HTTP status code 200

Body

Media type: application/json

Type: string

Example:

toKenExaMpLEV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..5nSmKnIc25de2uPrAkIT1w.qPtQPUb0ImquWxfrUyhx1NmfR6p8Md5Zv22pRDsFTYembnMhABtyO3ocx9CtQkxuoATQG41SO7SPJFojLNBzn_IRMzwNhCJcjKXL-YHz1iLY1GbIBEcKqXxJD6w9Q_5eu1wHQaBcrCPc3G6uF9XW7OlSgM2y8LoWdcstuxF2TBmQjFg2klE_q_EptbpnSKeE7JiqKJ2Plt_8y4PUbCqBMJ7CMFnMDSHMhK4wnr0dNsvSI19GtxgtQBPDZR444xXbe8ZqnnBkoGVM927MWSBVHxJvqt3b-vHv5c6FyuYM_WzNbu9Yhh2UZZQPJz_sxiAVoVQBSv_mthpmCYc-7CyGRajDaw60UtjC7iv7a2fw418K6N_eRzPs7Cb06aI3TFRU.RCbHoGVhi2mJYOylGM8O2A

Cart

Get current cart API Reference.

/public/cart get

get /public/cart

Gets the current cart of the connected user.

Headers

  • ALLPARTS-AUTH-TOKEN: required (string)

HTTP status code 200

Body

Media type: application/json

Type: object

Properties

  • price: required (object)
    • value: required (number)
    • currency: required (string)
  • returnablePrice: required (object)
    • value: required (number)
    • currency: required (string)
  • vatPrice: required (object)
    • value: required (number)
    • currency: required (string)
  • priceWithVat: required (object)
    • value: required (number)
    • currency: required (string)
  • cartLines: required (array of PublicCartLineResponseDTO)

    Items: PublicCartLineResponseDTO

    • part: required (object)
      • identifier: required (object)
        • kromeda: (object)
          • partNumber: required (string)
          • manufacturerId: required (string)
          • manufacturerLabel: required (string)
        • tecdoc: (object)
          • partNumber: required (string)
          • manufacturerId: required (string)
        • external: (object)
          • partNumber: required (string)
      • description: required (string)
    • seller: required (object)
      • id: required (string)
      • name: required (string)
      • companyName: required (string)
      • vatIdentifier: required (string)
      • establishmentNumber: required (string)
    • pricing: required (object)
      • netPrice: required (number)
      • publicPrice: required (number)
      • currency: required (string)
      • vat: required (number)
      • corePrice: required (number)
      • promotion: required (object)
        • externalId: required (string)
      • fees: required (array of items)

        Items: items

        • label: required (string)
        • price: required (number)
    • availabilities: required (object)
      • primaryWarehouseId: required (string)
      • warehouses: required (array of Warehouse)

        Items: Warehouse

        • externalId: required (string)
        • externalName: (string)
        • isPrimary: (boolean)
        • availableQuantity: required (number)
        • dispatchQuantity: required (number)
        • delivery: (object)
          • information: (string)
        • hideStock: (boolean)
    • urgent: required (boolean)
    • vehicle: (object)
      • brandLabel: required (string)
      • modelLabel: required (string)
      • versionLabel: required (string)
      • versionFromDate: required (string)
      • versionToDate: required (string)
      • versionBody: required (string)
      • engineCode: required (string)
      • vin: required (string)
      • fuel: required (string)
      • identifier: required (string)
      • versionId: required (string)
    • requestSeller: (object)
      • requestId: required (string)
      • requestNumber: required (number)
    • requestBuyer: (object)
      • requestId: required (string)
      • requestNumber: required (number)

Example:

{
    "price": {
        "value": 30.8,
        "currency": "EUR"
    },
    "returnablePrice": {
        "value": 2.8,
        "currency": "EUR"
    },
    "vatPrice": {
        "value": 6.78,
        "currency": "EUR"
    },
    "priceWithVat": {
        "value": 37.58,
        "currency": "EUR"
    },
    "cartLines": [
        {
            "part": {
                "identifier": {
                    "kromeda": {
                        "partNumber": "16783",
                        "manufacturerId": "059",
                        "manufacturerLabel": "FEBI"
                    },
                    "tecdoc": {
                        "partNumber": "16783",
                        "manufacturerId": "0101"
                    },
                    "external": {
                        "partNumber": "Kit plaquettes avant"
                    }
                },
                "description": "Kit de plaquettes de frein, frein à disque"
            },
            "seller": {
                "id": "5a058cb51eb961be11479e90",
                "name": "Distributor Rocco No4 NomEtab",
                "companyName": "Rocco Distribuzione4 RaisonSocEtab",
                "vatIdentifier": "IT0000000054"
            },
            "pricing": {
                "netPrice": 28,
                "publicPrice": 28,
                "currency": "EUR",
                "vat": 0.22,
                "corePrice": 2.8,
                "promotion": {},
                "fees": []
            },
            "availabilities": {
                "primaryWarehouseId": "398401",
                "warehouses": [
                    {
                        "externalId": "398401",
                        "externalName": "Warehouse Rocco No4 NomEntrepôt",
                        "availableQuantity": 10,
                        "dispatchQuantity": 1,
                        "delivery": {},
                        "hideStock": false,
                        "isPrimary": true
                    }
                ]
            },
            "urgent": true
        }
    ]
}

Prices and Availabilities

Prices and Availabilities API Reference.

/public/prices-availabilities post

post /public/prices-availabilities

Get all prices and availabilities for the given list of parts. A token shoud be passed in the header of the request.

Headers

  • ALLPARTS-AUTH-TOKEN: required (string)

Body

Media type: application/json

Type: array of part

Items: part

  • identifier: required (object)
    • kromeda: (object)
      • partNumber: required (string)
      • manufacturerId: required (string)
      • manufacturerLabel: required (string)
    • tecdoc: (object)
      • partNumber: required (string)
      • manufacturerId: required (string)
    • external: (object)
      • partNumber: required (string)
  • description: required (string)

Example:

[
  {
    "part": {
      "identifier": {
        "kromeda": {
          "partNumber": "1234",
          "manufacturerId": "195",
          "manufacturerLabel": "WALKER"
        },
        "tecdoc": {
          "partNumber": "1234",
          "manufacturerId": "0013"
        },
        "external": {
          "partNumber": "1234WALKER"
        }
      }
    }
  }
]

HTTP status code 200

Body

Media type: application/json

Type: array of PriceAndAvailability

Items: PriceAndAvailability

  • part: required (object)
    • identifier: required (object)
      • kromeda: (object)
        • partNumber: required (string)
        • manufacturerId: required (string)
        • manufacturerLabel: required (string)
      • tecdoc: (object)
        • partNumber: required (string)
        • manufacturerId: required (string)
      • external: (object)
        • partNumber: required (string)
    • description: required (string)
  • priceandavailabilities: required (array of PriceAndAvailability)

    Items: PriceAndAvailability

    • seller: required (object)
      • id: required (string)
      • name: required (string)
      • companyName: required (string)
      • vatIdentifier: required (string)
      • establishmentNumber: required (string)
    • pricing: required (object)
      • netPrice: required (number)
      • publicPrice: required (number)
      • currency: required (string)
      • vat: required (number)
      • corePrice: required (number)
      • promotion: required (object)
        • externalId: required (string)
      • fees: required (array of items)

        Items: items

        • label: required (string)
        • price: required (number)
    • availabilities: required (object)
      • primaryWarehouseId: required (string)
      • warehouses: required (array of Warehouse)

        Items: Warehouse

        • externalId: required (string)
        • externalName: (string)
        • isPrimary: (boolean)
        • availableQuantity: required (number)
        • dispatchQuantity: required (number)
        • delivery: (object)
          • information: (string)
        • hideStock: (boolean)
    • availabilityExternalInfo: (object)
      • link: (string)
      • description: (string)

Example:

[
  {
    "part": {
      "identifier": {
        "kromeda": {
          "partNumber": "1234",
          "manufacturerId": "195",
          "manufacturerLabel": "WALKER"
        },
        "tecdoc": {
          "partNumber": "1234",
          "manufacturerId": "0013"
        },
        "external": {
          "partNumber": "1234WALKER"
        }
      }
    },
    "priceandavailabilities": [
      {
        "seller": {
          "id": "58999f9373baed08e3bd10d0",
          "name": "PiVi Ricambi S.r.l",
          "companyName": "PiVi Ricambi S.r.l",
          "vatIdentifier": "IT09568040969",
          "establishmentNumber": "ESTITA18.000f97"
        },
        "pricing": {
          "netPrice": 204.25,
          "publicPrice": 215,
          "currency": "EUR",
          "vat": 45,
          "corePrice": 120,
          "promotion": {
            "externalId": "Promo2018"
          },
          "fees": [
            {
              "label": "ecotaxe",
              "price": 2.94
            }
          ]
        },
        "availabilities": {
          "primaryWarehouseId": "68",
          "warehouses": [
            {
              "externalId": "68",
              "externalName": "Milano",
              "isPrimary": true,
              "availableQuantity": 10,
              "delivery": {
                "information": "In 2 hours"
              },
              "hideStock": true
            },
            {
              "externalId": "24",
              "externalName": "Roma",
              "availableQuantity": 3,
              "hideStock": false
            },
            {
              "externalId": "44",
              "externalName": "Torino",
              "availableQuantity": 10,
              "hideStock": false
            }
          ]
        },
        "availabilityExternalInfo": {
          "link": "http://www.externalavailability.com",
          "description": "Decription of the external availability"
        }
      }
    ]
  }
]

Imports

Imports API Reference

/public/imports/upload-url get

get /public/imports/upload-url

Generate the presign URL in order to perform an upload to Amazon S3

Query Parameters

  • type: required (one of OFFER, PRODUCT, PART, STOCK, BRAND, CROSS_PART, TECHNICAL_INFOS, CLIENT_DOCUMENT, CUSTOMER, PAIRING_UPDATE, USER_UPDATE, WAREHOUSE_CONFIG, ORGANIZATION_UPDATE, ESTABLISHMENT_UPDATE, AGENT_UPDATE)
  • fileName: required (string)

    Example:

    file-to-upload.csv
  • mode: required (one of MANUAL, BATCH)

HTTP status code 200

Body

Media type: application/json

Type: string

Example:

"https://valid-inventory-loader.s3.eu-west-1.amazonaws.com/workspace/stock/5a058cb51eb961be11479e81/STOCK_IMPORT_5a058cb51eb961be11479e81_2018-11-22_09-24-36-75.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20181122T092436Z&X-Amz-SignedHeaders=content-disposition%3Bcontent-type%3Bhost%3Bx-amz-meta-import-origin%3Bx-amz-meta-name&X-Amz-Expires=299&X-Amz-Credential=AKIAIVSNSHYEPJHZI3SQ%2F20181122%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Signature=10d1fa7cc9120adab68e3ded8dc7702c7c17f102368d8fc82896974018ecb86b"

Customer

Create Customer API Reference (create an organization, an establishment, a customer, a pairing and an agent pairing)

/public/customer post

post /public/customer

create a full customer

Body

Media type: application/json

Type: object

Properties

  • organization: required (object)
    • companyName: required (string)
    • vatIdentifier: required (string)
    • email: required (string)
    • billingAddress: required (object)
      • street: required (string)
      • complementaryStreet: (string)
      • zipCode: required (string)
      • city: required (string)
      • province: required (string)
      • country: required (string)
      • firstName: (string)
      • lastName: (string)
      • phone: required (string)
    • phone: required (string)
    • fax: (string)
    • active: required (one of 0, 1)
  • establishment: required (object)
    • establishmentNumber: (string)
    • name: required (string)
    • companyName: required (string)
    • vatIdentifier: required (string)
    • email: required (string)
    • billingAddress: required (object)
      • street: required (string)
      • complementaryStreet: (string)
      • zipCode: required (string)
      • city: required (string)
      • province: required (string)
      • country: required (string)
      • firstName: (string)
      • lastName: (string)
      • phone: required (string)
    • phone: required (string)
    • fax: (string)
    • clientNumber: required (string)
    • role: (string)
    • active: required (string)
  • profile: required (object)
    • email: required (string)
    • active: required (string)
    • firstName: required (string)
    • lastName: required (string)
    • phone: (string)
    • moderator: required (string)
  • pairing: (object)
    • seller: (object)
      • establishmentNumber: (string)
    • preferred: (boolean)
    • priorityBonus: (number)
    • networkSeller: (boolean)
    • segment: (string)
    • externalBuyerNumber: (string)
    • forcePrimaryWarehouse: (boolean)
    • plateNumberCreditsRefillThreshold: (number)
    • erpConnectorConfiguration: (object)
      • secretKey: (string)
      • signer: (string)
      • endpoint: (string)
      • properties: (any)
    • shippinfConfig: (object)
      • threshold: (object)
        • value: (number)
        • currency: (string)
      • cost: (object)
        • value: (number)
        • currency: (string)
    • warehouseConfigurations: (array of items)

      Items: items

      • externalId: required (string)
      • primary: (boolean)
      • order: (number)
      • deliveryInformation: (string)
      • colorCode: (number)
      • hideStock: (boolean)
    • virtualWarehouseConfigurations: (array of items)

      Items: items

      • externalId: required (string)
      • primary: (boolean)
      • order: (number)
      • deliveryInformation: (string)
      • colorCode: (number)
      • hideStock: (boolean)
    • paymentByCreditCard: (boolean)
    • prospect: (object)
      • active: required (boolean)
      • redirectionUrl: required (string)
      • tooltip: required (string)
  • agentEmail: (string)
  • tagLabel: (string)

Example:

{
  "organization": {
    "companyName": "COMPANY_NAME",
    "vatIdentifier": "VAT_IDENTIFIER",
    "email": "ESTABLISHMENT_EMAIL",
    "billingAddress": {
      "street": "ADDRESS_STREET",
      "complementaryStreet": "complementaryStreet",
      "zipCode": "ZIP_CODE",
      "city": "CITY",
      "province": "IDF",
      "country": "FRA",
      "firstName": "firstName",
      "lastName": "lastName",
      "phone": "ADDRESS_PHONE"
    },
    "phone": "ADDRESS_PHONE",
    "fax": "fax",
    "active": 0
  },
  "establishment": {
    "name": "ESTABLISHMENT_NAME",
    "companyName": "COMPANY_NAME",
    "vatIdentifier": "VAT_IDENTIFIER",
    "email": "ESTABLISHMENT_EMAIL",
    "billingAddress": {
      "street": "ADDRESS_STREET",
      "complementaryStreet": "complementaryStreet",
      "zipCode": "ZIP_CODE",
      "city": "CITY",
      "province": "IDF",
      "country": "FRA",
      "firstName": "firstName",
      "lastName": "lastName",
      "phone": "ADDRESS_PHONE"
    },
    "phone": "ADDRESS_PHONE",
    "fax": "fax",
    "clientNumber": "CLIENT_NUMBER",
    "role": "role",
    "active": "1"
  },
  "profile": {
    "email": "USER_EMAIL",
    "password": "password",
    "active": "1",
    "firstName": "USER_FIRSTNAME",
    "lastName": "USER_LASTNAME",
    "phone": "phone",
    "moderator": "1"
  },
  "pairing": {
    "seller": {
      "establishmentNumber": "ESTMAR18.00dd27"
    },
    "preferred": true,
    "plateNumberCreditsRefillThreshold": 2000,
    "externalBuyerNumber": "1102002399",
    "forcePrimaryWarehouse": false,
    "priorityBonus": 0,
    "erpConnectorConfiguration": {
      "endpoint": "",
      "secretKey": "",
      "signer": "",
      "properties": {
        "key1": "value1"
      }
    },
    "networkSeller": false,
    "segment": "PREMIUM",
    "shippingConfig": {
      "threshold": {
        "value": 500.00,
        "currency": "EUR"
      },
      "cost": {
        "value": 10.00,
        "currency": "EUR"
      }
    },
    "warehouseConfigurations": [
      {
        "externalId": "50420049",
        "primary": true,
        "order": 1,
        "deliveryInformation": "",
        "colorCode": 1,
        "hideStock": true
      }
    ],
    "virtualWarehouseConfigurations": [
      {
        "externalId": "mario1_virtual_ware",
        "primary": true,
        "order": 3,
        "deliveryInformation": "Available in 2h",
        "colorCode": 2,
        "hideStock": false
      }
    ],
    "paymentByCreditCard": false,
    "prospect": {
      "active": true,
      "redirectionUrl": "www.partakus.com",
      "tooltip": "tooltip"
    }
  },
  "agentEmail": "agentEmail",
  "tagLabel": "tagLabel"
}

HTTP status code 200

Body

Media type: application/json

Type: object

Properties

  • organization: required (object)
    • companyName: required (string)
    • vatIdentifier: required (string)
    • email: required (string)
    • billingAddress: required (object)
      • street: required (string)
      • complementaryStreet: (string)
      • zipCode: required (string)
      • city: required (string)
      • province: required (string)
      • country: required (string)
      • firstName: (string)
      • lastName: (string)
      • phone: required (string)
    • phone: required (string)
    • fax: (string)
    • active: required (one of 0, 1)
  • establishment: required (object)
    • establishmentNumber: (string)
    • name: required (string)
    • companyName: required (string)
    • vatIdentifier: required (string)
    • email: required (string)
    • billingAddress: required (object)
      • street: required (string)
      • complementaryStreet: (string)
      • zipCode: required (string)
      • city: required (string)
      • province: required (string)
      • country: required (string)
      • firstName: (string)
      • lastName: (string)
      • phone: required (string)
    • phone: required (string)
    • fax: (string)
    • clientNumber: required (string)
    • role: (string)
    • active: required (string)
  • profile: required (object)
    • email: required (string)
    • active: required (string)
    • firstName: required (string)
    • lastName: required (string)
    • phone: (string)
    • moderator: required (string)
  • pairing: (object)
    • seller: (object)
      • establishmentNumber: (string)
    • customer: required (object)
      • establishmentNumber: required (string)
    • preferred: (boolean)
    • priorityBonus: (number)
    • networkSeller: (boolean)
    • segment: (string)
    • externalBuyerNumber: required (string)
    • forcePrimaryWarehouse: (boolean)
    • plateNumberCreditsRefillThreshold: (number)
    • prospect: (object)
      • active: required (boolean)
      • redirectionUrl: required (string)
      • tooltip: (string)
    • erpConnectorConfiguration: (object)
      • secretKey: (string)
      • signer: (string)
      • endpoint: (string)
      • properties: (any)
    • shippinfConfig: (object)
      • threshold: (object)
        • value: (number)
        • currency: (string)
      • cost: (object)
        • value: (number)
        • currency: (string)
    • warehouseConfigurations: (array of items)

      Items: items

      • externalId: required (string)
      • primary: (boolean)
      • order: (number)
      • deliveryInformation: (string)
      • colorCode: (number)
      • hideStock: (boolean)
    • virtualWarehouseConfigurations: (array of items)

      Items: items

      • externalId: required (string)
      • primary: (boolean)
      • order: (number)
      • deliveryInformation: (string)
      • colorCode: (number)
      • hideStock: (boolean)
    • paymentByCreditCard: (boolean)
  • agentEmail: (string)
  • tagLabel: (string)

Example:

{
  "organization": {
    "network": "Empty",
    "companyName": "COMPANY_NAME",
    "vatIdentifier": "VAT_IDENTIFIER",
    "email": "ESTABLISHMENT_EMAIL",
    "billingAddress": {
      "street": "ADDRESS_STREET",
      "complementaryStreet": "complementaryStreet",
      "zipCode": "ZIP_CODE",
      "city": "CITY",
      "province": "IDF",
      "country": "FRA",
      "firstName": "firstName",
      "lastName": "lastName",
      "phone": "ADDRESS_PHONE"
    },
    "phone": "ADDRESS_PHONE",
    "fax": "fax"
  },
  "establishment": {
    "establishmentNumber": "ESTMAR18.00dd27",
    "name": "ESTABLISHMENT_NAME",
    "companyName": "COMPANY_NAME",
    "vatIdentifier": "VAT_IDENTIFIER",
    "email": "ESTABLISHMENT_EMAIL",
    "billingAddress": {
      "street": "ADDRESS_STREET",
      "complementaryStreet": "complementaryStreet",
      "zipCode": "ZIP_CODE",
      "city": "CITY",
      "province": "IDF",
      "country": "FRA",
      "firstName": "firstName",
      "lastName": "lastName",
      "phone": "ADDRESS_PHONE"
    },
    "phone": "ADDRESS_PHONE",
    "fax": "fax",
    "clientNumber": "CLIENT_NUMBER",
    "role": "role",
    "active": "1"
  },
  "profile": {
    "email": "USER_EMAIL",
    "password": "password",
    "active": "1",
    "firstName": "USER_FIRSTNAME",
    "lastName": "USER_LASTNAME",
    "phone": "phone",
    "moderator": "1"
  },
  "pairing": {
    "seller": {
      "establishmentNumber": "ESTMAR18.00dd27"
    },
    "customer": {
      "establishmentNumber": "ESTMAR18.00dd27"
    },
    "preferred": true,
    "plateNumberCreditsRefillThreshold": 2000,
    "externalBuyerNumber": "1102002399",
    "forcePrimaryWarehouse": false,
    "priorityBonus": 0,
    "erpConnectorConfiguration": {
      "endpoint": "",
      "secretKey": "",
      "signer": "",
      "properties": {
        "key1": "value1"
      }
    },
    "networkSeller": false,
    "segment": "PREMIUM",
    "warehouseConfigurations": [
      {
        "externalId": "50420049",
        "primary": true,
        "order": 1,
        "deliveryInformation": "",
        "colorCode": 1,
        "hideStock": true
      }
    ],
    "virtualWarehouseConfigurations": [
      {
        "externalId": "mario1_virtual_ware",
        "primary": true,
        "order": 3,
        "deliveryInformation": "Available in 2h",
        "colorCode": 2,
        "hideStock": false
      }
    ],
    "paymentByCreditCard": false
  },
  "agentEmail": "agentEmail",
  "tagLabel": "tagLabel"
}

Pairing

Create or Update Pairing

/public/pairings post patch

post /public/pairings

create or update a pairing

Body

Media type: application/json

Type: object

Properties

  • seller: (object)
    • establishmentNumber: (string)
  • customer: required (object)
    • establishmentNumber: required (string)
  • preferred: (boolean)
  • priorityBonus: (number)
  • networkSeller: (boolean)
  • segment: (string)
  • externalBuyerNumber: required (string)
  • forcePrimaryWarehouse: (boolean)
  • plateNumberCreditsRefillThreshold: (number)
  • prospect: (object)
    • active: required (boolean)
    • redirectionUrl: required (string)
    • tooltip: (string)
  • erpConnectorConfiguration: (object)
    • secretKey: (string)
    • signer: (string)
    • endpoint: (string)
    • properties: (any)
  • shippinfConfig: (object)
    • threshold: (object)
      • value: (number)
      • currency: (string)
    • cost: (object)
      • value: (number)
      • currency: (string)
  • warehouseConfigurations: (array of items)

    Items: items

    • externalId: required (string)
    • primary: (boolean)
    • order: (number)
    • deliveryInformation: (string)
    • colorCode: (number)
    • hideStock: (boolean)
  • virtualWarehouseConfigurations: (array of items)

    Items: items

    • externalId: required (string)
    • primary: (boolean)
    • order: (number)
    • deliveryInformation: (string)
    • colorCode: (number)
    • hideStock: (boolean)
  • paymentByCreditCard: (boolean)

Example:

{
  "seller": {
    "establishmentNumber": "ESTMAR18.00dd27"
  },
  "customer": {
    "establishmentNumber": "ESTMAR18.00dd27"
  },
  "preferred": true,
  "priorityBonus": 0,
  "networkSeller": true,
  "segment": "PREMIUM",
  "externalBuyerNumber": "RC43215",
  "forcePrimaryWarehouse": false,
  "plateNumberCreditsRefillThreshold": 1500,
  "currentTurnoverForPlateNumberCredits": 1500,
  "erpConnectorConfiguration": {
    "properties": {
      "key1": "value1",
      "key2": "value2"
    },
    "secretKey": "mqlsdkjfqlksdjf",
    "signer": "mqlkdjsfmljkkf",
    "endpoint": "http://endpoint.com/"
  },
  "shippingConfig": {
    "threshold": {
      "value": 500.00,
      "currency": "EUR"
    },
    "cost": {
      "value": 10.00,
      "currency": "EUR"
    }
  },
  "warehouseConfigurations": [
    {
      "externalId": "50420049",
      "primary": true,
      "order": 1,
      "deliveryInformation": "",
      "colorCode": 1,
      "hideStock": true
    }
  ],
  "virtualWarehouseConfigurations": [
    {
      "externalId": "mario1_virtual_ware",
      "primary": true,
      "order": 3,
      "deliveryInformation": "Available in 2h",
      "colorCode": 2,
      "hideStock": false
    }
  ],
  "paymentByCreditCard": false,
  "prospect": {
    "active": true,
    "redirectionUrl": "www.partakus.com",
    "tooltip": "tooltip"
  }
}

HTTP status code 204

patch /public/pairings

patch pairing

Body

Media type: application/json

Type: object

Properties

  • seller: required (object)
    • establishmentNumber: (string)
  • customer: required (object)
    • establishmentNumber: required (string)
  • preferred: (boolean)

    Reserved for admin

  • priorityBonus: (number)

    Reserved for admin

  • networkSeller: (boolean)

    Reserved for admin

  • segment: (string)
  • externalBuyerNumber: (string)
  • forcePrimaryWarehouse: (boolean)
  • plateNumberCreditsRefillThreshold: (number)
  • prospect: (object)
    • active: required (boolean)
    • redirectionUrl: required (string)
    • tooltip: (string)
  • erpConnectorConfiguration: (object)
    • secretKey: (string)
    • signer: (string)
    • endpoint: (string)
    • properties: (any)
  • shippinfConfig: (object)
    • threshold: (object)
      • value: (number)
      • currency: (string)
    • cost: (object)
      • value: (number)
      • currency: (string)
  • warehouseConfigurations: (array of items)

    Items: items

    • externalId: required (string)
    • primary: (boolean)
    • order: (number)
    • deliveryInformation: (string)
    • colorCode: (number)
    • hideStock: (boolean)
  • virtualWarehouseConfigurations: (array of items)

    Items: items

    • externalId: required (string)
    • primary: (boolean)
    • order: (number)
    • deliveryInformation: (string)
    • colorCode: (number)
    • hideStock: (boolean)
  • paymentByCreditCard: (boolean)

Example:

{
  "seller": {
    "establishmentNumber": "ESTMAR18.00dd27"
  },
  "customer": {
    "establishmentNumber": "ESTMAR18.00dd27"
  },
  "preferred": true,
  "priorityBonus": 0,
  "networkSeller": true,
  "segment": "PREMIUM",
  "externalBuyerNumber": "RC43215",
  "forcePrimaryWarehouse": false,
  "plateNumberCreditsRefillThreshold": 1500,
  "currentTurnoverForPlateNumberCredits": 1500,
  "erpConnectorConfiguration": {
    "properties": {
      "key1": "value1",
      "key2": "value2"
    },
    "secretKey": "mqlsdkjfqlksdjf",
    "signer": "mqlkdjsfmljkkf",
    "endpoint": "http://endpoint.com/"
  },
  "shippingConfig": {
    "threshold": {
      "value": 500.00,
      "currency": "EUR"
    },
    "cost": {
      "value": 10.00,
      "currency": "EUR"
    }
  },
  "warehouseConfigurations": [
    {
      "externalId": "50420049",
      "primary": true,
      "order": 1,
      "deliveryInformation": "",
      "colorCode": 1,
      "hideStock": true
    }
  ],
  "virtualWarehouseConfigurations": [
    {
      "externalId": "mario1_virtual_ware",
      "primary": true,
      "order": 3,
      "deliveryInformation": "Available in 2h",
      "colorCode": 2,
      "hideStock": false
    }
  ],
  "paymentByCreditCard": false,
  "prospect": {
    "active": true,
    "redirectionUrl": "www.partakus.com",
    "tooltip": "tooltip"
  }
}

HTTP status code 204

Orders

close, un-close, ship or acknowledge a seller order

/public/orders/{orderNumber} patch

patch /public/orders/{orderNumber}

close, un-close, ship or acknowledge a seller order, the action can be "close", "unclose", "ship" or "acknowledge".

URI Parameters

  • orderNumber: required (string)

Body

Media type: application/json

Type: object

Properties

  • action: required (one of close, unclose, ship, acknowledge)
  • parcels: (array of PublicParcelRequestDTO)

    Items: PublicParcelRequestDTO

    • trackingId: (string)
    • deliverySlipNumber: (string)
    • comment: (string)
    • externalOrderNumber: (string)
  • warehouseOrders: (array of PublicWarehouseOrderRequestDTO)

    Items: PublicWarehouseOrderRequestDTO

    • externalOrderNumber: required (string)
    • externalOrderId: required (string)
    • warehouseExternalId: required (string)
    • externalOrderDate: required (string)
    • warehouseOffers: required (array of PublicWarehouseOfferRequestDTO)

      Items: PublicWarehouseOfferRequestDTO

      • externalPartNumber: required (string)
      • externalLineNumber: required (string)

Example:

{
    "action": "ship",
    "parcels": [
      {
        "trackingId": "trackingId11111",
        "deliverySlipNumber": "deliverySlipNb1",
        "comment": "comment12345",
        "externalOrderNumber": "8dcbb145bf6c1b8072c6"
      },
      {
        "trackingId": "trackingId22222",
        "deliverySlipNumber": "deliverySlipNb2",
        "comment": "comment222",
        "externalOrderNumber": "56288f2c6dd8d2e52eb7"
      }
    ],
    "warehouseOrders": [
      {
        "externalOrderNumber": "externalOrderNumberTest",
        "externalOrderId": "externalOrderIdTest",
        "warehouseExternalId": "10",
        "externalOrderDate": "2020-09-23",
        "warehouseOffers": [
          {
            "externalPartNumber": "externalPartNumber10",
            "externalLineNumber": "10"
          }
        ]
      }
    ]
  }

HTTP status code 200

Body

Media type: application/json

Type: object

Properties

  • errorMessage: (string)
  • sellerOrder: required (object)
    • id: (string)
    • seller: (object)
      • id: (string)
      • establishmentNumber: (string)
      • name: (string)
      • companyName: (string)
      • email: (string)
      • phone: (string)
      • vatIdentifier: (string)
      • billingAddress: (object)
        • id: required (string)
        • default: required (boolean)
        • street: required (string)
        • addressLine2: (string)
        • zipCode: required (string)
        • city: required (string)
        • province: required (string)
        • country: required (string)
        • firstName: required (string)
        • lastName: required (string)
        • phone: required (string)
        • fullName: required (string)
      • roles: (array of )
    • customer: (object)
      • id: (string)
      • email: (string)
      • establishment: (object)
        • id: (string)
        • establishmentNumber: (string)
        • name: (string)
        • companyName: (string)
        • email: (string)
        • phone: (string)
        • vatIdentifier: (string)
        • billingAddress: (object)
          • id: required (string)
          • default: required (boolean)
          • street: required (string)
          • addressLine2: (string)
          • zipCode: required (string)
          • city: required (string)
          • province: required (string)
          • country: required (string)
          • firstName: required (string)
          • lastName: required (string)
          • phone: required (string)
          • fullName: required (string)
        • roles: (array of )
    • externalClientNumber: (string)
    • createdByEmail: (string)
    • createdByFirstName: (string)
    • createdByLastName: (string)
    • validatedAt: (string)
    • shippingAddress: (object)
      • id: required (string)
      • default: required (boolean)
      • street: required (string)
      • addressLine2: (string)
      • zipCode: required (string)
      • city: required (string)
      • province: required (string)
      • country: required (string)
      • firstName: required (string)
      • lastName: required (string)
      • phone: required (string)
      • fullName: required (string)
    • shippingType: (string)
    • urgent: (boolean)
    • status: (string)
    • price: (object)
      • value: required (number)
      • currency: required (object)
      • priceWithVat: (object)
        • value: required (number)
        • currency: required (object)
        • priceFees: (object)
          • value: required (number)
          • currency: required (object)
          • priceReturnable: (object)
            • value: required (number)
            • currency: required (object)
            • shippingFees: (object)
              • value: required (number)
              • currency: required (object)
              • eligibleForReturn: (boolean)
              • internalPurchaseOrderNumber: (string)
              • sellerComment: (string)
              • warehouseOrders: (array of items)

                Items: items

                • id: (string)
                • warehouseName: (string)
                • warehouseExternalId: (string)
                • externalOrderNumber: (string)
                • externalOrderId: (string)
                • externalOrderDate: (string)
                • offersWithShipped: (array of WarehouseOfferResource)

                  Items: WarehouseOfferResource

                  • id: (string)
                  • repairJobNumber: (number)
                  • offerPrice: (object)
                    • value: required (number)
                    • currency: required (object)
                    • price: (object)
                      • value: required (number)
                      • currency: required (object)
                      • initialQuantity: (number)
                      • addedQuantity: (number)
                      • quantity: (number)
                      • shippedQuantity: (number)
                      • remainingQuantity: (number)
                      • cancelledQuantity: (number)
                      • Returnable: (object)
                        • price: required (object)
                          • value: required (number)
                          • currency: required (object)
                        • offerFees: (array of items)

                          Items: items

                          • label: required (string)
                          • price: required (object)
                            • value: required (number)
                            • currency: required (object)
                          • offerTotalFees: (object)
                            • value: required (number)
                            • currency: required (object)
                            • part: (object)
                              • partNumber: (string)
                              • manufacturerId: (string)
                              • description: (string)
                              • manufacturerLabel: (string)
                            • offer: (object)
                              • product: (object)
                                • seller: (object)
                                  • id: (string)
                                  • name: (string)
                                  • email: (string)
                                  • phone: (string)
                                  • fax: (string)
                                  • companyName: (string)
                                  • vatIdentifier: (string)
                                  • establishmentNumber: (string)
                                  • paymentAccountId: (string)
                                  • billingAddress: (object)
                                    • id: required (string)
                                    • default: required (boolean)
                                    • street: required (string)
                                    • addressLine2: (string)
                                    • zipCode: required (string)
                                    • city: required (string)
                                    • province: required (string)
                                    • country: required (string)
                                    • firstName: required (string)
                                    • lastName: required (string)
                                    • phone: required (string)
                                    • fullName: required (string)
                                  • counterAddress: (object)
                                    • id: required (string)
                                    • default: required (boolean)
                                    • street: required (string)
                                    • addressLine2: (string)
                                    • zipCode: required (string)
                                    • city: required (string)
                                    • province: required (string)
                                    • country: required (string)
                                    • firstName: required (string)
                                    • lastName: required (string)
                                    • phone: required (string)
                                    • fullName: required (string)
                                  • catalogState: (object)
                                    • state: (string)
                                    • scheduled: (boolean)
                                    • startDate: (string)
                                    • endDate: (string)
                                  • roles: (array of )
                                  • organization: (object)
                                    • id: (string)
                                    • companyName: (string)
                                    • vatIdentifier: (string)
                                    • network: (string)
                                    • email: (string)
                                    • billingAddress: (object)
                                      • id: required (string)
                                      • default: required (boolean)
                                      • street: required (string)
                                      • addressLine2: (string)
                                      • zipCode: required (string)
                                      • city: required (string)
                                      • province: required (string)
                                      • country: required (string)
                                      • firstName: required (string)
                                      • lastName: required (string)
                                      • phone: required (string)
                                      • fullName: required (string)
                                    • phone: (string)
                                    • fax: (string)
                                    • active: (boolean)
                                    • testOrganization: (boolean)
                                    • organizationNumber: (string)
                                  • forcePrimaryWarehouse: (boolean)
                                  • erpConnectorConfiguration: (object)
                                    • secretKey: (string)
                                    • signer: (string)
                                    • endpoint: (string)
                                    • properties: (any)
                                  • catalogActive: (boolean)
                                  • reapirJobActive: (boolean)
                                  • activeRequests: (any)
                                • partNumber: (string)
                                • id: (string)
                                • manufacturerId: (string)
                                • externalPartNumber: (string)
                                • identifier: (object)
                                  • sellerId: (string)
                                  • partNumber: (string)
                                  • externalPartNumber: (string)
                                  • manufacturerId: (string)
                              • netPrice: (object)
                                • value: required (number)
                                • currency: required (object)
                                • publicPrice: (object)
                                  • value: required (number)
                                  • currency: required (object)
                                  • returnable: (object)
                                    • price: required (object)
                                      • value: required (number)
                                      • currency: required (object)
                                    • segment: (string)
                                  • vehicle: (object)
                                    • brand: required (object)
                                      • brandId: required (object)
                                        • brandLabel: required (string)
                                      • model: required (object)
                                        • modelId: required (string)
                                        • modelLabel: required (string)
                                      • version: required (object)
                                        • versionId: required (string)
                                        • versionLabel: required (string)
                                        • body: required (string)
                                        • engineCode: required (string)
                                        • fuel: required (string)
                                        • fromDate: required (string)
                                        • toDate: required (string)
                                      • vehicleIdentifier: required (object)
                                        • label: required (string)
                                    • numberOfParcels: (number)
                                    • allShipped: (boolean)
                                    • allCancelled: (boolean)
                                    • price: (object)
                                      • value: required (number)
                                      • currency: required (object)
                                      • parcels: (object)
                                        • partNumber: required (string)
                                        • manufacturerId: required (string)
                                        • description: required (string)
                                        • manufacturerLabel: required (string)
                                      • orderComment: (string)
                                    • additionalFees: (array of items)

                                      Items: items

                                      • name: (string)
                                      • externalPartNumber: (string)
                                      • price: (object)
                                        • value: required (number)
                                        • currency: required (object)

                                    Example:

                                    {
                                        "sellerOrder": {
                                            "id": "5f6c53b60b66374bb6617abb",
                                            "seller": {
                                                "id": "59789463a706ce9852a64fd0",
                                                "establishmentNumber": "ESTITA18.0004d3",
                                                "name": "Magazzino Mario No1 NomEtab",
                                                "companyName": "I Ricambi di Mario1 RaisonSocEtab",
                                                "email": "marioetab1@gmail.com",
                                                "phone": "02 0000001",
                                                "vatIdentifier": "IT0000000031",
                                                "billingAddress": {
                                                    "street": "Via Mario FACTU étab1",
                                                    "zipCode": "20000",
                                                    "city": "Villeétablissement",
                                                    "province": "AN - Ancona",
                                                    "country": "ITA",
                                                    "firstName": "",
                                                    "lastName": "",
                                                    "phone": "111111",
                                                    "default": false,
                                                    "addressLine2": "",
                                                    "fullName": ""
                                                },
                                                "roles": [
                                                    "retailer"
                                                ]
                                            },
                                            "customer": {
                                                "id": "5d1efc23f2db160ced03508d",
                                                "email": "qa1jacquie1@yopmail.com",
                                                "establishment": {
                                                    "id": "59789463a706ce9852a64fc4",
                                                    "establishmentNumber": "ESTITA18.000437",
                                                    "name": "Officina Jacquie1 NomEtab",
                                                    "companyName": "Officina Jacquie1 RaisonSocEtab",
                                                    "email": "jacquieetab1@gmail.com",
                                                    "phone": "123testphone",
                                                    "vatIdentifier": "IT0000000011",
                                                    "billingAddress": {
                                                        "street": "Via Jacquie FACTU étab1",
                                                        "zipCode": "20001",
                                                        "city": "Villeétablissement",
                                                        "province": "AB - Albacete",
                                                        "country": "ESP",
                                                        "firstName": "",
                                                        "lastName": "",
                                                        "phone": "1234",
                                                        "default": false,
                                                        "addressLine2": "",
                                                        "fullName": ""
                                                    },
                                                    "roles": [
                                                        "car_repairer"
                                                    ]
                                                }
                                            },
                                            "orderNumber": "OESP20.17F716",
                                            "externalClientNumber": "jacquie1",
                                            "createdByEmail": "qa1jacquie1@yopmail.com",
                                            "createdByFirstName": "subdomain uat",
                                            "createdByLastName": "jacquie1",
                                            "validatedAt": "2020-09-24T10:07:18.789Z",
                                            "shippingAddress": {
                                                "id": "6b95ade1-f5cd-497a-b871-f480c2280abe",
                                                "street": "addressA2",
                                                "zipCode": "10242",
                                                "city": "Riga",
                                                "province": "AL - Alessandria",
                                                "country": "ITA",
                                                "firstName": "Karlis2",
                                                "lastName": "test2",
                                                "phone": "123412342",
                                                "default": false,
                                                "addressLine2": "212X2",
                                                "fullName": "Karlis2 test2"
                                            },
                                            "shippingType": "USER",
                                            "urgent": true,
                                            "price": {
                                                "value": 272.51,
                                                "currency": "EUR"
                                            },
                                            "priceVat": {
                                                "value": 37.95,
                                                "currency": "EUR"
                                            },
                                            "priceFees": {
                                                "value": 0.00,
                                                "currency": "EUR"
                                            },
                                            "priceReturnable": {
                                                "value": 67.95,
                                                "currency": "EUR"
                                            },
                                            "shippingFees": {
                                                "value": 100.00,
                                                "currency": "EUR"
                                            },
                                            "eligibleForReturn": false,
                                            "warehouseOrders": [
                                                {
                                                    "id": "2875a9a7-3d8d-414e-bff3-a8dbb2ee3a7d",
                                                    "warehouseName": "Warehouse Mario No1_1",
                                                    "warehouseExternalId": "101",
                                                    "externalOrderNumber": "externalOrderNumberTest",
                                                    "externalOrderId": "externalOrderIdTest",
                                                    "externalOrderDate": "2020-09-23",
                                                    "offersWithShipped": [
                                                        {
                                                            "id": "8811462c-e8b3-4077-ad38-17e976cdc890",
                                                            "offerPrice": {
                                                                "value": 4.56,
                                                                "currency": "EUR"
                                                            },
                                                            "price": {
                                                                "value": 4.56,
                                                                "currency": "EUR"
                                                            },
                                                            "initialQuantity": 1,
                                                            "addedQuantity": 0,
                                                            "quantity": 1,
                                                            "shippedQuantity": 0,
                                                            "remainingQuantity": 1,
                                                            "cancelledQuantity": 0,
                                                            "returnable": {
                                                                "price": {
                                                                    "value": 45.95,
                                                                    "currency": "EUR"
                                                                }
                                                            },
                                                            "offerFees": [],
                                                            "offerTotalFees": {
                                                                "value": 0.00,
                                                                "currency": "EUR"
                                                            },
                                                            "part": {
                                                                "partNumber": "FM560/08",
                                                                "manufacturerId": "BMCX",
                                                                "description": "",
                                                                "manufacturerLabel": "BMC AirFilter"
                                                            },
                                                            "offer": {
                                                                "product": {
                                                                    "seller": {
                                                                        "__type__": "establishment",
                                                                        "id": "59789463a706ce9852a64fd0",
                                                                        "organization": {
                                                                            "id": "59789463a706ce9852a64faf",
                                                                            "companyName": "Mario No1 RaisonSocOrga",
                                                                            "network": {
                                                                                "id": "5991559d1b9b2636fe1eb383",
                                                                                "name": "renault",
                                                                                "unAuthorizedBrands": [
                                                                                    "157"
                                                                                ]
                                                                            },
                                                                            "vatIdentifier": "IT0000000011111",
                                                                            "email": "marioorg@yopmail.com",
                                                                            "active": true,
                                                                            "billingAddress": {
                                                                                "street": "Via Mario orga123",
                                                                                "zipCode": "122122",
                                                                                "city": "Milan",
                                                                                "province": "AG - Agrigento",
                                                                                "country": "ITA",
                                                                                "firstName": "Ricambi",
                                                                                "lastName": "Mario updated",
                                                                                "phone": "1112222333334444",
                                                                                "default": false,
                                                                                "fullName": "Ricambi Mario updated"
                                                                            },
                                                                            "phone": "11223344",
                                                                            "fax": "321321",
                                                                            "testOrganization": true,
                                                                            "organizationNumber": "ORGITA18.00061e"
                                                                        },
                                                                        "name": "Magazzino Mario No1 NomEtab",
                                                                        "companyName": "I Ricambi di Mario1 RaisonSocEtab",
                                                                        "vatIdentifier": "IT0000000031",
                                                                        "email": "marioetab1@gmail.com",
                                                                        "billingAddress": {
                                                                            "street": "Via Mario FACTU étab1",
                                                                            "zipCode": "20000",
                                                                            "city": "Villeétablissement",
                                                                            "province": "AN - Ancona",
                                                                            "country": "ITA",
                                                                            "firstName": "",
                                                                            "lastName": "",
                                                                            "phone": "111111",
                                                                            "default": false,
                                                                            "addressLine2": "",
                                                                            "fullName": ""
                                                                        },
                                                                        "counterAddress": {
                                                                            "street": "",
                                                                            "zipCode": "",
                                                                            "city": "",
                                                                            "firstName": "",
                                                                            "lastName": "",
                                                                            "phone": "",
                                                                            "default": false,
                                                                            "addressLine2": "",
                                                                            "fullName": ""
                                                                        },
                                                                        "shippingAddresses": [
                                                                            {
                                                                                "id": "73e82c35-9552-4a20-a5b0-4edda550781b",
                                                                                "street": "1 rue Louis Rolland",
                                                                                "zipCode": "92120",
                                                                                "city": "Montrouge",
                                                                                "province": "IDF - Île-de-France",
                                                                                "country": "FRA",
                                                                                "firstName": "Maxime",
                                                                                "lastName": "Baubriau",
                                                                                "phone": "0665083299",
                                                                                "default": true,
                                                                                "fullName": "Maxime Baubriau"
                                                                            }
                                                                        ],
                                                                        "phone": "02 0000001",
                                                                        "fax": "02 9999991",
                                                                        "roles": [
                                                                            "retailer"
                                                                        ],
                                                                        "catalogState": {
                                                                            "state": "ACTIVE",
                                                                            "scheduled": false
                                                                        },
                                                                        "vehicleSearchCredits": 94,
                                                                        "defaultWarehouseId": "12",
                                                                        "active": true,
                                                                        "lastLoginTime": "2020-09-23T15:45:30.451Z",
                                                                        "establishmentConfigs": {
                                                                            "webLogoShort": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT-PhvGGtu7Y3JTRpRKfksORvhh2rTDFsE5j8aBDV3DLBCS0x8z",
                                                                            "webMainColor": "#ff69b3"
                                                                        },
                                                                        "forcePrimaryWarehouse": true,
                                                                        "erpConnectorConfiguration": {
                                                                            "properties": {},
                                                                            "complete": false
                                                                        },
                                                                        "establishmentNumber": "ESTITA18.0004d3",
                                                                        "shippingConfig": {
                                                                            "threshold": {
                                                                                "value": 100.50,
                                                                                "currency": "EUR"
                                                                            },
                                                                            "cost": {
                                                                                "value": 12.00,
                                                                                "currency": "EUR"
                                                                            }
                                                                        },
                                                                        "paymentAccountId": "QA1",
                                                                        "repairJobsActive": true,
                                                                        "returnTypes": [
                                                                            "EXCHANGE",
                                                                            "REFUND",
                                                                            "CREDIT_NOTE"
                                                                        ],
                                                                        "returnReasons": [
                                                                            "NON_COMPLIANT",
                                                                            "DAMAGED",
                                                                            "DEFECTIVE",
                                                                            "DELIVERY_DELAY"
                                                                        ],
                                                                        "returnModes": [
                                                                            "RETURN_BY_YOURSELF",
                                                                            "REMOVAL_REQUEST",
                                                                            "ADD_TO_COUNTER_PICKUP",
                                                                            "ADD_TO_DELIVERY_DELAY"
                                                                        ],
                                                                        "activeRequests": {
                                                                            "searchAvailabilities": true,
                                                                            "searchShippingPlans": true,
                                                                            "createOrder": true,
                                                                            "getOrder": true,
                                                                            "createReturn": true,
                                                                            "getReturn": true,
                                                                            "preCheckout": false
                                                                        },
                                                                        "defaultShippingAddress": {
                                                                            "id": "73e82c35-9552-4a20-a5b0-4edda550781b",
                                                                            "street": "1 rue Louis Rolland",
                                                                            "zipCode": "92120",
                                                                            "city": "Montrouge",
                                                                            "province": "IDF - Île-de-France",
                                                                            "country": "FRA",
                                                                            "firstName": "Maxime",
                                                                            "lastName": "Baubriau",
                                                                            "phone": "0665083299",
                                                                            "default": true,
                                                                            "fullName": "Maxime Baubriau"
                                                                        },
                                                                        "catalogActive": true,
                                                                        "garage": false,
                                                                        "retailer": true
                                                                    },
                                                                    "partNumber": "FM560/08",
                                                                    "id": "5c6a7643a3c8ef11d814f84d",
                                                                    "manufacturerId": "BMCX",
                                                                    "externalPartNumber": "BMC|FM560/08",
                                                                    "identifier": "NTk3ODk0NjNhNzA2Y2U5ODUyYTY0ZmQw-Rk01NjAvMDg=-Qk1DfEZNNTYwLzA4-Qk1DWA==",
                                                                    "priority": 50
                                                                },
                                                                "netPrice": {
                                                                    "value": 4.56,
                                                                    "currency": "EUR"
                                                                },
                                                                "publicPrice": {
                                                                    "value": 94.64,
                                                                    "currency": "EUR"
                                                                },
                                                                "returnable": {
                                                                    "price": {
                                                                        "value": 45.95,
                                                                        "currency": "EUR"
                                                                    }
                                                                },
                                                                "price": {
                                                                    "value": 4.56,
                                                                    "currency": "EUR"
                                                                }
                                                            }
                                                        },
                                                        {
                                                            "id": "64082f41-f725-4aaa-ab15-0304c9b4961f",
                                                            "offerPrice": {
                                                                "value": 100.00,
                                                                "currency": "EUR"
                                                            },
                                                            "price": {
                                                                "value": 100.00,
                                                                "currency": "EUR"
                                                            },
                                                            "initialQuantity": 1,
                                                            "addedQuantity": 0,
                                                            "quantity": 1,
                                                            "shippedQuantity": 0,
                                                            "remainingQuantity": 1,
                                                            "cancelledQuantity": 0,
                                                            "returnable": {
                                                                "price": {
                                                                    "value": 22.00,
                                                                    "currency": "EUR"
                                                                }
                                                            },
                                                            "offerFees": [],
                                                            "offerTotalFees": {
                                                                "value": 0.00,
                                                                "currency": "EUR"
                                                            },
                                                            "part": {
                                                                "partNumber": "16783",
                                                                "manufacturerId": "059",
                                                                "description": "Kit de plaquettes de frein, frein à disque",
                                                                "manufacturerLabel": "FEBI"
                                                            },
                                                            "offer": {
                                                                "product": {
                                                                    "seller": {
                                                                        "__type__": "establishment",
                                                                        "id": "59789463a706ce9852a64fd0",
                                                                        "organization": {
                                                                            "id": "59789463a706ce9852a64faf",
                                                                            "companyName": "Mario No1 RaisonSocOrga",
                                                                            "network": {
                                                                                "id": "5991559d1b9b2636fe1eb383",
                                                                                "name": "renault",
                                                                                "unAuthorizedBrands": [
                                                                                    "157"
                                                                                ]
                                                                            },
                                                                            "vatIdentifier": "IT0000000011111",
                                                                            "email": "marioorg@yopmail.com",
                                                                            "active": true,
                                                                            "billingAddress": {
                                                                                "street": "Via Mario orga123",
                                                                                "zipCode": "122122",
                                                                                "city": "Milan",
                                                                                "province": "AG - Agrigento",
                                                                                "country": "ITA",
                                                                                "firstName": "Ricambi",
                                                                                "lastName": "Mario updated",
                                                                                "phone": "1112222333334444",
                                                                                "default": false,
                                                                                "fullName": "Ricambi Mario updated"
                                                                            },
                                                                            "phone": "11223344",
                                                                            "fax": "321321",
                                                                            "testOrganization": true,
                                                                            "organizationNumber": "ORGITA18.00061e"
                                                                        },
                                                                        "name": "Magazzino Mario No1 NomEtab",
                                                                        "companyName": "I Ricambi di Mario1 RaisonSocEtab",
                                                                        "vatIdentifier": "IT0000000031",
                                                                        "email": "marioetab1@gmail.com",
                                                                        "billingAddress": {
                                                                            "street": "Via Mario FACTU étab1",
                                                                            "zipCode": "20000",
                                                                            "city": "Villeétablissement",
                                                                            "province": "AN - Ancona",
                                                                            "country": "ITA",
                                                                            "firstName": "",
                                                                            "lastName": "",
                                                                            "phone": "111111",
                                                                            "default": false,
                                                                            "addressLine2": "",
                                                                            "fullName": ""
                                                                        },
                                                                        "counterAddress": {
                                                                            "street": "",
                                                                            "zipCode": "",
                                                                            "city": "",
                                                                            "firstName": "",
                                                                            "lastName": "",
                                                                            "phone": "",
                                                                            "default": false,
                                                                            "addressLine2": "",
                                                                            "fullName": ""
                                                                        },
                                                                        "shippingAddresses": [
                                                                            {
                                                                                "id": "73e82c35-9552-4a20-a5b0-4edda550781b",
                                                                                "street": "1 rue Louis Rolland",
                                                                                "zipCode": "92120",
                                                                                "city": "Montrouge",
                                                                                "province": "IDF - Île-de-France",
                                                                                "country": "FRA",
                                                                                "firstName": "Maxime",
                                                                                "lastName": "Baubriau",
                                                                                "phone": "0665083299",
                                                                                "default": true,
                                                                                "fullName": "Maxime Baubriau"
                                                                            }
                                                                        ],
                                                                        "phone": "02 0000001",
                                                                        "fax": "02 9999991",
                                                                        "roles": [
                                                                            "retailer"
                                                                        ],
                                                                        "catalogState": {
                                                                            "state": "ACTIVE",
                                                                            "scheduled": false
                                                                        },
                                                                        "vehicleSearchCredits": 94,
                                                                        "defaultWarehouseId": "12",
                                                                        "active": true,
                                                                        "lastLoginTime": "2020-09-23T15:45:30.451Z",
                                                                        "establishmentConfigs": {
                                                                            "webLogoShort": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT-PhvGGtu7Y3JTRpRKfksORvhh2rTDFsE5j8aBDV3DLBCS0x8z",
                                                                            "webMainColor": "#ff69b3"
                                                                        },
                                                                        "forcePrimaryWarehouse": true,
                                                                        "erpConnectorConfiguration": {
                                                                            "properties": {},
                                                                            "complete": false
                                                                        },
                                                                        "establishmentNumber": "ESTITA18.0004d3",
                                                                        "shippingConfig": {
                                                                            "threshold": {
                                                                                "value": 100.50,
                                                                                "currency": "EUR"
                                                                            },
                                                                            "cost": {
                                                                                "value": 12.00,
                                                                                "currency": "EUR"
                                                                            }
                                                                        },
                                                                        "paymentAccountId": "QA1",
                                                                        "repairJobsActive": true,
                                                                        "returnTypes": [
                                                                            "EXCHANGE",
                                                                            "REFUND",
                                                                            "CREDIT_NOTE"
                                                                        ],
                                                                        "returnReasons": [
                                                                            "NON_COMPLIANT",
                                                                            "DAMAGED",
                                                                            "DEFECTIVE",
                                                                            "DELIVERY_DELAY"
                                                                        ],
                                                                        "returnModes": [
                                                                            "RETURN_BY_YOURSELF",
                                                                            "REMOVAL_REQUEST",
                                                                            "ADD_TO_COUNTER_PICKUP",
                                                                            "ADD_TO_DELIVERY_DELAY"
                                                                        ],
                                                                        "activeRequests": {
                                                                            "searchAvailabilities": true,
                                                                            "searchShippingPlans": true,
                                                                            "createOrder": true,
                                                                            "getOrder": true,
                                                                            "createReturn": true,
                                                                            "getReturn": true,
                                                                            "preCheckout": false
                                                                        },
                                                                        "defaultShippingAddress": {
                                                                            "id": "73e82c35-9552-4a20-a5b0-4edda550781b",
                                                                            "street": "1 rue Louis Rolland",
                                                                            "zipCode": "92120",
                                                                            "city": "Montrouge",
                                                                            "province": "IDF - Île-de-France",
                                                                            "country": "FRA",
                                                                            "firstName": "Maxime",
                                                                            "lastName": "Baubriau",
                                                                            "phone": "0665083299",
                                                                            "default": true,
                                                                            "fullName": "Maxime Baubriau"
                                                                        },
                                                                        "catalogActive": true,
                                                                        "garage": false,
                                                                        "retailer": true
                                                                    },
                                                                    "partNumber": "16783",
                                                                    "id": "5c6a64e6a3c8ef2936dc441d",
                                                                    "manufacturerId": "059",
                                                                    "externalPartNumber": "0059|16783",
                                                                    "identifier": "NTk3ODk0NjNhNzA2Y2U5ODUyYTY0ZmQw-MTY3ODM=-MDA1OXwxNjc4Mw==-MDU5",
                                                                    "priority": 50
                                                                },
                                                                "netPrice": {
                                                                    "value": 100.00,
                                                                    "currency": "EUR"
                                                                },
                                                                "publicPrice": {
                                                                    "value": 4991.00,
                                                                    "currency": "EUR"
                                                                },
                                                                "returnable": {
                                                                    "price": {
                                                                        "value": 22.00,
                                                                        "currency": "EUR"
                                                                    }
                                                                },
                                                                "price": {
                                                                    "value": 100.00,
                                                                    "currency": "EUR"
                                                                }
                                                            }
                                                        }
                                                    ],
                                                    "numberOfParcels": 0,
                                                    "allShipped": false,
                                                    "allCancelled": false,
                                                    "price": {
                                                        "value": 172.51,
                                                        "currency": "EUR"
                                                    },
                                                    "parcels": [],
                                                    "orderComment": ""
                                                }
                                            ],
                                            "additionalFees": [],
                                            "totalNetPrice": {
                                                "value": 272.51,
                                                "currency": "EUR"
                                            },
                                            "status": "pending-for-handling",
                                            "priceWithVat": {
                                                "value": 310.46,
                                                "currency": "EUR"
                                            }
                                        }
                                    }