Rivier/ Reference/ contacts

Contacts platform customer put

post/platform-customers

A customer known once to the platform, under its own id for them (ref), with an address and a number: made once, then updated with what is given.

Before you call

Credential
Authorization: Bearer $KEY
Scope
contacts:write
Graphql
Mutation.contactsPlatformCustomerPut
Sdk
contacts.platformCustomer.put
Cli
contacts platform customer put

Request bodyapplication/json, required

  • refstringrequired
    The platform's own id for the person At most 200 characters.
  • emailstring (email) or null
  • phonestring or null
  • namestring or null

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown