Submit answers to a form
POST
/api/{referralpartner}/form
Submit answers to a form. The submission is validated against the form’s configuration and the referrer’s settings.
If successful, returns a 201 Created status code with a link header to the matched products route.
Authorizations
Parameters
Path Parameters
referralpartner
required
string
Header Parameters
x-captcha-token
string
Query Parameters
slug
string
ipAddress
The end-user’s IP address
string
The end-user’s IP address
Request Body required
object
referralCode
The referral code used to refer this submission
string
key
additional properties
Responses
201
Created
400
Bad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
errors
object
key
additional properties
Array<string>
key
additional properties
404
Not Found
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
429
Too Many Requests
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties