@@ -383,6 +383,62 @@ var amazonConnection = new AmazonConnection(new AmazonCredential()
383
383
});
384
384
```
385
385
386
+ ---
387
+
388
+ ## Sample for create shipment operation from MerchantFulfillment
389
+
390
+ ``` CSharp
391
+ ShipmentRequestDetails shipmentRequestDetails = new ShipmentRequestDetails ()
392
+ {
393
+ AmazonOrderId = " 999-9999-999999" ,
394
+ ItemList = new ItemList ()
395
+ {
396
+ new FikaAmazonAPI .AmazonSpApiSDK .Models .MerchantFulfillment .Item ()
397
+ {
398
+ OrderItemId = " 52986411826454" ,
399
+ Quantity = 1
400
+ }
401
+
402
+ },
403
+ ShipFromAddress = new Address ()
404
+ {
405
+ AddressLine1 = " 300 St" ,
406
+ City = " City" ,
407
+ PostalCode = " 48123" ,
408
+
409
+ Phone = " 999999999" ,
410
+ StateOrProvinceCode = " MI" ,
411
+ CountryCode = " US" ,
412
+ Name = " FirstName LastName"
413
+ },
414
+ PackageDimensions = new PackageDimensions ()
415
+ {
416
+ Height = 10 ,
417
+ Width = 10 ,
418
+ Length = 10 ,
419
+ Unit = UnitOfLength .Inches
420
+ },
421
+ Weight = new Weight ()
422
+ {
423
+ Value = 10 ,
424
+ Unit = UnitOfWeight .Oz
425
+ },
426
+ ShippingServiceOptions = new ShippingServiceOptions ()
427
+ {
428
+ DeliveryExperience = DeliveryExperienceType .NoTracking ,
429
+ CarrierWillPickUp = false ,
430
+ CarrierWillPickUpOption = CarrierWillPickUpOption .ShipperWillDropOff
431
+ }
432
+ };
433
+
434
+ var shipmentRequest = new CreateShipmentRequest (
435
+ shipmentRequestDetails ,
436
+ shippingServiceId : " UPS_PTP_2ND_DAY_AIR" ,
437
+ shippingServiceOfferId : " WHgxtyn6qjGGaC" );
438
+
439
+ var shipmentResponse = amazonConnection .MerchantFulfillment .CreateShipment (shipmentRequest );
440
+ ```
441
+
386
442
---
387
443
## Q & A
388
444
0 commit comments