Skip to content

Commit a8dd4cf

Browse files
committed
Merge pull request #38 from danielatdattrixdotcom/master
Expand example rate request comment on the use of GroupPackageCount
2 parents f712f55 + c3473dd commit a8dd4cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/rate_request.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@
6464
package1.PhysicalPackaging = 'BOX'
6565
# Required, but according to FedEx docs:
6666
# "Used only with PACKAGE_GROUPS, as a count of packages within a
67-
# group of identical packages" whatever that means
67+
# group of identical packages". In practice you can use this to get rates
68+
# for a shipment with multiple packages of an identical package size/weight
69+
# on rate request without creating multiple RequestedPackageLineItem elements.
70+
# You can OPTIONALLY specify a package group:
71+
# package1.GroupNumber = 0 # default is 0
72+
# The result will be found in RatedPackageDetail, with specified GroupNumber.
6873
package1.GroupPackageCount = 1
6974
# Un-comment this to see the other variables you may set on a package.
7075
#print package1

0 commit comments

Comments
 (0)