Seller Data

On this page

The GetSellerInformation SOAP API method has been split into three REST API methods which are /sellers, /sellers/addresses and /sellers/delivery-modes.

Method :
GetSellerInformation

To get seller information.

This operation allows to obtain the information of the authenticated seller.

Request URL

POST https://wsvc.cdiscount.com/MarketplaceAPIService.svc

Body

<Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <GetSellerInformation xmlns="[...]">
            <headerMessage xmlns:a="[...]" xmlns:i="[...]">
                <Context>
                    <CatalogID>1<CatalogID>
                    <CustomerPoolID>1<CustomerPoolID>
                    <SiteID>100<SiteID>
                <Context>
                <Localization>
                    <Country>Fr<Country>
                    <Currency>Eur<Currency>
                    <DecimalPosition>2<DecimalPosition>
                    <Language>Fr<Language>
                <Localization>
                <Security>
                    <DomainRightsList i:nil="true" />
                    <IssuerID i:nil="true" />
                    <SessionID i:nil="true" />
                    <SubjectLocality i:nil="true" />
                    <TokenId>${#Project#token}<TokenId>
                    <UserName i:nil="true" />
                <Security>
                <Version>1.0<Version>
            </headerMessage>
        </GetSellerInformation>
    <Body>
<Envelope>

Route :
GET /sellers

Retrieves seller information.

Request URL

GET /sellers

Sample Response

{
  "seller_id": 0,
  "login": "string",
  "api_login": "string",
  "creation_date": "2023-10-02T12:00:00Z",
  "shop_name": "string",
  "shop_url": "string",
  "siret_number": "string",
  "last_update_date": "2023-10-02T12:00:00Z",
  "delivery_modes": {
    "href": "https://example-octopia.com"
  },
  "subscription": {
    "href": "https://example-octopia.com"
  },
  "email": "string",
  "sales_advices_email": "string",
  "notifications_email": "string",
  "seller_sub_state": "Holidays",
  "seller_state": "Activated",
  "mobile_number": "string",
  "phone_number": "string",
  "seller_address": {
    "href": "https://example-octopia.com"
  },
  "intracom_number": "string",
  "shop_logo": "string",
  "seller_legal_information": {
    "seller_id": 0,
    "company_name": "string",
    "address": "string",
    "siret_number": "string",
    "shipping_country": "string",
    "cgv": "string",
    "legal_form": "string",
    "company_creation_date": "2023-02-10T12:00:00Z",
    "share_capital": 0,
    "share_capital_currency": "string",
    "eori_number": "string"
  },
  "first_name": "string",
  "last_name": "string",
  "comments": "string",
  "function": "string",
  "brand": "string",
  "fax_number": "string",
  "phone_number2": "string",
  "web_site_url": "string",
  "status": "New",
  "profile_id": 0,
  "subscription_step": "Finished",
  "notification_mode": "ByUnit",
  "subscription_message": "string",
  "auto_accept_order": true,
  "fulfillment_profile_id": 0,
  "is_sales_advice_notification_active": true,
  "notifications_mobile_number": "string",
  "is_mobile_notifications_active": true,
  "title": "string",
  "registration_provider": 0,
  "banner_url": "string",
  "logo_url": "string",
  "logistic_email_contact": "string",
  "subscription_referrer": "string",
  "language": "string"
}

Route :
GET /sellers/addresses

Retrieves seller addresses.

Request URL

GET /sellers/addresses

Sample Response

{
  "count": 2,
  "items": [
    {
      "address1": "ZA La pitoisiere 2",
      "address2": null,
      "appartment_number": null,
      "building": null,
      "city": "MARESCHE",
      "country": "FRANCE",
      "country_code": "FR",
      "county": null,
      "zip_code": "72170",
      "type": "CommercialAddress"
    },
    {
      "address1": "ZA La pitoisiere 2",
      "address2": null,
      "appartment_number": null,
      "building": null,
      "city": "MARESCHE",
      "country": "FRANCE",
      "country_code": "FR",
      "county": null,
      "zip_code": "72170",
      "type": "CustomerSupportAddress"
    }
  ]
}

Route :
GET /sellers/delivery-modes

Retrieves seller delivery modes.‏

Request URL

GET /sellers/delivery-modes

Sample Response

{
  "count": 1,
  "items": [
    {
      "code": "2",
      "name": "Envoi Suivi",
      "delivery_delay": 0,
      "is_express_delivery": false,
      "more_than30_kg_product": false
    }
  ]
}

Specific : Sellers managing Cdiscount Sellers

This method is only available for Cdiscount Sellers.

REST Seller is Global

This method is available in Global

Method :
GetSellerIndicators

To get seller performance indicators.

This operation makes it possible to obtain performance indicators of the specified seller.

Request URL

POST https://wsvc.cdiscount.com/MarketplaceAPIService.svc

Body

<Envelope xmlns:soapenv="[...]" xmlns:sys="[...]">
   <Body>
      <GetSellerIndicators xmlns="[...]" >
          <headerMessage xmlns:a="[...]" xmlns:i="[...]">
                <Context>
                    <CatalogID>1<CatalogID>
                    <CustomerPoolID>1<CustomerPoolID>
                    <SiteID>100<SiteID>
                <Context>
                <Localization>
                    <Country>Fr<Country>
                    <Currency>Eur<Currency>
                    <DecimalPosition>2<DecimalPosition>
                    <Language>Fr<Language>
                <Localization>
                <Security>
                    <DomainRightsList i:nil="true" />
                    <IssuerID i:nil="true" />
                    <SessionID i:nil="true" />
                    <SubjectLocality i:nil="true" />
                    <TokenId>${#Project#token}<TokenId>
                    <UserName i:nil="true" />
                <Security>
                <Version>1.0<Version>
            </headerMessage>
      </GetSellerIndicators>
   <Body>
<Envelope>

Route :
GET /sellers/indicators

Get seller indicators.

‏‏‎‎Request URL

GET /sellers/indicators

Sample Response

{
  "order_acceptation": {
    "computed_indicator_id": 237966441,
    "indicator_id": 2,
    "seller_id": 161,
    "description": "Taux d’acceptation des commandes",
    "value_d30": 98.62,
    "value_d60": 98.83,
    "value_d365": null,
    "treshold": 97.5,
    "compliant_d30": true,
    "compliant_d60": true,
    "compliant_d365": true,
    "computation_date": "2023-11-10T00:00:00",
    "processed": false,
    "treshold_type": "TresholdMin",
    "auto_check_exclusion": true
  }
}
Scroll to Top