Move Flow

This document describes the endpoints required to manage both the billing and delivery address changes a.k.a. Moves.

Integration

  1. Call Get Availability endpoint providing subscription id and allowDigitalSubscriptions in true to check if the change address is allowed to the subscriber. If so, it will return the dates to fill the calendar

  2. You will call Get Moves by Subscription to retrieve the pending moves for a subscription to be displayed in a table. In case there is some pending move, you can Update Move or Cancel Move.

  3. Calling Get Subscription By Id you will be able to retrieve Subscriptions data (like Products, Service Types, Addresses). But, you can just call Get Address Information by Subscription to retrieve the addresses.

  4. Get States and Get Locations are useful to populate forms. The first one returns a list of states for a country code. The other, providing a postal code, it will return the city and the state

  5. As said in point before, calling Get Availability endpoint you will get the dates to display the stop calendar. If the flow involves Change Delivery Address, once you select the stop date you will be required to select a resume delivery date. For this, you can use the same resume dates provided with the previous call or you can call it again passing Stop Date as parameter to get the refreshed dates.

  6. To Process a new move, select the proper stop date (and resume date if applicable) and a valid address is required. The same for updating a pending move. To cancel a move, only a confirmation is required.

Header parameters

API needs to receive five header parameters to operate:

  • X-MediaGroupCode, X-Clientcode, X-PaperCode: Three parameters used by the API to identify the tenant to use

  • X-SourceSystem: String used to identify who the consumer is

  • Authorization: JSON web token used for security purposes

Get Subscription by Id

GET /Subscriptions/{subscriptionId}

Retrieves a subscription

Path Parameters

Name
Type
Description

SubscriptionId*

Integer

