Skip to content

Event Overview - Payload - Entity - User product

Target Audience: Users, Developers, Stakeholders

Introduction

This document defines the entity user_product for an event payload.

Description

The user_product entity in the payload object.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "user_product": {
    "id": "622f061995cfebfded830791",
    "order_id": "622f061795cfebfded83077a",
    "product_id": "607d31ff95cfeb500a33c993",
    "product_title_code": "TITLE_CODE",
    "product_title_name": "Title name",
    "code": "digital_tidnign",
    "name": "Digital tidning",
    "description": "Läs den digitala tidningen...",
    "campaign": true,
    "valid_from": "2022-03-14T10:08:41+01:00",
    "valid_to": "2022-04-14T11:08:41+02:00",
    "state": "activated",
    "is_recurring": true,
    "cancellation_date": "",
    "cancellation_reason": "",
    "grace_period_to": "",
    "created": "2022-03-14T10:08:41+01:00",
    "updated": "2022-03-14T10:08:41+01:00",
    "provision_service": "tulo",
    "merchant_reference": "dd9dbca6-8bd7-4986-a66d-xxxxxxxx"
  }
}