Skip to main content
POST
/
client.balance.syncClientBalance
Sincronización de saldo de cliente
curl --request POST \
  --url https://api.example.com/client.balance.syncClientBalance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "client.balance.syncClientBalance",
  "data": {
    "client": {
      "clientId": "cli-ry-001",
      "justoUserId": "u-001",
      "balance": 150
    }
  },
  "websiteId": "<string>",
  "storeId": "<string>",
  "date": "2020-01-01T00:00:00.000Z",
  "eventId": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Webhook Payload

type
enum<string>

El tipo de webhook

Available options:
client.balance.syncClientBalance
Allowed value: "client.balance.syncClientBalance"
data
object
websiteId
string

El ID de la marca

storeId
string

El ID del local si es que corresponde

date
string<date-time>

La fecha en que se generó el evento

Example:

"2020-01-01T00:00:00.000Z"

eventId
string

El ID del evento

Response

200

OK