Unique identifier of the Subscription in Naviga System.

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Subscription": {
			"SubscriptionId": 0,
			"ExternalSubscriptionId": "string",
			"SubscriberId": 0,
			"ExternalSubscriberId": "string",
			"MerchantSubscriberId": "string",
			"AccountNumber": "string",
			"FirstName": "string",
			"LastName": "string",
			"FullName": "string",
			"Email": "string",
			"BillingPlanId": 0,
			"OfferId": 0,
			"PromotionId": 0,
			"PremiumGiftId": 0,
			"Phone": "string",
			"CompanyName": "string",
			"ExternalSubscriptionBillingPlanId": "string",
			"PaymentMethodId": 0,
			"ExternalSubscriptionPaymentMethodId": "string",
			"PaymentMethod": {
				"PaymentMethodId": 0,
				"ExternalPaymentMethodId": "string",
				"HolderName": "string",
				"Active": true,
				"PaymentMethodType": "string",
				"FirstName": "string",
				"LastName": "string",
				"CompanyName": "string",
				"Phone": "string",
				"BillingAddress": {
					"AddressId": 0,
					"ExternalAddressId": "string",
					"FullName": "string",
					"FirstName": "string",
					"LastName": "string",
					"Company": "string",
					"Address": "string",
					"Address2": "string",
					"HouseNumber": "string",
					"StreetName": "string",
					"StreetSuffix": "string",
					"PreDirect": "     ",
					"PostDirect": "string",
					"AptNumber": "string",
					"AptUnit": " ",
					"UnitType": "string",
					"District": "string",
					"City": "YUBA CITY",
					"CityCode": "string",
					"State": "string",
					"ZipCode": "string",
					"ZipCode4": "string",
					"DPVCode": "string",
					"SuiteStatus": "string",
					"DeliveryPointCheckDigit": "string",
					"DPVFootnotes": "string",
					"DeliveryPointCode": "string",
					"CountyFips": "string",
					"Msa": "string",
					"PakHash": "string",
					"ParsedAddressKey": "string",
					"StandardizationError": "string",
					"StandardizationResult": "string",
					"Latitude": "string",
					"Longitude": "string",
					"CensusBlock": "string",
					"CensusTract": "string",
					"GeoCoderResult": "string",
					"CarrierRoute": "string",
					"CountryCode": "string",
					"Country": "string",
					"LockBox": "string",
					"Phone": "string",
					"Route": "string",
					"Title": "string",
					"AddressTypeCode": "string",
					"AddressType": "string",
					"DependentLocality": "string",
					"CountyName": "string"
				}
			},
			"DeliveryAddress": {
				"AddressId": 0,
				"ExternalAddressId": "string",
				"FullName": "string",
				"FirstName": "string",
				"LastName": "string",
				"Company": "string",
				"Address": "string",
				"Address2": "string",
				"HouseNumber": "string",
				"StreetName": "string",
				"StreetSuffix": "string",
				"PreDirect": "string",
				"PostDirect": "string",
				"AptNumber": "string",
				"AptUnit": " ",
				"UnitType": "string",
				"District": "string",
				"City": "string",
				"CityCode": "string",
				"State": "string",
				"ZipCode": "string",
				"ZipCode4": "string",
				"DPVCode": "string",
				"SuiteStatus": "string",
				"DeliveryPointCheckDigit": "string",
				"DPVFootnotes": "string",
				"DeliveryPointCode": "string",
				"CountyFips": "string",
				"Msa": "string",
				"PakHash": "string",
				"ParsedAddressKey": "string",
				"StandardizationError": "string",
				"StandardizationResult": "string",
				"Latitude": "string",
				"Longitude": "string",
				"CensusBlock": "string",
				"CensusTract": "string",
				"GeoCoderResult": "string",
				"CarrierRoute": "string",
				"CountryCode": "string",
				"Country": "string",
				"LockBox": "string",
				"Phone": "string",
				"Route": "string",
				"Title": "string",
				"AddressTypeCode": "string",
				"AddressType": "string",
				"DependentLocality": "string",
				"CountyName": "string"
			},
			"BillingAddress": {
				"AddressId": 0,
				"ExternalAddressId": "string",
				"FullName": "string",
				"FirstName": "string",
				"LastName": "string",
				"Company": "string",
				"Address": "string",
				"Address2": "string",
				"HouseNumber": "string",
				"StreetName": "string",
				"StreetSuffix": "string",
				"PreDirect": "     ",
				"PostDirect": "string",
				"AptNumber": "string",
				"AptUnit": " ",
				"UnitType": "string",
				"District": "string",
				"City": "string",
				"CityCode": "string",
				"State": "string",
				"ZipCode": "string",
				"ZipCode4": "string",
				"DPVCode": "string",
				"SuiteStatus": "string",
				"DeliveryPointCheckDigit": "string",
				"DPVFootnotes": "string",
				"DeliveryPointCode": "string",
				"CountyFips": "string",
				"Msa": "string",
				"PakHash": "string",
				"ParsedAddressKey": "string",
				"StandardizationError": "string",
				"StandardizationResult": "string",
				"Latitude": "string",
				"Longitude": "string",
				"CensusBlock": "string",
				"CensusTract": "string",
				"GeoCoderResult": "string",
				"CarrierRoute": "string",
				"CountryCode": "string",
				"Country": "string",
				"LockBox": "string",
				"Phone": "string",
				"Route": "string",
				"Title": "string",
				"AddressTypeCode": "string",
				"AddressType": "string",
				"DependentLocality": "string",
				"CountyName": "string"
			},
			"MerchantId": "string",
			"Active": true,
			"HasPrintProducts": true,
			"HasDigitalProducts": true,
			"HasGoogleProducts": false,
			"Status": "L",
			"StatusDescription": "Active",
			"StartDate": "1998-06-04T00:00:00",
			"StopDate": "string",
			"ExpirationDate": "2020-07-31T00:00:00",
			"NewspaperId": 3,
			"NewspaperName": "string",
			"PaperCode": "string",
			"Products": [
				{
					"SubscriptionProductId": 0,
					"ExternalSubscriptionProductId": "string",
					"SubscriptionId": 10,
					"ProductId": 0,
					"StartDate": "1998-06-04T00:00:00",
					"StopDate": "string",
					"Product": {
						"ProductId": 0,
						"ExternalProductId": "string",
						"ExternalMerchantId": "string",
						"Name": "string",
						"Price": 0,
						"Currency": "string",
						"Active": true,
						"PaperCode": "string",
						"NewspaperId": 3,
						"ServiceTypeId": 1,
						"NewspaperBillingCode": 3,
						"IsPrint": true,
						"IsDigital": true,
						"ServiceType": {
							"ServiceTypeId": 1,
							"Name": "string",
							"Description": "string",
							"Sequence": 0,
							"Days": 0,
							"DeliveryMap": "string",
							"Code": "string",
							"ProductCode": "string",
							"Active": true,
							"eEditionAccess": true,
							"AllowPreviousSunday": false,
							"ServiceDays": [
								{
									"Day": 0,
									"DayName": "string",
									"PrintAllowed": true,
									"DigitalAllowed": true
								}
							]
						},
						"Discount": "string",
						"Description": "string",
						"IsAddOn": false,
						"DeliveryMethod": "string",
						"OneTimeCharge": false,
						"RegularRate": "string",
						"CircSystemId": 3,
						"BusinessName": "string",
						"Code": "string",
						"RenewalProductId": "string",
						"RenewalProduct": "string",
						"GoogleProducts": [],
						"IsBase": true
					},
					"Amount": 0,
					"Currency": "string",
					"CampaignId": "string",
					"CampaignCode": "string",
					"IsAutoRenewal": false,
					"Cycles": 0,
					"Copies": 1,
					"RemainingCycles": 0,
					"MatherPrice": "string",
					"MatherDate": "string",
					"MatherAlternativePrices": []
				}
			],
			"FutureProducts": [],
			"OldProducts": [],
			"NewStartQueueId": 0,
			"CirculationSystemAccountId": "string",
			"DateCreated": "string",
			"ProcessingStatus": "string",
			"TransactionType": "string",
			"RateCode": "string",
			"HouseholdSubscriptionLevel": 1,
			"UpgradeSmartOfferSegment": "string",
			"DowngradeSmartOfferSegment": "string",
			"SubscriptionType": "string",
			"Sub3Code": "string",
			"PromoCert": "string",
			"PromoCredit": "string",
			"PromoSource": "string",
			"PromoSubSource": "string",
			"StartSource": "string",
			"StartReason": "string",
			"StopSource": "string",
			"StopReason": "string",
			"IsEZPay": false,
			"HaseBill": false,
			"IsTerm": "string",
			"IsTrial": false,
			"PaymentFlag": "string",
			"DailyRate": 0,
			"DeliveryMethod": "string",
			"BillingMethod": "string",
			"WeekDayCredit": "string",
			"SundayCredit": "string",
			"IsCompSubscription": "string",
			"IsMailSubscription": false,
			"DailyRateWithTaxes": 0,
			"UpgradeSubscriptionPromotionId": "string",
			"DowngradeSubscriptionPromotionId": "string",
			"UpgradeProductsPromotionId": "string",
			"SubscriptionDescription": "string",
			"BaseProduct": {
				"ProductId": 0,
				"ExternalProductId": "string",
				"ExternalMerchantId": "string",
				"Name": "string",
				"Price": 0,
				"Currency": "string",
				"Active": true,
				"PaperCode": "string",
				"NewspaperId": 0,
				"ServiceTypeId": 0,
				"NewspaperBillingCode": 0,
				"IsPrint": true,
				"IsDigital": true,
				"ServiceType": {
					"ServiceTypeId": 0,
					"Name": "string",
					"Description": "string",
					"Sequence": 0,
					"Days": 0,
					"DeliveryMap": "string",
					"Code": "string",
					"ProductCode": "string",
					"Active": true,
					"eEditionAccess": true,
					"AllowPreviousSunday": false,
					"ServiceDays": [
						{
							"Day": 0,
							"DayName": "Sunday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 1,
							"DayName": "Monday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 2,
							"DayName": "Tuesday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 3,
							"DayName": "Wednesday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 4,
							"DayName": "Thursday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 5,
							"DayName": "Friday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						},
						{
							"Day": 6,
							"DayName": "Saturday",
							"PrintAllowed": true,
							"DigitalAllowed": true
						}
					]
				},
				"Discount": "string",
				"Description": "string",
				"IsAddOn": false,
				"DeliveryMethod": "string",
				"OneTimeCharge": false,
				"RegularRate": "string",
				"CircSystemId": 0,
				"BusinessName": "string",
				"Code": "string",
				"RenewalProductId": "string",
				"RenewalProduct": "string",
				"GoogleProducts": [],
				"IsBase": true
			},
			"DeliveryStartDate": "string",
			"EffectiveStartDate": "string",
			"PermanentStopDate": "string",
			"CurrentBalance": 0,
			"DatePaidThru": "2020-07-31T00:00:00",
			"CurrentRate": 0,
			"ExpirationDateOverride": "string",
			"GraceDays": "string",
			"SubscriptionStopReason": "string",
			"SubscriptionSmartOffers": [
				{
					"SmartOfferId": 0,
					"SmartOfferCode": "string",
					"SmartOfferType": "string",
					"SmartOfferSource": "string"
				},
				{
					"SmartOfferId": 0,
					"SmartOfferCode": "string",
					"SmartOfferType": "string",
					"SmartOfferSource": "string"
				}
			],
			"CustomerSince": "string",
			"Market": "string",
			"SubscriberType": "string",
			"BillingState": "string",
			"eBillEmail": "string",
			"eBillEmailType": "string",
			"AutobillStatus": "string",
			"WeeklyRate": "string",
			"RegistrationCount": "string",
			"IsSeasonal": false,
			"IsExternal": false,
			"Currency": "string",
			"CurrencySymbol": "string",
			"CurrencyCulture": "string",
			"CircSystemId": 3,
			"CircSystemCode": "string",
			"CircSystemName": "string",
			"SubscriptionEmail": "string",
			"ProductChange": "string",
			"Kind": "string",
			"Coupon": "string"
		}
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get Address Information by Subscription

