Webhooks: Format Data for Success
Ensure that the data is formatted correctly in your JSON files
In This Article
Format Specific Content
We want to help you ensure that the information sent to Postsale is formatted for success. While Postsale gives you the ability to add and update order information from your sales channel or custom order source using webhooks, some of the information contained in the JSON file sent to Postsale must be formatted in a certain way. If the values are incorrect, Postsale will notify you of which values need to be corrected and the data contained in the JSON file will not be imported.
Adding Webhooks is a premium feature requiring the Soar billing plan. Learn more about managing your Postsale account in our Frequently Asked Questions.
In this article, we look at what values are valid and how the values must be formatted.
Shipping Carrier, Service, and Package Type
All shipping carrier names, shipping services, and package types must be lowercase. The following tables list the valid values and the correct formatting.
Table: Carrier, Service, Package Type Format
CARRIER |
SERVICE |
PACKAGE TYPE |
|---|---|---|
usps |
usps_ground_advantage |
parcel |
|
usps_priority_mail |
soft_pack |
usps_priority_mail_express |
padded_flat_rate_envelope |
|
usps_first_class_international |
legal_flat_rate_envelope |
|
usps_priority_mail_international |
flat_rate_envelope |
|
usps_priority_mail_express_international |
small_flat_rate_box |
|
|
medium_flat_rate_box |
|
large_flat_rate_box |
CARRIER |
SERVICE |
PACKAGE TYPE |
|---|---|---|
ups |
ups_next_day_air |
parcel |
|
ups_2nd_day_air |
letter |
ups_2nd_day_air_am |
tube |
|
ups_ground |
pak |
|
ups_3_day_select |
express_box |
|
ups_next_day_air_saver |
ups_25kg_box |
|
ups_next_day_air_early |
ups_10kg_box |
|
ups_worldwide_express |
pallet |
|
ups_worldwide_expedited |
small_express_box |
|
ups_standard |
medium_express_box |
|
ups_worldwide_express_plus |
large_express_box |
|
ups_saver |
|
CARRIER |
SERVICE |
PACKAGE TYPE |
|---|---|---|
fedex |
fedex_ground |
parcel |
|
fedex_home_delivery |
fedex_envelope |
fedex_first_overnight |
fedex_box |
|
fedex_priority_overnight |
fedex_small_box |
|
fedex_standard_overnight |
fedex_medium_box |
|
fedex_2day_am |
fedex_large_box |
|
fedex_2day |
fedex_extra_large_box |
|
fedex_express_saver |
fedex_10kg_box |
|
fedex_economy |
fedex_25kb_box |
|
fedex_ground_economy |
fedex_tube |
|
fedex_ground_economy_bound_printed_matter |
fedex_pak |
|
fedex_ground_economy_media_mail |
|
|
fedex_ground_economy_returns | ||
fedex_ground_economy_under1lb | ||
fedex_international_ground | ||
fedex_international_priority_express | ||
fedex_international_first | ||
fedex_international_priority | ||
fedex_international_economy | ||
fedex_international_priority_directdistribution | ||
fedex_international_economy_directdistribution_service | ||
fedex_international_connect_plus |