How to retrieve a contract by ID

To retrieve a consignor contract, use the following URL.

 Method URL
 POST  https://api.fairwarningsoftware.com/v1.1.1/contract/[item-contract-id]

 

 Status Response
 200 {
    "contract": <contract>
}
401  {"error":"The API keys provided are invalid."}
403  {"error":"API keys are missing."}
500  {"error": <custom error>}

 

 Field  Type Description
contract string The contract to display.

 

If the contract has not yet been signed but can be, fields will be displayed along with an area for a signature that the user may sign and submit.  The contract should be wrapped in a form tag specifying where to submit the data.  Once data is submitted, the data should be returned through the API to submit the signing.