GET /Address/{SubscriptionId}

Retrieves both billing and delivery information for a specific subscription

Path Parameters

Name
Type
Description

SubscriptionId*

Integer

Unique identifier of the Subscription in Naviga System

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"SubscriptionId": 0,
		"ExternalSubscriptionId": "string",
		"ExternalSubscriberId": "string",
		"AccountNumber": "string",
		"LastName": "string",
		"SubscriptionStatus": "string",
		"DeliveryAddress": {
			"AddressId": 0,
			"ExternalAddressId": "string",
			"Address": "string",
			"AptUnit": "string",
			"City": "string",
			"State": "string",
			"PostalCode": "string",
			"Zip4": "string",
			"Country": "string",
			"Name": "string",
			"Phone": "string",
			"FirstName": "string",
			"LastName": "string",
			"Street": "string",
			"StreetSuffix": "string",
			"HouseNumber": "string",
			"StreetName": "string",
			"UnitNumber": "string",
			"UnitType": "string",
			"County": "string",
			"PreDirect": "string",
			"PostDirect": "string",
			"PakHash": "string"
		},
		"BillingAddress": {
			"AddressId": 0,
			"ExternalAddressId": "string",
			"Address": "string",
			"AptUnit": "string",
			"City": "string",
			"State": "string",
			"PostalCode": "string",
			"Zip4": "string",
			"Country": "string",
			"Name": "string",
			"Phone": "string",
			"FirstName": "string",
			"LastName": "string",
			"Street": "string",
			"StreetSuffix": "string",
			"HouseNumber": "string",
			"StreetName": "string",
			"UnitNumber": "string",
			"UnitType": "string",
			"County": "string",
			"PreDirect": "string",
			"PostDirect": "string",
			"PakHash": "string"
		},
		"ChangeAddressAllowed":true,
		"ChangeDeliveryAddressAllowed":true,
		"ChangeBillingAddressAllowed":true,
		"AllowanceReason": {
			"Message": "string",
			"Code": "string",
			"Type": {
				"Id": 0,
				"Code": "string"
			}
		},
		"MerchantBaseProductId": "string",
		"ProductCode": "string"
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get Moves by Subscription

