- Informations générales
- Gestion de stock
Modèle produits (Product Type Template)
-
1. Utilisation
Ce Webservice est accessible uniquement aux vendeurs professionnels.
-
2. URL
Content
<errorresponse xmlns=”https://static.fr.shopping.rakuten.com/res/schema/error“ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“ xsi:schemaLocation=”https://static.fr.shopping.rakuten.com/res/schema/error https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd“><error><type>Sender</type><code>ParameterError</code><message>Problem with parameters.</message><details><detail><![CDATA[ The version xxxx-xx-xx is not supported ]]></detail></details></error></errorresponse>Code change<errorresponse xmlns=”https://static.fr.shopping.rakuten.com/res/schema/error“ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“ xsi:schemaLocation=”https://static.fr.shopping.rakuten.com/res/schema/error https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd“><error><type>Sender</type><code>ParameterError</code><message>Problem with parameters.</message><details><detail><![CDATA[ The version xxxx-xx-xx is not supported ]]></detail></details></error></errorresponse> -
3. Paramètres
Nom Description Obligatoire action producttypetemplate Oui login login du vendeur Oui pwd Vous avez besoin de votre Token. Plus d’informations ICI. Et vous trouverez votre Token ICI. Oui Version du Webservice à utiliser OuiCliquer ici pour voir le dernier numéro de version alias Type de produit Rakuten France fourni par le Webservice «ProductTypes » Oui scopeValeurs disponibles : Non« Sans valeur » : on récupère la liste des attributs sans leur valeur VALUES : on récupère la liste des attributs et leurs valeurs obligatoires (pour les attributs ayant des valeurs – visibles par la balise <havalues>) -
4. XSD
<xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema” elementFormDefault=”qualified” targetNamespace=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate” xmlns:ns=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplatecontainer”>
<xs:element name=”producttypetemplateresult”>
<xs:annotation>
<xs:documentation>
<![CDATA[
This service allows you to get the model (list of attributes and their information) of a product type available in the platform.
This webservice can be called at a URL like this:
https://ws.priceminister.<country suffix>/stock_ws?action=producttypetemplate&version=<version>&login=<login>&pwd=<password>&alias=<your product form alias>If the call succeeds, you will get an element ‘request’ that lists the parameters you have passed in your call,
as well as an element ‘response’, containing the data requested.If the call fails, you will get an error message that uses a standard XML structure common to all priceminister webservices.
You can get the schema for the error response here:
https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”request” type=”ns:RequestType”/>
<xs:element name=”response” type=”ns:ResponseType”/>
</xs:sequence>
</xs:complexType>
</xs:element><xs:complexType name=”RequestType”>
<xs:sequence>
<xs:element name=”user” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The login used to request the webservice.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”alias” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The alias of the form whose model is going to be returned.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”scope” type=”ns:ScopeType” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The scope of data to return. Use scope “VALUES” to get all permitted values for each attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”version” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The webservice version: YYYY-MM-DD
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributesType”>
<xs:sequence>
<xs:element name=”product” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”advert” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”media” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”campaigns” type=”ns:CampaignListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of product campaigns you want to associate your advert with.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”shipping” type=”ns:ShippingListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The shipping data.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”pickupStores” type=”ns:PickupStoreListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[ Pickup Stores stock information. ]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeListType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignListType”>
<xs:sequence>
<xs:element name=”campaign” type=”ns:CampaignType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
A product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingListType”>
<xs:sequence>
<xs:element name=”shipped_by_rsl” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is the package shipped by RSL service ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”package_weight” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The package weight.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”configuration” type=”ns:ShippingConfigurationType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the shipping configuration.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoresListType”>
<xs:sequence>
<xs:element name=”pickupStore” type=”ns:PickupStoreType” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoreType”>
<xs:sequence>
<xs:element name=”pickupStoreId” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Identifier of the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”unlimitedquantity” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Is the quantity is unlimited for the pickup store ?]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”stock” type=”xs:string” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingConfigurationType”>
<xs:sequence>
<xs:element name=”zone” type=”ns:ShippingZoneType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the zone.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingZoneType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Zone name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:sequence>
<xs:element name=”type” type=”ns:ShippingType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of one type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”authorization” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this type authorized ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”leader_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type leader price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”follower_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type follower price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Attributes of a product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeType”>
<xs:sequence>
<xs:element name=”label” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”key” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The key of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”mandatory” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this attribute mandatory?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valuetype” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The type of the attribute values. Can be ‘Text’, ‘Numeric’, ‘Boolean’ or ‘Date’.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”units” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible units for the attribute values.
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”unit” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible unit for the attribute value.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=”multivalued” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Can this attribute has several values?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”hasvalues” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Has this attribute at least one existing value option?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valueslist” minOccurs=”0″ maxOccurs=”1″>
<xs:complexType>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible values for the attribute.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name=”value” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible value for the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ResponseType”>
<xs:sequence>
<xs:element name=”prdtypelabel” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”updatedate” type=”xs:dateTime” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The last update date of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”attributes” type=”ns:AttributesType”/>
</xs:sequence>
</xs:complexType><xs:simpleType name=”ScopeType”>
<xs:restriction base=”xs:string”>
<xs:enumeration value=”VALUES”/>
</xs:restriction>
</xs:simpleType>
</xs:schema><xs:schema xmlns:xs=”http://www.w7.org/2500/XMLSchema” elementFormDefault=”qualified” targetNamespace=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate” xmlns:ns=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate”>
<xs:element name=”producttypetemplateresult”>
<xs:annotation>
<xs:documentation>
<![CDATA[
This service allows you to get the model (list of attributes and their information) of a product type available in the platform.
This webservice can be called at a URL like this:
https://ws.priceminister.<country suffix>/stock_ws?action=producttypetemplate&version=<version>&login=<login>&pwd=<password>&alias=<your product form alias>If the call succeeds, you will get an element ‘request’ that lists the parameters you have passed in your call,
as well as an element ‘response’, containing the data requested.If the call fails, you will get an error message that uses a standard XML structure common to all priceminister webservices.
You can get the schema for the error response here:
https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”request” type=”ns:RequestType”/>
<xs:element name=”response” type=”ns:ResponseType”/>
</xs:sequence>
</xs:complexType>
</xs:element><xs:complexType name=”RequestType”>
<xs:sequence>
<xs:element name=”user” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The login used to request the webservice.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”alias” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The alias of the form whose model is going to be returned.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”scope” type=”ns:ScopeType” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The scope of data to return. Use scope “VALUES” to get all permitted values for each attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”version” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The webservice version: YYYY-MM-DD
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributesType”>
<xs:sequence>
<xs:element name=”product” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”advert” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”media” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”campaigns” type=”ns:CampaignListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of product campaigns you want to associate your advert with.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”shipping” type=”ns:ShippingListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The shipping data.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”pickupStores” type=”ns:PickupStoreListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[ Pickup Stores stock information. ]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeListType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignListType”>
<xs:sequence>
<xs:element name=”campaign” type=”ns:CampaignType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
A product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingListType”>
<xs:sequence>
<xs:element name=”shipped_by_rsl” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is the package shipped by RSL service ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”package_weight” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The package weight.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”configuration” type=”ns:ShippingConfigurationType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the shipping configuration.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoresListType”>
<xs:sequence>
<xs:element name=”pickupStore” type=”ns:PickupStoreType” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoreType”>
<xs:sequence>
<xs:element name=”pickupStoreId” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Identifier of the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”unlimitedquantity” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Is the quantity is unlimited for the pickup store ?]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”stock” type=”xs:string” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingConfigurationType”>
<xs:sequence>
<xs:element name=”zone” type=”ns:ShippingZoneType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the zone.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingZoneType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Zone name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:sequence>
<xs:element name=”type” type=”ns:ShippingType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of one type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”authorization” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this type authorized ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”leader_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type leader price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”follower_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type follower price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Attributes of a product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeType”>
<xs:sequence>
<xs:element name=”label” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”key” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The key of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”mandatory” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this attribute mandatory?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valuetype” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The type of the attribute values. Can be ‘Text’, ‘Numeric’, ‘Boolean’ or ‘Date’.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”units” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible units for the attribute values.
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”unit” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible unit for the attribute value.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=”multivalued” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Can this attribute has several values?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”hasvalues” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Has this attribute at least one existing value option?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valueslist” minOccurs=”0″ maxOccurs=”1″>
<xs:complexType>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible values for the attribute.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name=”value” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible value for the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ResponseType”>
<xs:sequence>
<xs:element name=”prdtypelabel” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”updatedate” type=”xs:dateTime” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The last update date of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”attributes” type=”ns:AttributesType”/>
</xs:sequence>
</xs:complexType><xs:simpleType name=”ScopeType”>
<xs:restriction base=”xs:string”>
<xs:enumeration value=”VALUES”/>
</xs:restriction>
</xs:simpleType>
</xs:schema> -
5. Erreurs possible
Type Code Message Detail Sender Parameters Error Problem with parameters The parameter login is mandatory Sender Parameters Error Problem with parameters The parameter pwd is mandatory Sender Parameters Error Problem with parameters The parameter version is mandatory Sender Parameters Error Problem with parameters Could not find the model corresponding to the form alias <xs:schema xmlns:xs=”http://www.w7.org/2500/XMLSchema” elementFormDefault=”qualified” targetNamespace=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate” xmlns:ns=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate”>
<xs:element name=”producttypetemplateresult”>
<xs:annotation>
<xs:documentation>
<![CDATA[
This service allows you to get the model (list of attributes and their information) of a product type available in the platform.
This webservice can be called at a URL like this:
https://ws.priceminister.<country suffix>/stock_ws?action=producttypetemplate&version=<version>&login=<login>&pwd=<password>&alias=<your product form alias>If the call succeeds, you will get an element ‘request’ that lists the parameters you have passed in your call,
as well as an element ‘response’, containing the data requested.If the call fails, you will get an error message that uses a standard XML structure common to all priceminister webservices.
You can get the schema for the error response here:
https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”request” type=”ns:RequestType”/>
<xs:element name=”response” type=”ns:ResponseType”/>
</xs:sequence>
</xs:complexType>
</xs:element><xs:complexType name=”RequestType”>
<xs:sequence>
<xs:element name=”user” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The login used to request the webservice.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”alias” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The alias of the form whose model is going to be returned.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”scope” type=”ns:ScopeType” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The scope of data to return. Use scope “VALUES” to get all permitted values for each attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”version” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The webservice version: YYYY-MM-DD
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributesType”>
<xs:sequence>
<xs:element name=”product” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”advert” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”media” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”campaigns” type=”ns:CampaignListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of product campaigns you want to associate your advert with.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”shipping” type=”ns:ShippingListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The shipping data.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”pickupStores” type=”ns:PickupStoreListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[ Pickup Stores stock information. ]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeListType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignListType”>
<xs:sequence>
<xs:element name=”campaign” type=”ns:CampaignType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
A product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingListType”>
<xs:sequence>
<xs:element name=”shipped_by_rsl” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is the package shipped by RSL service ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”package_weight” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The package weight.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”configuration” type=”ns:ShippingConfigurationType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the shipping configuration.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoresListType”>
<xs:sequence>
<xs:element name=”pickupStore” type=”ns:PickupStoreType” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoreType”>
<xs:sequence>
<xs:element name=”pickupStoreId” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Identifier of the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”unlimitedquantity” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Is the quantity is unlimited for the pickup store ?]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”stock” type=”xs:string” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingConfigurationType”>
<xs:sequence>
<xs:element name=”zone” type=”ns:ShippingZoneType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the zone.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingZoneType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Zone name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:sequence>
<xs:element name=”type” type=”ns:ShippingType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of one type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”authorization” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this type authorized ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”leader_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type leader price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”follower_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type follower price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Attributes of a product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeType”>
<xs:sequence>
<xs:element name=”label” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”key” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The key of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”mandatory” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this attribute mandatory?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valuetype” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The type of the attribute values. Can be ‘Text’, ‘Numeric’, ‘Boolean’ or ‘Date’.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”units” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible units for the attribute values.
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”unit” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible unit for the attribute value.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=”multivalued” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Can this attribute has several values?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”hasvalues” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Has this attribute at least one existing value option?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valueslist” minOccurs=”0″ maxOccurs=”1″>
<xs:complexType>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible values for the attribute.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name=”value” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible value for the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ResponseType”>
<xs:sequence>
<xs:element name=”prdtypelabel” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”updatedate” type=”xs:dateTime” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:annotation>
<xs:annotation>
<xs:annotation>
<xs:documentation>
<![CDATA[
The last update date of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”attributes” type=”ns:AttributesType”/>
</xs:sequence>
</xs:complexType><xs:simpleType name=”ScopeType”>
<xs:restriction base=”xs:string”>
<xs:enumeration value=”VALUES”/>
</xs:restriction>
</xs:simpleType>
</xs:schema><xs:schema xmlns:ns=”https://static.fr.shopping.rakuten.com/res/schema/producttypetemplate”>
<xs:element name=”producttypetemplateresult”>
<xs:annotation>
<xs:documentation>
<![CDATA[
This service allows you to get the model (list of attributes and their information) of a product type available in the platform.
This webservice can be called at a URL like this:
https://ws.priceminister.<country suffix>/stock_ws?action=producttypetemplate&version=<version>&login=<login>&pwd=<password>&alias=<your product form alias>If the call succeeds, you will get an element ‘request’ that lists the parameters you have passed in your call,
as well as an element ‘response’, containing the data requested.If the call fails, you will get an error message that uses a standard XML structure common to all priceminister webservices.
You can get the schema for the error response here:
https://static.fr.shopping.rakuten.com/res/schema/error/error.xsd
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”request” type=”ns:RequestType”/>
<xs:element name=”response” type=”ns:ResponseType”/>
</xs:sequence>
</xs:complexType>
</xs:element><xs:complexType name=”RequestType”>
<xs:sequence>
<xs:element name=”user” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The login used to request the webservice.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”alias” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The alias of the form whose model is going to be returned.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”scope” type=”ns:ScopeType” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The scope of data to return. Use scope “VALUES” to get all permitted values for each attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”version” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The webservice version: YYYY-MM-DD
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributesType”>
<xs:sequence>
<xs:element name=”product” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”advert” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”media” type=”ns:AttributeListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”campaigns” type=”ns:CampaignListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of product campaigns you want to associate your advert with.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”shipping” type=”ns:ShippingListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The shipping data.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”pickupStores” type=”ns:PickupStoreListType”>
<xs:annotation>
<xs:documentation>
<![CDATA[ Pickup Stores stock information. ]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeListType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignListType”>
<xs:sequence>
<xs:element name=”campaign” type=”ns:CampaignType” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
A product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingListType”>
<xs:sequence>
<xs:element name=”shipped_by_rsl” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is the package shipped by RSL service ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”package_weight” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The package weight.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”configuration” type=”ns:ShippingConfigurationType”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the shipping configuration.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoresListType”>
<xs:sequence>
<xs:element name=”pickupStore” type=”ns:PickupStoreType” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”PickupStoreType”>
<xs:sequence>
<xs:element name=”pickupStoreId” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Identifier of the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”unlimitedquantity” type=”xs:string” minOccurs=”1″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Is the quantity is unlimited for the pickup store ?]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”stock” type=”xs:string” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[Stock for the pickup store]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingConfigurationType”>
<xs:sequence>
<xs:element name=”zone” type=”ns:ShippingZoneType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of the zone.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingZoneType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Zone name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:sequence>
<xs:element name=”type” type=”ns:ShippingType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Surrounding tag of one type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType><xs:complexType name=”ShippingType”>
<xs:sequence>
<xs:element name=”name” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type name.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”authorization” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this type authorized ?
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”leader_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type leader price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element><xs:element name=”follower_price” type=”xs:decimal” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Shipping type follower price.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”CampaignType”>
<xs:sequence>
<xs:element name=”attribute” type=”ns:AttributeType” minOccurs=”1″ maxOccurs=”4″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Attributes of a product campaign.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”AttributeType”>
<xs:sequence>
<xs:element name=”label” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”key” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The key of the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”mandatory” type=”xs:int”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Is this attribute mandatory?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valuetype” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The type of the attribute values. Can be ‘Text’, ‘Numeric’, ‘Boolean’ or ‘Date’.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”units” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible units for the attribute values.
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name=”unit” minOccurs=”1″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible unit for the attribute value.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=”multivalued” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Can this attribute has several values?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”hasvalues” type=”xs:int” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:documentation>
<![CDATA[
Has this attribute at least one existing value option?
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”valueslist” minOccurs=”0″ maxOccurs=”1″>
<xs:complexType>
<xs:annotation>
<xs:documentation>
<![CDATA[
The list of possible values for the attribute.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name=”value” minOccurs=”0″ maxOccurs=”unbounded”>
<xs:annotation>
<xs:documentation>
<![CDATA[
Possible value for the attribute.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType><xs:complexType name=”ResponseType”>
<xs:sequence>
<xs:element name=”prdtypelabel” type=”xs:string”>
<xs:annotation>
<xs:documentation>
<![CDATA[
The label of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”updatedate” type=”xs:dateTime” minOccurs=”0″ maxOccurs=”1″>
<xs:annotation>
<xs:annotation>
<xs:annotation>
<xs:annotation>
<xs:documentation>
<![CDATA[
The last update date of the product type.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name=”attributes” type=”ns:AttributesType”/>
</xs:sequence>
</xs:complexType><xs:simpleType name=”ScopeType”>
<xs:restriction base=”xs:string”>
<xs:enumeration value=”VALUES”/>
</xs:restriction>
</xs:simpleType>
</xs:schema> -
6. Données en retour
Voici une vue générale des données disponibles (se référer au XSD pour les détails) : Valeur Description Alias Alias du type de produit recherché Version Version du webservice appelé Response Prdtypelabel Libellé du type de produit Updatedate Date de dernière modification du modèle Attributes Liste des attributs product / advert / media / campaigns Indique les attributs produits / annonces / images ou campagne Label Libellé de l’attribut Key Clé de l’attribut Mandatory Indique si l’attribut est obligatoire pour la création Valuetype Type de l’attribut Multivalued Indique si l’attribut peut recevoir plusieurs valeurs Hasvalues Indique si l’attribut a une liste fermée de valeurs Valueslist Liste des valeurs de cet attribut Units Liste des unités pour certains attributs Unit Unité de valeur shippingDonnées concernant vos frais de port. La structure décrite ici est la structure exacte que vous pouvez avoir dans votre flux XML shipped_by_rsl Item envoyé par le service Rakuten Super Logistic (nécessite une activation de votre chargé de compte commercial) package_weight Poids du colis configuration / zone … Frais de port personnalisé par annonce (nécessite une activation de votre chargé de compte commercial) pickupStoresDonnées concernant le retrait en magasin. Cette structure s’affiche uniquement si votre compte est éligible. Si vous souhaitez en bénéficier, vous devez contacter votre chargé de compte. La structure décrite ici est la structure exacte que vous pouvez avoir dans votre flux XML pickupStore Indique les attributs associés à la fonctionnalité « retrait en magasin » (Click and Collect) pickupStoreId ID alphanumérique de votre magasin physique qty Disponibilité du produit dans votre magasin physique. Cette disponibilité peut différer de celle spécifié pour l’envoi du colis par transporteur -
7. Exemples de sortie
<producttypetemplateresult xsi:schemaLocation=”https://pmcdn.staticpmrk.com/res/schema/producttypetemplate https://pmcdn.staticpmrk.com/res/schema/producttypetemplate/producttypetemplate.2017-10-04.xsd”>
<request>
<user>xxxxxxx</user>
<alias>vetement</alias>
<version>2017-10-04</version>
</request>
<response>
<prdtypelabel>Vêtements</prdtypelabel>
<updatedate>2014-08-06T00:00:00</updatedate>
<attributes>
<product>
<attribute>
<label>Identification produit</label>
<key>pid</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Référence privée</label>
<key>submitterreference</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Public</label>
<key>varpublic</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Type de vêtement</label>
<key>garmentType</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Coupe</label>
<key>garmentCut</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Motif</label>
<key>garmentPattern</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>1</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Coupe</label>
<key>modele</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Marque</label>
<key>manufacturer</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Utilisation</label>
<key>prdUseDomain</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Type de sport</label>
<key>sportType</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Modèle</label>
<key>design</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Matière</label>
<key>fabricclothes</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Fait main</label>
<key>faitmain</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>1</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Vintage</label>
<key>vintage</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>1</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Descriptif détaillé de votre produit</label>
<key>prdEdito</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Titre de votre annonce</label>
<key>title</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Prix d’origine</label>
<key>originalPrice</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<units>
<unit>€</unit>
</units>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
</product>
<advert>
<attribute>
<label>Identification annonce</label>
<key>aid</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Taille</label>
<key>size</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Couleur</label>
<key>color</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Etat du produit</label>
<key>state</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>
Ajoutez un commentaire sur cet article pour augmenter vos chances de le vendre
</label>
<key>comment</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Prix de vente</label>
<key>sellingPrice</key>
<mandatory>1</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Stock illimité</label>
<key>qtyUnlimited</key>
<mandatory>0</mandatory>
<valuetype>Boolean</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Quantité</label>
<key>qty</key>
<mandatory>1</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Référence fabricant</label>
<key>mpnVariant</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>EAN (code barre)</label>
<key>eanVariant</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Modes de livraison</label>
<key>shipping</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>1</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Code Postal</label>
<key>zipcode</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>1</hasvalues>
</attribute>
<attribute>
<label>Téléphone</label>
<key>phoneNumber</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Votre référence cachée</label>
<key>sellerReference</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Votre commentaire caché</label>
<key>privateComment</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Description personnalisée</label>
<key>customizedAdvertDetail</key>
<mandatory>0</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
</advert>
<media>
<attribute>
<label>url image</label>
<key>image_url</key>
<mandatory>1</mandatory>
<valuetype>Text</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
</media>
<campaigns>
<campaign>
<attribute>
<label>Identifiant de la campagne</label>
<key>productsCampaignId</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Prix de référence</label>
<key>productsCampaignRefPrice</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Pourcentage de réduction</label>
<key>productsCampaignPct</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
<attribute>
<label>Prix “promo”</label>
<key>productsCampaignPrice</key>
<mandatory>0</mandatory>
<valuetype>Number</valuetype>
<multivalued>0</multivalued>
<hasvalues>0</hasvalues>
</attribute>
</campaign>
</campaigns>
<shipping>
<shipped_by_rsl>1</shipped_by_rsl>
<package_weight>30</package_weight>
<configuration>
<zone>
<name>WORLD</name>
<type>
<name>NORMAL</name>
<authorization>1</authorization>
<leader_price>44.44</leader_price>
<follower_price>33.33</follower_price>
</type>
<type>
<name>RECOMMANDE</name>
<authorization>1</authorization>
<leader_price>22.22</leader_price>
<follower_price>11.11</follower_price>
</type>
</zone>
<zone>
<name>EUROPE</name>
<type>
<name>NORMAL</name>
<authorization>1</authorization>
<leader_price>88.88</leader_price>
<follower_price>77.77</follower_price>
</type>
<type>
<name>RECOMMANDE</name>
<authorization>1</authorization>
<leader_price>66.66</leader_price>
<follower_price>55.55</follower_price>
</type>
</zone>
<zone>
<name>FRANCE_DROM_COM</name>
<type>
<name>NORMAL</name>
<authorization>1</authorization>
<leader_price>22.22</leader_price>
<follower_price>14.44</follower_price>
</type>
<type>
<name>RECOMMANDE</name>
<authorization>1</authorization>
<leader_price>10.40</leader_price>
<follower_price>99.99</follower_price>
</type>
</zone>
<zone>
<name>FRANCE</name>
<type>
<name>NORMAL</name>
<authorization>1</authorization>
<leader_price>33.33</leader_price>
<follower_price>44.44</follower_price>
</type>
<type>
<name>SUIVI</name>
<authorization>0</authorization>
</type>
<type>
<name>RECOMMANDE</name>
<authorization>1</authorization>
<leader_price>55.55</leader_price>
<follower_price>11.11</follower_price>
</type>
<type>
<name>EXPRESS_DELIVERY</name>
<authorization>1</authorization>
<leader_price>66.66</leader_price>
<follower_price>22.22</follower_price>
</type>
</zone>
</configuration>
</shipping>
<pickupStores>
<pickupStore>
<pickupStoreId>A1</pickupStoreId>
<qty>3</qty>
</pickupStore>
<pickupStore>
<pickupStoreId>B2</pickupStoreId>
<qty>7</qty>
</pickupStore>
<pickupStore>
<pickupStoreId>K6</pickupStoreId>
<qty>2</qty>
</pickupStore>
</pickupStores>
</attributes>
</response>
</producttypetemplateresult>