Connect
  1. Subscription
Connect
  • Connect/ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • ConnectID events
  • Customer Data
    • Address
      • Change addresses
      • List addresses
      • List addresses - client mode
      • List addresses for product - client mode
      • List addresses for product
    • Category
      • List category types
      • List category codes
      • List category codes for category type
    • Customer
      • List customer info
      • Change customer Info
      • Search customer - client mode
      • Check customer number - client mode
      • List customer info - client mode
    • External Reference
      • Remove external reference - client mode
      • Change external reference - client mode
      • List external references - client mode
      • Register external reference - client mode
  • Order Management
    • Article
      • Check article price
    • Coupon
      • Check coupon price - client mode
      • List coupon - client mode
      • List coupon for coupon number - client mode
    • Fulfillment
      • Complete order - client mode
    • Order
      • Order Guide
        • Introduction
        • How to register an order
        • Complete order by fulfillment URL
        • Complete order by fulfillment API
        • Q&A for order
      • List orders
      • Search order details
      • List order product history
      • List order status - client mode
      • Register customer - client mode
      • Register customer
      • Register order - client mode
      • Register order
    • Reward
      • Check reward - client mode
    • User
      • Assign user - client mode
    • Voucher Coupons
      • List voucher code coupons - client mode
  • Payment Services
    • Invoice
      • List invoice details
      • List invoices - client mode
      • List invoices for product - client mode
      • List invoices and reminders
      • List invoices and reminders for product
      • List basic invoice info
      • List basic invoice info for product
    • InvoiceAddress
      • List invoice address
    • Klarna
      • List klarna recurring tokens
      • Add Klarna token
      • Remove Klarna token
    • Nexi
      • List Nexi subscriptions
      • Add Nexi subscription
      • Remove Nexi subscription
    • PayEx
      • List PayEx tokens
      • Add PayEx token
      • Remove PayEx token
    • Payment
      • List payment methods
      • Pay invoice
      • Change payment method
    • Vipps
      • List vipps agreements
      • Add vipps agreement
      • Remove vipps agreement
  • Privacy
    • Consent
      • Access private data
      • Remove private data
      • List consent event history - client mode
      • List consent text - client mode
      • List consent text history - client mode
      • List consent groups - client mode
      • List consent given issuer - client mode
      • List consent event history
      • List consent given issuer
      • List consent groups
      • Register consent event - client mode
      • Register consent event
    • Permission/Shield
      • List global permissions
      • List enterprise permissions
      • Change enterprise permissions
      • List ordertype permissions
      • Change ordertype permissions
      • Check shield ordertype - client mode
      • Check shield enterprise - client mode
    • Privacy
      • List privacy enterprise
      • Change privacy enterprise
      • List privacy ordertype
      • Change privacy ordertype
  • Product & Services
    • Complaint
      • Register complaint
      • List complaints
    • Delivery
      • List next distributions
      • List next distributions - client mode
    • DeliveryStop
      • Remove delivery stops
      • Register delivery stops
      • List delivery stops
      • List delivery stop - client mode
    • Issue
      • List distributed issues
      • List product issues - client mode
    • Product
      • List products - client mode
      • Check product - client mode
      • List specific products - client mode
    • ProductDeliveryPlan
      • List productdeliveryplan - client mode
    • ProductDependency
      • Check product dependency discount - client mode
    • Sharing
      • Send subscription share invitation
      • Accept subscription share invitation
      • Decline share - client mode
      • List shareable subscription rules
      • List distribution levels
      • Change subscription share invitation details
      • List all shared subscribers
      • Cancel sharing
      • List shareable subscription nets
      • Change shareable subscription nets
      • Change distribution level
    • Subscription
      • List shared subscriptions
        GET
      • List subscriptions
        GET
      • Start subscription
        POST
      • List subscriptions - client mode
        GET
  • Recruitment
    • Recruitment
      • Register recruitment - client mode
      • List recruitments
      • List premium recruitments
      • Change premium recruitments
      • Register recruitments
    • RecruitmentCampaign
      • List recruitment campaign - client mode
  • User Data
    • Access
      • Check access
      • Check access - client mode
    • Credential
      • Check credential - client mode
    • Metadata
      • List metadata
      • Change metadata
      • Remove metadata
      • List metadata - client mode
      • Change metadata - client mode
      • Remove metadata - client mode
    • Profile
      • List user profile
      • List external user profiles
  • Diverse
    • External Identity
      • Register external Id - client mode
      • Register customer - client mode
    • Message
      • List messages
      • Send message
      • Send message - client mode
    • Status
      • List status messages
    • Stock
      • Change stocks - client mode
      • List stocks - client mode
      • List stocks for product - client mode
  1. Subscription

