Add a new contact to a merchant in WRM

Request
Security:
st_portal_auth
(write:merchantread:merchant)
path Parameters
merchantId
required
integer <int64>

the unique Id of the merchant in WRM

Example: 254
Request Body schema: application/json

Contact object that needs to be added to a merchant in WRM

Array
firstName
required
string [ 1 .. 255 ] characters
lastName
required
string [ 1 .. 255 ] characters
phone
required
string <phone> [ 1 .. 25 ] characters
email
required
string <email> [ 1 .. 255 ] characters
Responses
200

successful operation

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

405

Method Not Allowed. The API was accessed with the wrong method

429

Too Many Requests. The API is rate-limited. Wait and try your request again.

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

503

Service Unavailable. The service is temporarily unavailable. Try your request later.

post/wrm/v1/merchants/{merchantId}/contacts
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
[
  • {
    }
]