>>> api.seller.get_seller_information() >>> api.last_request >>> api.last_response
You can use a YAML configuration file to store the information used in the HeaderMessage.
For example:
Version: '1.0'
Context:
SiteID: 100
CatalogID: 1
CustomerNumber: XXX
Localization:
Country: 'Fr'
Currency: 'Eur'
DecimalPosition: 2
Security:
UserName: ''
SubjectLocality:
Address: XXX
DnsName: XXX
Note
- The field TokenId doesn't have to be provided as it will be retrieved automatically.
- The fields not provided will have default values:
- SiteID: 100
- CatalogID: 1
None
for all the other fields.
(cf https://dev.cdiscount.com/marketplace/?page_id=134 for the complete list.)
- AcceptedBySeller
- Shipped
- RefusedBySeller
- ShipmentRefusedBySeller
- AvailableOnStore
- AcceptedBySeller
- ShippedBySeller
- RefusedBySeller
- ShipmentRefusedBySeller
- CancelledBeforeNotificationByCustomer
- CancelledBeforePaymentByCustomer
- CancellationRequestPending