GET /Moves?SubscriptionId={subscriptionId}

Retrieves the moves for a subscription

Query Parameters

Name
Type
Description

SubscriptionId*

String

Unique identifier of the Subscription in Naviga System

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Moves": [
			{
				"MoveId": 0,
				"SubscriptionId": 0,
				"MoveType": {
					"MoveTypeId": 0,
					"Name": "string",
					"Description": "string",
					"Active":true
				},
				"MoveSubscriptionProducts": [
					{
						"MoveSubscriptionProductId": 0,
						"MoveId": 0,
						"SubscriptionProductId": 0,
						"DeliveryStopDate":"2022-04-26T13:40:51.494Z",
						"EffectiveStopDate":"2022-04-26T13:40:51.494Z",
						"DeliveryResumeDate":"2022-04-26T13:40:51.494Z",
						"EffectiveResumeDate":"2022-04-26T13:40:51.494Z"
					}
				],
				"OldAddressId": 0,
				"OldAddress": {
					"Address": "string",
					"HouseNumber": "string",
					"StreetName": "string",
					"StreetSuffix": "string",
					"PreDirect": "string",
					"PostDirect": "string",
					"AptNumber": "string",
					"AptUnit": "string",
					"UnitType": "string",
					"District": "string",
					"City": "string",
					"State": "string",
					"ZipCode": "string",
					"ZipCode4": "string",
					"DPVCode": "string",
					"SuiteStatus": "string",
					"Suite": "string",
					"DeliveryPointCheckDigit": "string",
					"DPVFootnotes": "string",
					"DeliveryPointCode": "string",
					"CountyFips": "string",
					"CountyName": "string",
					"Country": "string",
					"LockBox": "string",
					"RouteService": "string",
					"Msa": "string",
					"CarrierRoute": "string",
					"ParsedAddressKey": "string",
					"PakHash": "string",
					"StandardizationError": "string",
					"StandardizationErrorMessage": "string",
					"StandardizationResult": "string",
					"Latitude": "string",
					"Longitude": "string",
					"CensusBlock": "string",
					"CensusTract": "string",
					"GeoCoderResult": "string",
					"ParsedGarbage": "string",
					"AddressTypeCode": "string",
					"AddressType": "string"
				},
				"NewAddressId": 0,
				"NewAddress": {
					"Address": "string",
					"HouseNumber": "string",
					"StreetName": "string",
					"StreetSuffix": "string",
					"PreDirect": "string",
					"PostDirect": "string",
					"AptNumber": "string",
					"AptUnit": "string",
					"UnitType": "string",
					"District": "string",
					"City": "string",
					"State": "string",
					"ZipCode": "string",
					"ZipCode4": "string",
					"DPVCode": "string",
					"SuiteStatus": "string",
					"Suite": "string",
					"DeliveryPointCheckDigit": "string",
					"DPVFootnotes": "string",
					"DeliveryPointCode": "string",
					"CountyFips": "string",
					"CountyName": "string",
					"Country": "string",
					"LockBox": "string",
					"RouteService": "string",
					"Msa": "string",
					"CarrierRoute": "string",
					"ParsedAddressKey": "string",
					"PakHash": "string",
					"StandardizationError": "string",
					"StandardizationErrorMessage": "string",
					"StandardizationResult": "string",
					"Latitude": "string",
					"Longitude": "string",
					"CensusBlock": "string",
					"CensusTract": "string",
					"GeoCoderResult": "string",
					"ParsedGarbage": "string",
					"AddressTypeCode": "string",
					"AddressType": "string"
				},
				"StopDate":"2022-04-26T13:40:51.494Z",
				"ResumeDate":"2022-04-26T13:40:51.494Z",
				"Active":true
			}
		]
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get Move by Id

