Skip to content

Commit 4adbd19

Browse files
committed
Merge pull request #64 from gtaylor/ship_signature
add ship signature to ship request
2 parents 2e4763d + 6862eb6 commit 4adbd19

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/create_shipment.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@
111111
# BAG, BARREL, BASKET, BOX, BUCKET, BUNDLE, CARTON, CASE, CONTAINER, ENVELOPE etc..
112112
package1.PhysicalPackaging = 'ENVELOPE'
113113
package1.Weight = package1_weight
114+
115+
# Add a signature option for the package using SpecialServicesRequested or comment out.
116+
# SpecialServiceTypes can be APPOINTMENT_DELIVERY, COD, DANGEROUS_GOODS, DRY_ICE, SIGNATURE_OPTION etc..
117+
package1.SpecialServicesRequested.SpecialServiceTypes = 'SIGNATURE_OPTION'
118+
# SignatureOptionType can be ADULT, DIRECT, INDIRECT, NO_SIGNATURE_REQUIRED, SERVICE_DEFAULT
119+
package1.SpecialServicesRequested.SignatureOptionDetail.OptionType = 'SERVICE_DEFAULT'
120+
114121
# Un-comment this to see the other variables you may set on a package.
115122
# print(package1)
116123

0 commit comments

Comments
 (0)