Page tree
Skip to end of metadata
Go to start of metadata

Ключ

Заказ категории ИМ (интернет-магазин) создаётся с ключом категории 9.

Особенности

Доступна услуга торгового посредничества: если заказ не предоплачен, курьер получает оплату за товар. Сценарии взаимодействия в случае создания заказа категории ИМ здесь.

География 

Доставка осуществляется по России и СНГ, а также из России (или СНГ) в дальнее зарубежье.

На что обратить внимание

В случае успешного создания заказа ответ API будет содержать статус  заказа Processing, а также номер накладной (Waybill->Number) и номер заказа ПЭ (PerformersNumber).

Рекомендуется передавать не более 50 заказов в одном запросе, - иначе запрос будет обрабатываться долго, и клиентское приложение получит ошибку таймаута, несмотря на то, что заказы будут созданы.

Спецификация

Ниже приведены примеры создания заказа ИМ в случае доставки до двери и в случае доставки в ПВЗ. Запрос "Доставка до двери"  отличается от запроса "Доставка в ПВЗ" только блоком Recipient. 

В случае доставки в ПВЗ для задания значения ID ПВЗ можно воспользоваться виджетом или запросом PickupPointsRequest. Перед использованием рекомендуется изменить поле ClientsNumber, т.к. клиентский номер заказа должен быть уникален в рамках используемого ключа доступа.

Описание типов данных здесь.

Доставка до двери

