Create or update profiles for a shop
- Path
/partners/domains/profiles- Auth
- Partner token · partner server only
# $SIGNED_PAYLOAD: the request claims as a JWT signed with your private key, see https://releva.ai/documentation/reference/partners/overview/#authenticationcurl --request POST \ --url 'https://releva.ai/api/v0/partners/domains/profiles' \ --header 'content-type: application/json' \ --header "x-rlv-partner-token: $RELEVA_PARTNER_TOKEN" \ --data "{\"payload\": \"$SIGNED_PAYLOAD\"}"Same behaviour as POST /profiles, for a shop you provisioned. Entries without id, email or phoneNumber are
skipped; the request fails only if no entry is left. Processed asynchronously.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
The request fields as JWT claims, signed with your RSA private key (RS512 recommended; RS256/384 and PS256/384/512
are also accepted) with a short expiry (expiresIn: '1h'). The operation’s x-signed-claims schema lists the
claims.
Example generated
{ "payload": "example"}Responses
Section titled “Responses”Accepted for asynchronous processing.
object
Example
{}Validation, partner token or shop lookup error.
object
Human-readable error. Several validation errors are joined with a space.
Examples
{ "message": "The 'profiles' field is required."}{ "message": "The 'profiles' field must contain at least 1 items."}{ "message": "profiles[0].profile: at least one of (id, email, phoneNumber) is required"}{ "message": "The object 'profiles[0].profile' contains forbidden keys: 'nickname'."}{ "message": "The 'profiles[0].profile.email' field must be a valid e-mail."}The payload could not be verified (missing, not a JWT, signed with another key, or expired), or another unexpected error.
object
Human-readable error. Several validation errors are joined with a space.
Example
{ "message": "An internal error occurred."}