GET /Moves/{MoveId}

Retrieves a specific move

Path Parameters

Name
Type
Description

MoveId*

Integer

Unique identifier of a move.

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Move": {
			"MoveId": 0,
			"SubscriptionId": 0,
			"MoveType": {
				"MoveTypeId": 0,
				"Name": "string",
				"Description": "string",
				"Active":true
			},
			"MoveSubscriptionProducts": [
				{
					"MoveSubscriptionProductId": 0,
					"MoveId": 0,
					"SubscriptionProductId": 0,
					"DeliveryStopDate":"2022-04-26T13:40:51.494Z",
					"EffectiveStopDate":"2022-04-26T13:40:51.494Z",
					"DeliveryResumeDate":"2022-04-26T13:40:51.494Z",
					"EffectiveResumeDate":"2022-04-26T13:40:51.494Z"
				}
			],
			"OldAddressId": 0,
			"OldAddress": {
				"Address": "string",
				"HouseNumber": "string",
				"StreetName": "string",
				"StreetSuffix": "string",
				"PreDirect": "string",
				"PostDirect": "string",
				"AptNumber": "string",
				"AptUnit": "string",
				"UnitType": "string",
				"District": "string",
				"City": "string",
				"State": "string",
				"ZipCode": "string",
				"ZipCode4": "string",
				"DPVCode": "string",
				"SuiteStatus": "string",
				"Suite": "string",
				"DeliveryPointCheckDigit": "string",
				"DPVFootnotes": "string",
				"DeliveryPointCode": "string",
				"CountyFips": "string",
				"CountyName": "string",
				"Country": "string",
				"LockBox": "string",
				"RouteService": "string",
				"Msa": "string",
				"CarrierRoute": "string",
				"ParsedAddressKey": "string",
				"PakHash": "string",
				"StandardizationError": "string",
				"StandardizationErrorMessage": "string",
				"StandardizationResult": "string",
				"Latitude": "string",
				"Longitude": "string",
				"CensusBlock": "string",
				"CensusTract": "string",
				"GeoCoderResult": "string",
				"ParsedGarbage": "string",
				"AddressTypeCode": "string",
				"AddressType": "string"
			},
			"NewAddressId": 0,
			"NewAddress": {
				"Address": "string",
				"HouseNumber": "string",
				"StreetName": "string",
				"StreetSuffix": "string",
				"PreDirect": "string",
				"PostDirect": "string",
				"AptNumber": "string",
				"AptUnit": "string",
				"UnitType": "string",
				"District": "string",
				"City": "string",
				"State": "string",
				"ZipCode": "string",
				"ZipCode4": "string",
				"DPVCode": "string",
				"SuiteStatus": "string",
				"Suite": "string",
				"DeliveryPointCheckDigit": "string",
				"DPVFootnotes": "string",
				"DeliveryPointCode": "string",
				"CountyFips": "string",
				"CountyName": "string",
				"Country": "string",
				"LockBox": "string",
				"RouteService": "string",
				"Msa": "string",
				"CarrierRoute": "string",
				"ParsedAddressKey": "string",
				"PakHash": "string",
				"StandardizationError": "string",
				"StandardizationErrorMessage": "string",
				"StandardizationResult": "string",
				"Latitude": "string",
				"Longitude": "string",
				"CensusBlock": "string",
				"CensusTract": "string",
				"GeoCoderResult": "string",
				"ParsedGarbage": "string",
				"AddressTypeCode": "string",
				"AddressType": "string"
			},
			"StopDate":"2022-04-26T13:40:51.494Z",
			"ResumeDate":"2022-04-26T13:40:51.494Z",
			"Active":true
		}
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get States