Request
Request code
<?xml version="1.0" encoding="utf-8"?>
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="OrderRequest">
	<Id>1</Id> <!--Optional-->
	<Mode>Order</Mode> <!--Required-->
	<OrderList> <!--Required-->
		<Order> <!--Required-->
			<ClientsNumber>tst00555900</ClientsNumber> <!--Optional-->
			<Payment> <!--Required-->
				<Mode>Bill</Mode> <!--Required-->
			</Payment>
			<ServiceList> <!--Required-->
				<Service xsi:type="DeliveryService"> <!--Required-->
					<Id>1</Id> <!--Optional-->
					<PickupDate>2021-11-18T00:00:00+04:00</PickupDate> <!--Optional-->
					<Mode>Express</Mode> <!--Optional-->
					<Sender> <!--Required-->
						<Address> <!--Required-->
							<Country>Россия</Country> <!--Optional-->
							<Region> </Region> <!--Optional-->
							<District> </District> <!--Optional-->
							<PostCode>127023</PostCode> <!--Optional-->
							<City>Москва</City> <!--Required-->
							<StreetAddress>ул.Строителей, д.13</StreetAddress> <!--Required-->
						</Address>
						<Company> <!--Required-->
							<Name>ОАО "Компания"</Name> <!--Required-->
						</Company>
						<PersonList> <!--Required-->
							<Person> <!--Required at least one-->
								<Name>Петров Игорь Иванович</Name> <!--Required-->
								<PhoneList> <!--Required-->
									<string>+7 495 342-3422</string> <!--Required at least one-->
									<string>12-44</string>
								</PhoneList>
								<EMailList> <!--Optional-->
									<string>sender@ml.ru</string> <!--Required at least one if parent node present-->
								</EMailList>
							</Person>
							<Person>
								<Name>Иванов Семен</Name>
								<PhoneList>
									<string>+7 910 456-7895</string>
								</PhoneList>
								<EMailList> 
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
						</PersonList>
						<Unformalized>Или любому другому лицу в компании</Unformalized> <!--Optional-->
					</Sender>
					<Recipient> <!--Required-->
						<Address> <!--Required-->
							<Country>Россия</Country> <!--Optional-->
							<Region>Красноярcкий край</Region> <!--Optional-->
							<District> </District> <!--Optional-->
							<PostCode>660013</PostCode> <!--Optional-->
							<City>Красноярск</City> <!--Required-->
							<StreetAddress>ул.Взлетная, д.1</StreetAddress> <!--Required-->
						</Address>
						<Company> <!--Optional-->
							<Name>ОАО "Самолет"</Name> <!--Required if parent node present-->
							<INN>0123456789</INN> <!--Optional-->
						</Company>
						<PersonList> <!--Required-->
							<Person> <!--Required at least one-->
								<Name>Шпак Геннадий Семенович</Name> <!--Required-->
								<PhoneList> <!--Required-->
									<string>+3912 34-23-12</string> <!--Required at least one-->
									<string>11-4</string>
								</PhoneList>
								<EMailList> <!--Optional-->
									<string>sender@ml.ru</string> <!--Required at least one if parent node present-->
								</EMailList>
							</Person>
						</PersonList>
						<IsCompany>true</IsCompany> <!--Optional-->
					</Recipient>
					<CargoList> <!--Required-->
						<Cargo> <!--Required at least one-->
							<Id>1</Id> <!--Optional-->
							<Barcode>12345234</Barcode> <!--Required if CargoList contain more than one Cargo-->
							<Description>Пимпачки и помпочки</Description> <!--Optional-->
							<Packing> <!--Optional-->
								<Type>Box</Type> <!--Required if parent node present-->
							</Packing>
							<Dimentions> <!--Optional-->
								<Length>350</Length> <!--Required if parent node present-->
								<Width>500</Width> <!--Required if parent node present-->
								<Height>300</Height> <!--Required if parent node present-->
							</Dimentions>
							<Weight>1400</Weight> <!--Required-->
							<Cost>8300</Cost> <!--Optional-->
						</Cargo>
						<Cargo>
							<Id>2</Id>
							<Barcode>12345235</Barcode>
							<Description>Штучки</Description>
							<Packing>
								<Type>Box</Type>
							</Packing>
							<Dimentions>
								<Length>250</Length>
								<Width>300</Width>
								<Height>200</Height>
							</Dimentions>
							<Weight>800</Weight>
							<Cost>1100</Cost>
						</Cargo>
					</CargoList>
					<ItemList> <!--Required-->
						<Item> <!--Required at least one-->
							<Id>1</Id> <!--Required-->
							<CargoId>1</CargoId> <!--Optional-->
							<Barcode>art2341667</Barcode> <!--Required-->
							<Description>Пимпачка</Description> <!--Required-->
							<Weight>50</Weight> <!--Optional-->
							<Cost>50</Cost> <!--Optional-->
							<Count>100</Count> <!--Required-->
							<ContractorINN>111111111111</ContractorINN> <!--Optional-->
							<ContractorPhone>89160000000</ContractorPhone> <!--Optional-->
							<ContractorName>Какой-то поставщик</ContractorName> <!--Optional-->
							<OriginCountry>Россия</OriginCountry> <!--Optional-->
							<CCD>asdfghjkl</CCD> <!--Optional-->
							<Cis>test1</Cis> <!--Optional-->
						</Item>
						<Item>
							<Id>2</Id>
							<CargoId>1</CargoId>
							<Barcode>art2341668</Barcode>
							<Description>Помпочка</Description>
							<Weight>140</Weight>
							<Cost>66</Cost>
							<Count>50</Count>
							<ContractorINN>111111111112</ContractorINN> 
							<ContractorPhone>89160000002</ContractorPhone> 
							<ContractorName>Какой-то поставщик 2</ContractorName> 
							<OriginCountry>Россия</OriginCountry>
							<CCD>asdfghjkl</CCD>
							<Cis>test2</Cis>
						</Item>
						<Item>
							<Id>3</Id>
							<CargoId>2</CargoId>
							<Barcode>art2342340</Barcode>
							<Description>Штучка</Description>
							<Weight>8</Weight>
							<Cost>100</Cost>
							<Count>11</Count>
							<ContractorINN>111111111113</ContractorINN> 
							<ContractorPhone>89160000003</ContractorPhone> 
							<ContractorName>Какой-то поставщик 3</ContractorName> 
							<OriginCountry>Россия</OriginCountry>
							<CCD>asdfghjkl</CCD>
							<Cis>test3</Cis>
						</Item>
					</ItemList>
					<Unformalized>Доставка запчастей</Unformalized> <!--Optional-->
					<AdditionalServices>  <!--Optional-->
						<DeliveryAdditionalService> <!--Optional-->
							<Code>1019</Code> <!--Required if parent node present-->
							<Parameters> <!--Optional-->
								<ServiceParameter xsi:type="CountParameter"> <!--Optional-->
									<Count>10</Count> <!--Required if parent node present-->
								</ServiceParameter>
							</Parameters>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService> 
							<Code>1015</Code> 
						</DeliveryAdditionalService>
						<DeliveryAdditionalService> 
							<Code>1017</Code>
						</DeliveryAdditionalService>           
						<DeliveryAdditionalService>
							<Code>1013</Code>
							<Parameters>
								<ServiceParameter xsi:type="AddressParameter">
									<Country>Россия</Country>
									<Region>Московская область</Region>
									<District>Одинцовский</District>
									<PostCode>111631</PostCode>
									<City>Одинцово</City>
									<StreetAddress>Белорусская 4 -125</StreetAddress>
								</ServiceParameter>
							</Parameters>
						</DeliveryAdditionalService>               
					</AdditionalServices>
				</Service>
				<Service xsi:type="SalesMediationService"> <!--Required-->
					<Id>1</Id> <!--Optional-->
					<ConsumerPayment> <!--Required-->
						<Mode>Cash</Mode> <!--Required-->
					</ConsumerPayment>
					<PrepaymentItem> <!--Optional-->
						<Price>-300</Price> <!--Required if parent node present-->
					</PrepaymentItem>
					<DeliveryItem> <!--Optional-->
						<Price>350</Price> <!--Required if parent node present-->
						<VAT> <!--Optional-->
							<VATGroupCode>1</VATGroupCode> <!--Required if parent node present-->
						</VAT>
					</DeliveryItem>
					<LotList> <!--Required-->
						<Lot> <!--Required at least one-->
							<Id>1</Id> <!--Required-->
							<ItemList> <!--Required-->
								<CommodityItem> <!--Required at least one-->
									<ItemId>1</ItemId> <!--Required-->
									<Price>51</Price> <!--Required-->
									<Url>www.somesite.com/item1</Url> <!--Optional-->
									<VAT> <!--Optional-->
										<VATGroupCode>1</VATGroupCode> <!--Required if parent node present-->
									</VAT>
								</CommodityItem>
								<CommodityItem>
									<ItemId>2</ItemId>
									<Price>67</Price>
									<Url>www.somesite.com/item2</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
						<Lot>
							<Id>2</Id>
							<ItemList>
								<CommodityItem>
									<ItemId>3</ItemId>
									<Price>101</Price>
									<Url>www.somesite.com/item3</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
					</LotList>
					<OrderSumThreshold>777</OrderSumThreshold> <!--Optional-->
				</Service>
				<Service xsi:type="SMSInfoService"> <!--Optional-->
					<Id>1</Id> <!--Optional-->
					<Mode>Delivered</Mode> <!--Required-->
					<PhoneList> <!--Required-->
						<string>89133427514</string> <!--Required-->
					</PhoneList>
				</Service>
				<Service xsi:type="SMSInfoService"> 
					<Id>1</Id> 
					<Mode>LastMile</Mode>
					<PhoneList>
						<string>89163767521</string>
					</PhoneList>
				</Service>
			</ServiceList>
		</Order>
	</OrderList>
</Request>

Response

Response code
<?xml version="1.0" encoding="utf-8"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<RequestId>1</RequestId>
	<OrderList>
		<Order>
			<Guid>daa1c487-9d9d-4b6f-89a7-9daf6c2b3fc4</Guid>
			<ClientsNumber>tst00555900</ClientsNumber>
			<PerformersNumber>MOW34485001</PerformersNumber>
			<OrderType>OnlineShop</OrderType>
			<Payment>
				<Mode>Bill</Mode>
			</Payment>
			<ServiceList>
				<Service xsi:type="SMSInfoService">
					<Id>1</Id>
					<StatusList />
					<Mode>LastMile</Mode>
					<PhoneList>
						<string>89163767521</string>
					</PhoneList>
				</Service>
				<Service xsi:type="SMSInfoService">
					<Id>1</Id>
					<StatusList />
					<Mode>Delivered</Mode>
					<PhoneList>
						<string>89133427514</string>
					</PhoneList>
				</Service>
				<Service xsi:type="SalesMediationService">
					<Id>1</Id>
					<StatusList />
					<Mode>Entire</Mode>
					<OriginMode>Partial</OriginMode>
					<ConsumerPayment>
						<Mode>Cash</Mode>
					</ConsumerPayment>
					<PrepaymentItem>
						<Price>-300.0000</Price>
					</PrepaymentItem>
					<DeliveryItem>
						<Price>350.0000</Price>
						<VAT>
							<VATGroupCode>1</VATGroupCode>
						</VAT>
					</DeliveryItem>
					<LotList>
						<Lot>
							<Id>1</Id>
							<ItemList>
								<CommodityItem>
									<ItemId>2</ItemId>
									<Price>67.0000</Price>
									<Url>www.somesite.com/item2</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
								<CommodityItem>
									<ItemId>1</ItemId>
									<Price>51.0000</Price>
									<Url>www.somesite.com/item1</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
						<Lot>
							<Id>2</Id>
							<ItemList>
								<CommodityItem>
									<ItemId>3</ItemId>
									<Price>101.0000</Price>
									<Url>www.somesite.com/item3</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
					</LotList>
					<OrderSumThreshold>777</OrderSumThreshold>
				</Service>
				<Service xsi:type="DeliveryService">
					<Id>1</Id>
					<StatusList />
					<PickupDate>2021-11-17T00:00:00</PickupDate>
					<OriginPickupDate>2021-11-17T23:00:00</OriginPickupDate>
					<PlannedDeliveryDate>2021-11-19T00:00:00</PlannedDeliveryDate>
					<Mode>Express</Mode>
					<Waybill>
						<Number>24-3055-1640</Number>
					</Waybill>
					<Sender>
						<Address>
							<Country>Россия</Country>
							<Region> </Region>
							<District> </District>
							<PostCode>127023</PostCode>
							<City>Москва</City>
							<StreetAddress>ул.Строителей, д.13</StreetAddress>
						</Address>
						<Company>
							<Name>ОАО "Компания"</Name>
						</Company>
						<PersonList>
							<Person>
								<Name>Иванов Семен</Name>
								<PhoneList>
									<string>+7 910 456-7895</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
							<Person>
								<Name>Петров Игорь Иванович</Name>
								<PhoneList>
									<string>+7 495 342-3422</string>
									<string>12-44</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
						</PersonList>
						<Node>MOW</Node>
						<Unformalized>Или любому другому лицу в компании</Unformalized>
					</Sender>
					<Recipient>
						<Address>
							<Country>Россия</Country>
							<Region>Красноярcкий край</Region>
							<District> </District>
							<PostCode>660013</PostCode>
							<City>Красноярск</City>
							<StreetAddress>ул.Взлетная, д.1</StreetAddress>
						</Address>
						<Company>
							<Name>ОАО "Самолет"</Name>
							<INN>0123456789</INN>
						</Company>
						<PersonList>
							<Person>
								<Name>Шпак Геннадий Семенович</Name>
								<PhoneList>
									<string>+3912 34-23-12</string>
									<string>11-4</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
						</PersonList>
						<Node>KJA</Node>
						<IsCompany>true</IsCompany>
					</Recipient>
					<CargoList>
						<Cargo>
							<Id>1</Id>
							<Barcode>12345234</Barcode>
							<Description>Пимпачки и помпочки</Description>
							<Packing>
								<Type>Box</Type>
							</Packing>
							<Dimentions>
								<Length>350</Length>
								<Width>500</Width>
								<Height>300</Height>
							</Dimentions>
							<Weight>1400</Weight>
							<VolumeWeight>10500</VolumeWeight>
							<Cost>8300.0000</Cost>
						</Cargo>
						<Cargo>
							<Id>2</Id>
							<Barcode>12345235</Barcode>
							<Description>Штучки</Description>
							<Packing>
								<Type>Box</Type>
							</Packing>
							<Dimentions>
								<Length>250</Length>
								<Width>300</Width>
								<Height>200</Height>
							</Dimentions>
							<Weight>800</Weight>
							<VolumeWeight>3000</VolumeWeight>
							<Cost>1100.0000</Cost>
						</Cargo>
					</CargoList>
					<ItemList>
						<Item>
							<Id>2</Id>
							<CargoId>1</CargoId>
							<Barcode>art2341668</Barcode>
							<Description>Помпочка</Description>
							<Weight>140</Weight>
							<Cost>66.0000</Cost>
							<Count>50</Count>
							<ContractorINN>111111111112</ContractorINN>
							<ContractorPhone>89160000002</ContractorPhone>
							<ContractorName>Какой-то поставщик 2</ContractorName>
							<OriginCountry>Россия</OriginCountry>
							<CCD>asdfghjkl</CCD>
							<Cis>test2</Cis>
						</Item>
						<Item>
							<Id>3</Id>
							<CargoId>2</CargoId>
							<Barcode>art2342340</Barcode>
							<Description>Штучка</Description>
							<Weight>8</Weight>
							<Cost>100.0000</Cost>
							<Count>11</Count>
							<ContractorINN>111111111113</ContractorINN>
							<ContractorPhone>89160000003</ContractorPhone>
							<ContractorName>Какой-то поставщик 3</ContractorName>
							<OriginCountry>Россия</OriginCountry>
							<CCD>asdfghjkl</CCD>
							<Cis>test3</Cis>
						</Item>
						<Item>
							<Id>1</Id>
							<CargoId>1</CargoId>
							<Barcode>art2341667</Barcode>
							<Description>Пимпачка</Description>
							<Weight>50</Weight>
							<Cost>50.0000</Cost>
							<Count>100</Count>
							<ContractorINN>111111111111</ContractorINN>
							<ContractorPhone>89160000000</ContractorPhone>
							<ContractorName>Какой-то поставщик</ContractorName>
							<OriginCountry>Россия</OriginCountry>
							<CCD>asdfghjkl</CCD>
							<Cis>test1</Cis>
						</Item>
					</ItemList>
					<PackItemList />
					<DocumentList />
					<Unformalized>Доставка запчастей</Unformalized>
					<AdditionalServices>
						<DeliveryAdditionalService>
							<Code>1015</Code>
							<Name>Лично в руки</Name>
							<Description>Лично в руки</Description>
							<IncludingType>Selected</IncludingType>
							<Sum>150.0000</Sum>
							<VAT>30.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1013</Code>
							<Name>Возврат документов</Name>
							<Description>Возврат документов</Description>
							<IncludingType>Selected</IncludingType>
							<Sum>300.0000</Sum>
							<VAT>60.0000</VAT>
							<Parameters>
								<ServiceParameter xsi:type="AddressParameter">
									<Country>Россия</Country>
									<Region>Московская область</Region>
									<District>Одинцовский</District>
									<PostCode>111631</PostCode>
									<City>Одинцово</City>
									<StreetAddress>Белорусская 4 -125</StreetAddress>
								</ServiceParameter>
							</Parameters>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1019</Code>
							<Name>Обрешетка</Name>
							<Description>Обрешетка</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1017</Code>
							<Name>Прозвон</Name>
							<Description>Прозвон</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1022</Code>
							<Name>СМС-уведомление отправителя</Name>
							<Description>SMS-уведомление отправителя</Description>
							<IncludingType>Included</IncludingType>
							<Sum>30.0000</Sum>
							<VAT>6.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1004</Code>
							<Name>Объявленная ценность</Name>
							<Description>Объявленная ценность</Description>
							<IncludingType>Included</IncludingType>
							<Sum>94.0000</Sum>
							<VAT>18.8000</VAT>
						</DeliveryAdditionalService>
					</AdditionalServices>
				</Service>
			</ServiceList>
			<StatusList>
				<OrderStatus>
					<Description>Order has been received</Description>
					<Date>2019-08-01T13:07:04.983</Date>
					<Code>Received</Code>
				</OrderStatus>
				<OrderStatus>
					<Description>Order has been checked</Description>
					<Date>2019-08-01T13:07:06.01</Date>
					<Code>Checked</Code>
				</OrderStatus>
				<OrderStatus>
					<Description>Order is in processing</Description>
					<Date>2019-08-01T13:07:07.62</Date>
					<Code>Processing</Code>
				</OrderStatus>
			</StatusList>
			<ExternalDataList />
		</Order>
	</OrderList>
	<MessageList />