List subscriptions - client mode

Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/subscription/{customerNumber}
Subscription
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
This API will return a list of all products the user subscribes to with their status.
This list may be empty in cases where the user has no subcriptions in the system.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/subscription/?subscriptionSourceFetchMode'
Response Response Example
200 - Success
{
    "subscriptions": [
        {
            "product": "CO27409",
            "stopped": false,
            "startTime": 1706009061640,
            "endTime": 1706009761640,
            "paid": true,
            "priceDetails": {
                "couponCode": "WMDigi",
                "couponNumber": 5223,
                "discountfromfullsm": 0,
                "promotion": "NC",
                "categoryType": ""
            },
            "shareable": true,
            "shareType": "Nets"
        }
    ]
}

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read-For all access
or
Path Params
customerNumber
integer 
required
Customer number
Query Params
subscriptionSourceFetchMode
string 
optional
Subscription source fetch mode allows you to specify which subscriptions to incude in the result:
ORDINARY: just ordinary subscriptions without B2B source(received)
B2B: just B2B source(received) without ordinary subscriptions
ALL: both ORDINARY and B2B.
Default:
ORDINARY

Responses

🟢200OK
application/json
OK
Body
subscriptions
array [object {11}] 
optional
product
string 
optional
The product id- A unique id for the product.
<= 12 characters
stopped
boolean 
optional
Informs if the subscription is stopped.
true: The subscription is stopped.
false: The subscription is not stopped.
startTime
integer 
optional
Start of the current subscription period.
startTime is 00:00:00 on the subscription start date. If the user continues to pay for the subscription then startTime does not change. If the user stops paying for the subscription and later starts a new subscription on the same product (and some time has passed during which the user did not pay) then startTime will be 00:00:00 on the new start date.
Unix Epoch timestamps in milliseconds since 1st January 1970 UTC
endTime
integer 
optional
End of the current subscription period.
endTime is 23:59:59 on the last date that the user has paid for or 23:59:59 on the publication date of the last issue that the user has received if that is a later date (relevant for free subscriptions).
End of the current subscription period.
Unix Epoch timestamps in milliseconds since 1st January 1970 UTC
paid
boolean 
optional
Informs if the subscription period is paid.
true: The subscription period is paid.
false: The subscription period is unpaid.
priceDetails
object 
optional
shareable
boolean 
optional
Informs if the subscription can be shared.
true: The subscription can be shared
false: The subscription cannot be shared.
shareType
string 
optional
Specifies share type when subscription can be shared.
USERS: Shareable with users
NETS: Shareable nets (per domain, IP range)
B2B: B2B shareable
salesPerson
string 
optional
The sales person identifier on this subscription.
<= 12 characters
distributionLevel
string 
optional
Distribution level. Mainly important for B2B source(received) subscription. Based on this value you can resolve whether it is paper distribution or not.
<= 1 characters
productDeliveryPlanId
integer 
optional
The unique id for productdeliveryplan
🟠400Bad Request
🟠404Record Not Found
🟠429429
🔴500Server Error
Previous
Start subscription
Next
Register recruitment - client mode
Built with