GET /States/{CountryCode}

Retrieves a list of states for a specific country code

Path Parameters

Name
Type
Description

CountryCode*

String

Short code that represents a country.

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"States": [
			{
				"Code": "string",
				"Name": "string"
			}
		]
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get Locations

GET /Locations/{ZipCode}

Retrieves City and State for a specific postal code

Path Parameters

Name
Type
Description

ZipCode*

String

Represents a postal code

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Location": {
			"City":"string",
			"State":"string"
		}
	},
	"SessionId": "string",
	"RequestId": "string"
}

Get Availability

GET /TemporaryStops/Subscriptions/[subscriptionId]/Availability?stopDate{stopDate}&allowDigitalSubscriptions=true

Checks and returns the availability to do a move for a subscription. It will provide the dates allowed to change both billing and delivery address. For Change Delivery Address, call this endpoint with stop date

Path Parameters

Name
Type
Description

SubscriptionID*

String

Unique identifier of the Subscription in Naviga System

Query Parameters

Name
Type
Description

StopDate

Datetime

Represents the date when the delivery to the current address will be stopped. If provided it will retrieve the valid dates to restart the delivery

AllowDigitalSubscriptions*

Boolean

Indicates if the Digital Only subscriptions should be considered when checking the availability. This must be True

Headers

Name
Type
Description