</Response>


Доставка в ПВЗ

Request
Request code
<?xml version="1.0" encoding="utf-8"?>
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="OrderRequest">
    <Id>1</Id> <!--Optional-->
    <Mode>Order</Mode> <!--Required-->
    <OrderList> <!--Required-->
        <Order> <!--Required-->
            <ClientsNumber>tst00555904</ClientsNumber> <!--Optional-->
            <Payment> <!--Required-->
                <Mode>Bill</Mode> <!--Required-->
            </Payment>
            <ServiceList> <!--Required-->
                <Service xsi:type="DeliveryService"> <!--Required-->
                    <Id>1</Id> <!--Optional-->
                    <PickupDate>2021-11-18T00:00:00+04:00</PickupDate> <!--Optional-->
                    <Mode>Express</Mode> <!--Optional-->
                    <Sender> <!--Required-->
                        <Address> <!--Required-->
                            <Country>Россия</Country> <!--Optional-->
                            <Region> </Region> <!--Optional-->
                            <District> </District> <!--Optional-->
                            <PostCode>127023</PostCode> <!--Optional-->
                            <City>Москва</City> <!--Required-->
                            <StreetAddress>ул.Строителей, д.13</StreetAddress> <!--Required-->
                        </Address>
                        <Company> <!--Required-->
                            <Name>ОАО "Компания"</Name> <!--Required-->
                        </Company>
                        <PersonList> <!--Required-->
                            <Person> <!--Required at least one-->
                                <Name>Петров Игорь Иванович</Name> <!--Required-->
                                <PhoneList> <!--Required-->
                                    <string>+7 495 342-3422</string> <!--Required at least one-->
                                    <string>12-44</string>
                                </PhoneList>
                                <EMailList> <!--Optional-->
                                    <string>sender@ml.ru</string> <!--Required at least one if parent node present-->
                                </EMailList>
                            </Person>
                            <Person>
                                <Name>Иванов Семен</Name>
                                <PhoneList>
                                    <string>+7 910 456-7895</string>
                                </PhoneList>
                                <EMailList>
                                    <string>sender@ml.ru</string>
                                </EMailList>
                            </Person>
                        </PersonList>
                        <Unformalized>Или любому другому лицу в компании</Unformalized> <!--Optional-->
                    </Sender>
                    <Recipient>
                        <PickupPoint> <!--Required-->
                            <Id>0BCF7DF7-9AAB-4834-BCFB-046B78A65CA9</Id> <!--Required-->
                        </PickupPoint>
                        <PersonList> <!--Required-->
                            <Person> <!--Required at least one-->
                                <Name>Шпак Геннадий Семенович</Name> <!--Required-->
                                <PhoneList> <!--Required-->
                                    <string>+3912 34-23-12</string> <!--Required at least one-->
                                    <string>11-4</string>
                                </PhoneList>
                                <EMailList> <!--Optional-->
                                    <string>sender@ml.ru</string> <!--Required at least one if parent node present-->
                                </EMailList>
                            </Person>
                        </PersonList>
                    </Recipient>
                    <CargoList> <!--Required-->
                        <Cargo> <!--Required at least one-->
                            <Id>1</Id> <!--Optional-->
                            <Barcode>12345234</Barcode> <!--Required if CargoList contain more than one Cargo-->
                            <Description>Пимпачки и помпочки</Description> <!--Optional-->
                            <Packing> <!--Optional-->
                                <Type>Box</Type> <!--Required if parent node present-->
                            </Packing>
                            <Dimentions> <!--Optional-->
                                <Length>350</Length> <!--Required if parent node present-->
                                <Width>500</Width> <!--Required if parent node present-->
                                <Height>300</Height> <!--Required if parent node present-->
                            </Dimentions>
                            <Weight>1400</Weight> <!--Required-->
                            <Cost>8300</Cost> <!--Optional-->
                        </Cargo>
                        <Cargo>
                            <Id>2</Id>
                            <Barcode>12345235</Barcode>
                            <Description>Штучки</Description>
                            <Packing>
                                <Type>Box</Type>
                            </Packing>
                            <Dimentions>
                                <Length>250</Length>
                                <Width>300</Width>
                                <Height>200</Height>
                            </Dimentions>
                            <Weight>800</Weight>
                            <Cost>1100</Cost>
                        </Cargo>
                    </CargoList>
                    <ItemList> <!--Required-->
                        <Item> <!--Required at least one-->
                            <Id>1</Id> <!--Required-->
                            <CargoId>1</CargoId> <!--Optional-->
                            <Barcode>art2341667</Barcode> <!--Required-->
                            <Description>Пимпачка</Description> <!--Required-->
                            <Weight>50</Weight> <!--Optional-->
                            <Cost>50</Cost> <!--Optional-->
                            <Count>100</Count> <!--Required-->
                            <ContractorINN>111111111111</ContractorINN> <!--Optional-->
                            <ContractorPhone>89160000000</ContractorPhone> <!--Optional-->
                            <ContractorName>Какой-то поставщик</ContractorName> <!--Optional-->
                            <OriginCountry>Россия</OriginCountry> <!--Optional-->
                            <CCD>asdfghjkl</CCD> <!--Optional-->
                            <Cis>test1</Cis> <!--Optional-->
                        </Item>
                        <Item>
                            <Id>2</Id>
                            <CargoId>1</CargoId>
                            <Barcode>art2341668</Barcode>
                            <Description>Помпочка</Description>
                            <Weight>140</Weight>
                            <Cost>66</Cost>
                            <Count>50</Count>
                            <ContractorINN>111111111112</ContractorINN>
                            <ContractorPhone>89160000002</ContractorPhone>
                            <ContractorName>Какой-то поставщик 2</ContractorName>
                            <OriginCountry>Россия</OriginCountry> 
                            <CCD>asdfghjkl</CCD> 
                            <Cis>test2</Cis>
                        </Item>
                        <Item>
                            <Id>3</Id>
                            <CargoId>2</CargoId>
                            <Barcode>art2342340</Barcode>
                            <Description>Штучка</Description>
                            <Weight>8</Weight>
                            <Cost>100</Cost>
                            <Count>11</Count>
                            <ContractorINN>111111111113</ContractorINN>
                            <ContractorPhone>89160000003</ContractorPhone>
                            <ContractorName>Какой-то поставщик 3</ContractorName>
                            <OriginCountry>Россия</OriginCountry> 
                            <CCD>asdfghjkl</CCD> 
                            <Cis>test3</Cis>
                        </Item>
                    </ItemList>
                    <Unformalized>Доставка запчастей</Unformalized> <!--Optional-->
                    <AdditionalServices>  <!--Optional-->
                        <DeliveryAdditionalService> <!--Optional-->
                            <Code>1019</Code> <!--Required if parent node present-->
                            <Parameters> <!--Optional-->
                                <ServiceParameter xsi:type="CountParameter"> <!--Optional-->
                                    <Count>10</Count> <!--Required if parent node present-->
                                </ServiceParameter>
                            </Parameters>
                        </DeliveryAdditionalService>
                        <DeliveryAdditionalService>
                            <Code>1015</Code>
                        </DeliveryAdditionalService>
                        <DeliveryAdditionalService>
                            <Code>1017</Code>
                        </DeliveryAdditionalService>          
                        <DeliveryAdditionalService>
                            <Code>1013</Code>
                            <Parameters>
                                <ServiceParameter xsi:type="AddressParameter">
                                    <Country>Россия</Country>
                                    <Region>Московская область</Region>
                                    <District>Одинцовский</District>
                                    <PostCode>111631</PostCode>
                                    <City>Одинцово</City>
                                    <StreetAddress>Белорусская 4 -125</StreetAddress>
                                </ServiceParameter>
                            </Parameters>
                        </DeliveryAdditionalService>              
                    </AdditionalServices>
                </Service>
                <Service xsi:type="SalesMediationService"> <!--Required-->
                    <Id>1</Id> <!--Optional-->
                    <ConsumerPayment> <!--Required-->
                        <Mode>Cash</Mode> <!--Required-->
                    </ConsumerPayment>
                    <PrepaymentItem> <!--Optional-->
                        <Price>-300</Price> <!--Required if parent node present-->
                    </PrepaymentItem>
                    <DeliveryItem> <!--Optional-->
                        <Price>350</Price> <!--Required if parent node present-->
                        <VAT> <!--Optional-->
                            <VATGroupCode>1</VATGroupCode> <!--Required if parent node present-->
                        </VAT>
                    </DeliveryItem>
                    <LotList> <!--Required-->
                        <Lot> <!--Required at least one-->
                            <Id>1</Id> <!--Required-->
                            <ItemList> <!--Required-->
                                <CommodityItem> <!--Required at least one-->
                                    <ItemId>1</ItemId> <!--Required-->
                                    <Price>51</Price> <!--Required-->
                                    <Url>www.somesite.com/item1</Url> <!--Optional-->
                                    <VAT> <!--Optional-->
                                        <VATGroupCode>1</VATGroupCode> <!--Required if parent node present-->
                                    </VAT>
                                </CommodityItem>
                                <CommodityItem>
                                    <ItemId>2</ItemId>
                                    <Price>67</Price>
                                    <Url>www.somesite.com/item2</Url>
                                    <VAT>
                                        <VATGroupCode>1</VATGroupCode>
                                    </VAT>
                                </CommodityItem>
                            </ItemList>
                        </Lot>
                        <Lot>
                            <Id>2</Id>
                            <ItemList>
                                <CommodityItem>
                                    <ItemId>3</ItemId>
                                    <Price>101</Price>
                                    <Url>www.somesite.com/item3</Url>
                                    <VAT>
                                        <VATGroupCode>1</VATGroupCode>
                                    </VAT>
                                </CommodityItem>
                            </ItemList>
                        </Lot>
                    </LotList>
                    <OrderSumThreshold>777</OrderSumThreshold> <!--Optional-->
                </Service>
                <Service xsi:type="SMSInfoService"> <!--Optional-->
                    <Id>1</Id> <!--Optional-->
                    <Mode>Delivered</Mode> <!--Required-->
                    <PhoneList> <!--Required-->
                        <string>89133427514</string> <!--Required-->
                    </PhoneList>
                </Service>
                <Service xsi:type="SMSInfoService">
                    <Id>1</Id>
                    <Mode>LastMile</Mode>
                    <PhoneList>
                        <string>89163767521</string>
                    </PhoneList>
                </Service>
            </ServiceList>
        </Order>
    </OrderList>
