API - How to know what data is expected
The API endpoints have validation regarding what data is expected for various fields
To check what the expected data is
Go to Flip API Documentation
Navigate to the endpoint and expand
Then click
Schema
Â
Navigate to the field in question
For example
a. consignmentType only accepts Pickup, Return or Transfer
Whereas for PackagingType navigate to
a. shippingItems and click the arrow to expand
b. then navigate to ShippingItemModle and click the arrow to expand
c. hen navigate to PackagingType to see the appropriate values
Â