Testing
How to test
Testing can be done using the development API keys using the PartnerCustom fields both in the order and the line items. These custom fields will define behavior in the API, allowing for testing different scenarios.
Those custom fields in production are pass-through when using the production API keys and do not cause any behavior change.
Testing Data
Placing an Order
Values | HTTP Status | Return/Result |
---|---|---|
partnerCustomField2="lowfunds" | 402 | Returns when there is not enough money in the account to create the new order |
partnerCustomField2="500" | 500 | Returns a 500 response |
Updated over 2 years ago