</Request>

Response

Response code
<?xml version="1.0" encoding="utf-8"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<RequestId>1</RequestId>
	<OrderList>
		<Order>
			<Guid>e14da5dc-570c-4a78-8252-633a4f9001a7</Guid>
			<ClientsNumber>tst00555904</ClientsNumber>
			<PerformersNumber>MOW35379351</PerformersNumber>
			<OrderType>OnlineShop</OrderType>
			<Payment>
				<Mode>Bill</Mode>
			</Payment>
			<ServiceList>
				<Service xsi:type="SMSInfoService">
					<Id>1</Id>
					<StatusList />
					<Mode>Delivered</Mode>
					<PhoneList>
						<string>89133427514</string>
					</PhoneList>
				</Service>
				<Service xsi:type="DeliveryService">
					<Id>1</Id>
					<StatusList />
					<PickupDate>2021-11-17T00:00:00</PickupDate>
					<OriginPickupDate>2021-11-17T23:00:00</OriginPickupDate>
					<PlannedDeliveryDate>2021-11-17T00:00:00</PlannedDeliveryDate>
					<Mode>Express</Mode>
					<Waybill>
						<Number>24-4249-1876</Number>
					</Waybill>
					<Sender>
						<Address>
							<Country>Россия</Country>
							<Region> </Region>
							<District> </District>
							<PostCode>127023</PostCode>
							<City>Москва</City>
							<StreetAddress>ул.Строителей, д.13</StreetAddress>
						</Address>
						<Company>
							<Name>ОАО "Компания"</Name>
						</Company>
						<PersonList>
							<Person>
								<Name>Петров Игорь Иванович</Name>
								<PhoneList>
									<string>+7 495 342-3422</string>
									<string>12-44</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
							<Person>
								<Name>Иванов Семен</Name>
								<PhoneList>
									<string>+7 910 456-7895</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
						</PersonList>
						<Node>MOW</Node>
						<Unformalized>Или любому другому лицу в компании</Unformalized>
					</Sender>
					<Recipient>
						<PickupPoint>
							<Id>0bcf7df7-9aab-4834-bcfb-046b78a65ca9</Id>
							<Code>115</Code>
							<Type>PickupPoint</Type>
							<City>Москва</City>
						</PickupPoint>
						<PersonList>
							<Person>
								<Name>Шпак Геннадий Семенович</Name>
								<PhoneList>
									<string>+3912 34-23-12</string>
									<string>11-4</string>
								</PhoneList>
								<EMailList>
									<string>sender@ml.ru</string>
								</EMailList>
							</Person>
						</PersonList>
						<Node>MOW</Node>
					</Recipient>
					<CargoList>
						<Cargo>
							<Id>1</Id>
							<Barcode>12345234</Barcode>
							<Description>Пимпачки и помпочки</Description>
							<Packing>
								<Type>Box</Type>
							</Packing>
							<Dimentions>
								<Length>350</Length>
								<Width>500</Width>
								<Height>300</Height>
							</Dimentions>
							<Weight>1400</Weight>
							<VolumeWeight>10500</VolumeWeight>
							<Cost>8300.0000</Cost>
						</Cargo>
						<Cargo>
							<Id>2</Id>
							<Barcode>12345235</Barcode>
							<Description>Штучки</Description>
							<Packing>
								<Type>Box</Type>
							</Packing>
							<Dimentions>
								<Length>250</Length>
								<Width>300</Width>
								<Height>200</Height>
							</Dimentions>
							<Weight>800</Weight>
							<VolumeWeight>3000</VolumeWeight>
							<Cost>1100.0000</Cost>
						</Cargo>
					</CargoList>
					<ItemList>
						<Item>
							<Id>3</Id>
							<CargoId>2</CargoId>
							<Barcode>art2342340</Barcode>
							<Description>Штучка</Description>
							<Weight>8</Weight>
							<Cost>100.0000</Cost>
							<Count>11</Count>
							<ContractorINN>111111111113</ContractorINN>
							<ContractorPhone>89160000003</ContractorPhone>
							<ContractorName>Какой-то поставщик 3</ContractorName>
                            <OriginCountry>Россия</OriginCountry> 
                            <CCD>asdfghjkl</CCD> 
                            <Cis>test3</Cis>
						</Item>
						<Item>
							<Id>2</Id>
							<CargoId>1</CargoId>
							<Barcode>art2341668</Barcode>
							<Description>Помпочка</Description>
							<Weight>140</Weight>
							<Cost>66.0000</Cost>
							<Count>50</Count>
							<ContractorINN>111111111112</ContractorINN>
							<ContractorPhone>89160000002</ContractorPhone>
							<ContractorName>Какой-то поставщик 2</ContractorName>
                            <OriginCountry>Россия</OriginCountry> 
                            <CCD>asdfghjkl</CCD> 
                            <Cis>test2</Cis>
						</Item>
						<Item>
							<Id>1</Id>
							<CargoId>1</CargoId>
							<Barcode>art2341667</Barcode>
							<Description>Пимпачка</Description>
							<Weight>50</Weight>
							<Cost>50.0000</Cost>
							<Count>100</Count>
							<ContractorINN>111111111111</ContractorINN>
							<ContractorPhone>89160000000</ContractorPhone>
							<ContractorName>Какой-то поставщик</ContractorName>
                            <OriginCountry>Россия</OriginCountry> 
                            <CCD>asdfghjkl</CCD> 
                            <Cis>test1</Cis>
						</Item>
					</ItemList>
					<PackItemList />
					<DocumentList />
					<Unformalized>Доставка запчастей</Unformalized>
					<AdditionalServices>
						<DeliveryAdditionalService>
							<Code>1015</Code>
							<Name>Лично в руки</Name>
							<Description>Лично в руки</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1013</Code>
							<Name>Возврат документов</Name>
							<Description>Возврат документов</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
							<Parameters>
								<ServiceParameter xsi:type="AddressParameter" />
							</Parameters>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1022</Code>
							<Name>СМС-уведомление отправителя</Name>
							<Description>SMS-уведомление отправителя</Description>
							<IncludingType>Included</IncludingType>
							<Sum>30.0000</Sum>
							<VAT>6.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1017</Code>
							<Name>Прозвон</Name>
							<Description>Прозвон</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1004</Code>
							<Name>Объявленная ценность</Name>
							<Description>Объявленная ценность</Description>
							<IncludingType>Included</IncludingType>
							<Sum>94.0000</Sum>
							<VAT>18.8000</VAT>
						</DeliveryAdditionalService>
						<DeliveryAdditionalService>
							<Code>1019</Code>
							<Name>Обрешетка</Name>
							<Description>Обрешетка</Description>
							<IncludingType>Declined</IncludingType>
							<Sum>0.0000</Sum>
							<VAT>0.0000</VAT>
						</DeliveryAdditionalService>
					</AdditionalServices>
				</Service>
				<Service xsi:type="SalesMediationService">
					<Id>1</Id>
					<StatusList />
					<Mode>Entire</Mode>
					<OriginMode>Partial</OriginMode>
					<ConsumerPayment>
						<Mode>Cash</Mode>
					</ConsumerPayment>
					<PrepaymentItem>
						<Price>-300.0000</Price>
					</PrepaymentItem>
					<DeliveryItem>
						<Price>350.0000</Price>
						<VAT>
							<VATGroupCode>1</VATGroupCode>
						</VAT>
					</DeliveryItem>
					<LotList>
						<Lot>
							<Id>2</Id>
							<ItemList>
								<CommodityItem>
									<ItemId>3</ItemId>
									<Price>101.0000</Price>
									<Url>www.somesite.com/item3</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
						<Lot>
							<Id>1</Id>
							<ItemList>
								<CommodityItem>
									<ItemId>2</ItemId>
									<Price>67.0000</Price>
									<Url>www.somesite.com/item2</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
								<CommodityItem>
									<ItemId>1</ItemId>
									<Price>51.0000</Price>
									<Url>www.somesite.com/item1</Url>
									<VAT>
										<VATGroupCode>1</VATGroupCode>
									</VAT>
								</CommodityItem>
							</ItemList>
						</Lot>
					</LotList>
					<OrderSumThreshold>777</OrderSumThreshold>
				</Service>
				<Service xsi:type="SMSInfoService">
					<Id>1</Id>
					<StatusList />
					<Mode>LastMile</Mode>
					<PhoneList>
						<string>89163767521</string>
					</PhoneList>
				</Service>
			</ServiceList>
			<StatusList>
				<OrderStatus>
					<Description>Order has been received</Description>
					<Date>2019-09-09T11:55:20.397</Date>
					<Code>Received</Code>
				</OrderStatus>
				<OrderStatus>
					<Description>Order has been checked</Description>
					<Date>2019-09-09T11:55:21.063</Date>
					<Code>Checked</Code>
				</OrderStatus>
				<OrderStatus>
					<Description>Order is in processing</Description>
					<Date>2019-09-09T11:55:23.767</Date>
					<Code>Processing</Code>
				</OrderStatus>
			</StatusList>
			<ExternalDataList />
		</Order>
	</OrderList>
	<MessageList />
</Response>

  • No labels