POST p8auth/subscribers/{id}/transfer
POST /api/v1/p8auth/subscribers/1/transfer HTTP/1.1
Host: tph.io
X-Token: c9c0a840-b5f1-4e0e-84da-e8a4eedfc63b
Content-Type: application/json
{
"customer_id": 4,
"product_id": 2,
"provider_id": 2,
"network_id": 2
}
success
: boolmessages
: stringdata
: object
data
: object
id
: intreseller
: stringcompany
: stringusername
: stringproduct
: stringnetwork
: stringip_address
: stringprovider
: stringsim_number
: stringis_capped
: boolis_suspended
: boolhas_schedule
: boolstatus
: stringhas_quota
: boolquota_is_capped
: boolsoft_cap
: inthard_cap
: inttop_up
: inttop_ups_applied
: intmax_allowed_top_ups
: intmax_top_up_data
: intmax_sessions
: intpuk_number
: stringdescription
: stringhas_daily_notifications
: boolhas_threshold_notifications
: boolhas_sms_notifications
: boolusage
: object
inbundle
: intoutbundle
: inttop_up
: intquotas
: object
fixed_quota
: array
quota
: stringused
: stringusage_quota
: array
quota
: stringtop_up
: stringin_bundle_used
: stringout_bundle_used
: stringtop_up_used
: stringcreated_at
: string ("2020-01-01T00:00:00+00:00"
)updated_at
: string ("2020-01-01T00:00:00+00:00"
)labels
: array[object]
data
: array[object]
id
: intname
: stringtype_id
: intnotification_email_addresses
: object
data
: array[object]
email
: stringnotification_sms_numbers
: object
data
: array[object]
sms_number
: string{
"success":true,
"messages":"Subscriber transferred.",
"data":{
"data":{
"id":5,
"reseller":"Example Reseller",
"company":"Another Example Customer",
"username":"1212121212",
"product":"Example APN Product",
"network":"Network 2",
"ip_address":"10.10.10.2",
"provider":"Provider 2",
"sim_number":"8991101200003204510",
"is_capped":false,
"is_suspended":false,
"has_schedule":false,
"status":"Disabled",
"has_quota":false,
"quota_is_capped":false,
"soft_cap":524288000,
"hard_cap":1073741824,
"top_up":null,
"top_ups_applied":0,
"max_allowed_top_ups":null,
"max_top_up_data":null,
"max_sessions":1,
"puk_number":null,
"description":"Updated description",
"has_daily_notifications":true,
"has_threshold_notifications":true,
"has_sms_notifications":false,
"usage":{
"inbundle":null,
"outbundle":null,
"top_up":null
},
"quotas":{
"fixed_quota":null,
"usage_quota":null
},
"created_at":"2018-04-25T11:19:27+00:00",
"updated_at":"2018-04-25T11:19:27+00:00"
}
}
}