Authorization*

String

X-SourceCode*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-Papercode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Availability":{
			"Available":true,
			"MaxResumeDate":"2022-04-26T13:40:51.494Z",
			"MaxStopDate":"2022-04-26T13:40:51.494Z",
			"MinResumeDate":"2022-04-26T13:40:51.494Z",
			"MinStopDate":"2022-04-26T13:40:51.494Z"
		      }
		}
	},
	"SessionId": "string",
	"RequestId": "string"
}

Add Move

POST /Moves

Create a new move for a subscription. It could be for both billing and delivery addresses

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

Request Body

Name
Type
Description

SubscriptionId*

Integer

Unique identifier of the Subscription in Naviga System

AddressChangeType*

Integer

Represents the type of movement

ValidateAddress*

Boolean

Indicate if address should be validated

StopDate*

Datetime

Date in UTC when the address is no longer valid

ResumeDate

Datetimr

Date in UTC when the delivery should be restarted. Required only for delivery address change

BillingAddress.Address*

String

New billing address

BillingAddress.City*

String

New billing city

BillingAddress.State*

String

New billing state

BillingAddress.PostalCodee*

String

New billing postal code

BillingAddress.FirstName*

String

New billing first name

BillingAddress.LastName*

String

New billing last name

BillingAddress.Phone*

String

New billing address phone

DeliveryAddress.Address*

String

New delivery address

DeliveryAddress.City*

String

New delivery city

DeliveryAddress.State*

String

New delivery state

DeliveryAddress.PostalCodee*

String

New delivery postal code

DeliveryAddress.FirstName*

String

New delivery first name

DeliveryAddress.LastName*

String

New delivery last name

DeliveryAddress.Phone*

String

New delivery phone

{
   "Code":200,
   "Errors":[
      {
         "Message":" Could not process Delivery Check Event.",
         "Code":"Address14",
         "Type":{
            "Id":2,
            "Code":"Processing"
         },
         "ErrorSource":null
      }
   ],
   "Result":null,
   "SessionId":"string",
   "RequestId":"string"
}

Update Move

PUT /Moves/{Id}

Updates a pending move for a subscription

Path Parameters

Name
Type
Description

*

Integer

Unique identifier of a move in Naviga System

Headers

Name
Type
Description

X-PaperCode*

String

X-MediaGroupCode*

String

X-SourceSystem*

String

Authorization*

String

X-ClientCode*

String

Request Body

Name
Type
Description

AddressChangeType*

Integer

Represents type of movement

ValidateAddress*

Boolean

Indicated if the address should be validated

StopDate*

Datetime

Date in UTC when the address is no longer valid

SubscriptionID*

Integer

Unique identifier of the Subscription in Naviga System

BillingAddress.City*

String

New billing city

BillingAddress.Address*

String

New billing address

ResumeDate

Datetime

Date in UTC when the delivery should be restarted. Required for delivery address updates

BillingAddress.State*

String

New billing state

BillingAddress.PostalCode*

String

New billing postal code

BillingAddress.FirstName*

String

New billing first name

BillingAddress.LastName*

String

New billing last name

BillingAddress.Phone*

String

New phone for billing address

{
   "Code":500,
   "Errors":[],
   "Result":null,
   "SessionId":"string",
   "RequestId":"string"
}

Cancel Move

DELETE /Moves/{Id}

Deletes a pending move for a subscription. ID is a unique identifier of a move in Naviga System

Path Parameters

Name
Type
Description

*

Integer

Unique identifier of a move in Naviga System

Headers

Name
Type
Description

Authorization*

String

X-SourceSystem*

String

X-MediaGroupCode*

String

X-ClientCode*

String

X-PaperCode*

String

{
	"Code": 200,
	"Errors": [],
	"Result": {
		"Done":true
	},
	"SessionId": "string",
	"RequestId": "string"
}
{
   "Code":200,
   "Errors":[
      {
         "Message":"Invalid or missing move id.",
         "Code":"Address39",
         "Type":{
            "Id":0,
            "Code":"Validation"
         },
         "ErrorSource":null
      }
   ],
   "Result":null,
   "SessionId":"string",
   "RequestId":"string"
}

Last updated