NAV

<back to all web services

ReturnGet

The following routes are available for this service:
GET/returns/{RMANumber}
ReturnGet Parameters:
NameParameterData TypeRequiredDescription
RMANumberpathstringNo
GetResponse<TEntity> Parameters:
NameParameterData TypeRequiredDescription
ItemformTEntityNo
ResponseStatusformResponseStatusNo
ReturnViewModel Parameters:
NameParameterData TypeRequiredDescription
BeeNumberformdecimalNo
BeeNumberCustomerformdecimalNo
EventIdformint?No
EventStartDateformDateTime?No
MasterOrderIdformintNo
MasterOrderIdParentformintNo
MasterOrderIdRelatedformint?No
OrderIdOutboundformintNo
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo
RmaNumberformstringNo
BeeBusinessGuidformdecimalNo
IsSubmittedformboolNo
SubmittedDateformDateTime?No
ExportDateformDateTime?No
RmaStatusformstringNo
InboundReturnTotalformdecimal?No
OutboundTotalformdecimal?No
TaxAmountformdecimal?No
ShippingTaxAmountformdecimal?No
FeeTotalformdecimal?No
Totalformdecimal?No
ShippingMethodformstringNo
MasterOrderIdOutboundformint?No
RmaNoteformstringNo
SubTotalformdecimal?No
ShippingAmountformdecimal?No
PaymentTotalformdecimal?No
CreditNotAppliedToProductAmountformdecimal?No
FeeTotalWaivedformdecimal?No
OutboundOrderSavingsClubAmountformdecimal?No
InboundReplacementTotalformdecimal?No
InboundTaxAmountformdecimal?No
OutboundTaxAmountformdecimal?No
OutboundOrderTotalformdecimal?No
OutboundOrderCreditCardAmountformdecimal?No
OrderCreatedDateformDateTime?No
ClosedDateformDateTime?No
ActualShippingTaxAmountformdecimal?No
ActualShippingAmountformdecimal?No
ActualTaxAmountformdecimal?No
ActualInboundTaxAmountformdecimal?No
RmaCreditCardAmountformdecimal?No
RmaSavingsClubAmountformdecimal?No
ActualFeeTotalformdecimal?No
ActualFeeTotalWaivedformdecimal?No
ActualTotalformdecimal?No
ActualSubTotalformdecimal?No
ActualInboundReturnTotalformdecimal?No
ActualInboundReplacementTotalformdecimal?No
ActualCreditNotAppliedToProductAmountformdecimal?No
TaxExportDateformDateTime?No
TaxTransactionTimeformDateTime?No
TaxTransactionIdformstringNo
ReverseTaxExportDateformDateTime?No
ReverseTaxTransactionTimeformDateTime?No
ReverseTaxTransactionIdformstringNo
FinalTaxformdecimal?No
ReverseFinalTaxformdecimal?No
ReuseableInboundTaxTransactionIdformstringNo
ReuseableOutboundTaxTransactionIdformstringNo
OrderIdformint?No
OrderNumberformstringNo
NoteformstringNo
ClawbackCVOverrideformboolNo
ClawbackQVOverrideformboolNo
IssueGiftCardformboolNo
RmaGiftCardAmountformdecimal?No
BeeSavingsSerialGuidformdecimal?No
SerialNumberformstringNo
GiftCardEmailformstringNo
OrderCreatedDuringSubmitformboolNo
TotalQualifyingValueformdecimal?No
TotalCommissionableValueformdecimal?No
BeeSavingsClubGuidformdecimal?No
IsCancelOrderformbool?No
CreatedByformstringNo
RmaSeverityformstringNo
ReferenceformstringNo
UserNameformstringNo
TotalOverrideCVformdecimal?No
TotalOverrideQVformdecimal?No
TotalUplineCVformdecimal?No
TotalUplineQVformdecimal?No
TotalGroupCVformdecimal?No
TotalGroupQVformdecimal?No
OverrideCVformdecimal?No
OverrideQVformdecimal?No
UplineCVformdecimal?No
UplineQVformdecimal?No
GroupCVformdecimal?No
GroupQVformdecimal?No
IssueCheckformboolNo
RmaCheckAmountformdecimal?No
ShippingAddressformAddressViewModelNo
InboundSkusformList<ReturnInboundSkuViewModel>No
OutboundSkusformList<ReturnOutboundSkuViewModel>No
ShipmentIssueSkusformList<ReturnShipmentIssueSkuViewModel>No
PaymentsformList<ReturnPaymentViewModel>No
HoldsformList<ReturnHoldViewModel>No
AddressViewModel Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
HouseNumberformstringNo
AddressLine1formstringNo
AddressLine2formstringNo
AddressLine3formstringNo
AddressLine4formstringNo
AddressLine5formstringNo
CityformstringNo
LocalityLevelID1formstringNo
LocalityLevelID2formstringNo
LocalityLevelID3formstringNo
LocalityLevelID4formstringNo
LocalityLevelID5formstringNo
StateCodeformstringNo
PostalCodeformstringNo
CountryCodeformstringNo
AddressGoodDateformDateTime?No
LatitudeformdecimalNo
LongitudeformdecimalNo
AddressIdformintNo
ReturnInboundSkuViewModel Parameters:
NameParameterData TypeRequiredDescription
RmaTypeformstringNo
ReturnQuantityformint?No
AutoReceivedQuantityformint?No
OriginalQuantityformint?No
ReturnQuantityOnCloneformint?No
ReasonTypeformstringNo
SkuNoteformstringNo
OrderIdformint?No
OrderNumberformstringNo
OrderSkuIdformint?No
OrderLineNumberformint?No
FeeAmountformdecimal?No
ExtendedFeeAmountformdecimal?No
ReturnTaxAmountformdecimal?No
ReturnExtendedFeeAmountformdecimal?No
ReturnExtendedPriceformdecimal?No
FeesformList<ReturnFeeViewModel>No
ReturnOutboundSkuViewModel Parameters:
NameParameterData TypeRequiredDescription
EntitySkuIdformintNo
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo
LineNumberformintNo
SkuIdformintNo
SkuCodeformstringNo
WarehouseSkuCodeformstringNo
QuantityformintNo
Priceformdecimal?No
ExtendedPriceformdecimal?No
PriceOverrideformdecimal?No
TaxablePriceformdecimal?No
TaxAmountformdecimal?No
OrderedQuantityformint?No
ReturnTaxablePriceformdecimal?No
ReturnFeeViewModel Parameters:
NameParameterData TypeRequiredDescription
RmaFeeIdformintNo
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo
IsFeeWaivedformboolNo
UsernameFeeWaivedformstringNo
WaivedNoteformstringNo
FeeIdformstringNo
ReturnShipmentIssueSkuViewModel Parameters:
NameParameterData TypeRequiredDescription
RMAShipmentIssueSkuIdformintNo
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo
LineNumberformintNo
SkuIdformintNo
SkuCodeformstringNo
WarehouseSkuCodeformstringNo
QuantityformintNo
Priceformdecimal?No
ExtendedPriceformdecimal?No
PriceOverrideformdecimal?No
ReturnPaymentViewModel Parameters:
NameParameterData TypeRequiredDescription
PaymentIdformintNo
PaymentTypeformstringNo
CreditCardTypeformstringNo
CreditCardNameformstringNo
CreditCardNumberformstringNo
CreditCardTokenformstringNo
PaymentGuidformstringNo
CreditCardExpiredformstringNo
AuthorizationCodeformstringNo
BankAccountNumberformstringNo
BankRoutingNumberformstringNo
BankAccountTypeformstringNo
BankNameformstringNo
BankAccountNameformstringNo
LicenseNumberformstringNo
LicenseDOBformstringNo
LicenseStateformstringNo
CheckNumberformstringNo
SavingsClubformstringNo
ChargeformdecimalNo
RmaEnteredRefundformdecimal?No
TextResponseformstringNo
ProcessedformboolNo
ConfirmationCodeformstringNo
AuthorizationTimeformDateTime?No
BillingAddressformAddressViewModelNo
TransactionIdformstringNo
AVSformstringNo
BalancingPaymentformboolNo
SerialNumberformstringNo
PaymentExportKeywordformstringNo
ReturnHoldViewModel Parameters:
NameParameterData TypeRequiredDescription
RmaHoldIdformintNo
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo
ReleaseDateformDateTime?No
UsernameReleaseformstringNo
HoldReasonformstringNo
HoldNoteformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /returns/{RMANumber} HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		beeNumber: 0,
		beeNumberCustomer: 0,
		eventId: 0,
		eventStartDate: 0001-01-01T00:00:00,
		masterOrderId: 0,
		masterOrderIdParent: 0,
		masterOrderIdRelated: 0,
		orderIdOutbound: 0,
		createdDate: 0001-01-01T00:00:00,
		updatedDate: 0001-01-01T00:00:00,
		rmaNumber: String,
		beeBusinessGuid: 0,
		isSubmitted: False,
		submittedDate: 0001-01-01T00:00:00,
		exportDate: 0001-01-01T00:00:00,
		rmaStatus: String,
		inboundReturnTotal: 0,
		outboundTotal: 0,
		taxAmount: 0,
		shippingTaxAmount: 0,
		feeTotal: 0,
		total: 0,
		shippingMethod: String,
		masterOrderIdOutbound: 0,
		rmaNote: String,
		subTotal: 0,
		shippingAmount: 0,
		paymentTotal: 0,
		creditNotAppliedToProductAmount: 0,
		feeTotalWaived: 0,
		outboundOrderSavingsClubAmount: 0,
		inboundReplacementTotal: 0,
		inboundTaxAmount: 0,
		outboundTaxAmount: 0,
		outboundOrderTotal: 0,
		outboundOrderCreditCardAmount: 0,
		orderCreatedDate: 0001-01-01T00:00:00,
		closedDate: 0001-01-01T00:00:00,
		actualShippingTaxAmount: 0,
		actualShippingAmount: 0,
		actualTaxAmount: 0,
		actualInboundTaxAmount: 0,
		rmaCreditCardAmount: 0,
		rmaSavingsClubAmount: 0,
		actualFeeTotal: 0,
		actualFeeTotalWaived: 0,
		actualTotal: 0,
		actualSubTotal: 0,
		actualInboundReturnTotal: 0,
		actualInboundReplacementTotal: 0,
		actualCreditNotAppliedToProductAmount: 0,
		taxExportDate: 0001-01-01T00:00:00,
		taxTransactionTime: 0001-01-01T00:00:00,
		taxTransactionId: String,
		reverseTaxExportDate: 0001-01-01T00:00:00,
		reverseTaxTransactionTime: 0001-01-01T00:00:00,
		reverseTaxTransactionId: String,
		finalTax: 0,
		reverseFinalTax: 0,
		reuseableInboundTaxTransactionId: String,
		reuseableOutboundTaxTransactionId: String,
		orderId: 0,
		orderNumber: String,
		note: String,
		clawbackCVOverride: False,
		clawbackQVOverride: False,
		issueGiftCard: False,
		rmaGiftCardAmount: 0,
		beeSavingsSerialGuid: 0,
		serialNumber: String,
		giftCardEmail: String,
		orderCreatedDuringSubmit: False,
		totalQualifyingValue: 0,
		totalCommissionableValue: 0,
		beeSavingsClubGuid: 0,
		isCancelOrder: False,
		createdBy: String,
		rmaSeverity: String,
		reference: String,
		userName: String,
		totalOverrideCV: 0,
		totalOverrideQV: 0,
		totalUplineCV: 0,
		totalUplineQV: 0,
		totalGroupCV: 0,
		totalGroupQV: 0,
		overrideCV: 0,
		overrideQV: 0,
		uplineCV: 0,
		uplineQV: 0,
		groupCV: 0,
		groupQV: 0,
		issueCheck: False,
		rmaCheckAmount: 0,
		shippingAddress: 
		{
			firstName: String,
			lastName: String,
			houseNumber: String,
			addressLine1: String,
			addressLine2: String,
			addressLine3: String,
			addressLine4: String,
			addressLine5: String,
			city: String,
			localityLevelID1: String,
			localityLevelID2: String,
			localityLevelID3: String,
			localityLevelID4: String,
			localityLevelID5: String,
			stateCode: String,
			postalCode: String,
			countryCode: String,
			addressGoodDate: 0001-01-01T00:00:00,
			latitude: 0,
			longitude: 0,
			addressId: 0
		},
		inboundSkus: 
		[
			{
				rmaType: String,
				returnQuantity: 0,
				autoReceivedQuantity: 0,
				originalQuantity: 0,
				returnQuantityOnClone: 0,
				reasonType: String,
				skuNote: String,
				orderId: 0,
				orderNumber: String,
				orderSkuId: 0,
				orderLineNumber: 0,
				feeAmount: 0,
				extendedFeeAmount: 0,
				returnTaxAmount: 0,
				returnExtendedFeeAmount: 0,
				returnExtendedPrice: 0,
				fees: 
				[
					{
						rmaFeeId: 0,
						createdDate: 0001-01-01T00:00:00,
						updatedDate: 0001-01-01T00:00:00,
						isFeeWaived: False,
						usernameFeeWaived: String,
						waivedNote: String,
						feeId: String
					}
				],
				entitySkuId: 0,
				createdDate: 0001-01-01T00:00:00,
				updatedDate: 0001-01-01T00:00:00,
				lineNumber: 0,
				skuId: 0,
				skuCode: String,
				warehouseSkuCode: String,
				quantity: 0,
				price: 0,
				extendedPrice: 0,
				priceOverride: 0,
				taxablePrice: 0,
				taxAmount: 0,
				orderedQuantity: 0,
				returnTaxablePrice: 0
			}
		],
		outboundSkus: 
		[
			{
				entitySkuId: 0,
				createdDate: 0001-01-01T00:00:00,
				updatedDate: 0001-01-01T00:00:00,
				lineNumber: 0,
				skuId: 0,
				skuCode: String,
				warehouseSkuCode: String,
				quantity: 0,
				price: 0,
				extendedPrice: 0,
				priceOverride: 0,
				taxablePrice: 0,
				taxAmount: 0,
				orderedQuantity: 0,
				returnTaxablePrice: 0
			}
		],
		shipmentIssueSkus: 
		[
			{
				rmaShipmentIssueSkuId: 0,
				createdDate: 0001-01-01T00:00:00,
				updatedDate: 0001-01-01T00:00:00,
				lineNumber: 0,
				skuId: 0,
				skuCode: String,
				warehouseSkuCode: String,
				quantity: 0,
				price: 0,
				extendedPrice: 0,
				priceOverride: 0
			}
		],
		payments: 
		[
			{
				paymentId: 0,
				paymentType: String,
				creditCardType: String,
				creditCardName: String,
				creditCardNumber: String,
				creditCardToken: String,
				paymentGuid: String,
				creditCardExpired: String,
				authorizationCode: String,
				bankAccountNumber: String,
				bankRoutingNumber: String,
				bankAccountType: String,
				bankName: String,
				bankAccountName: String,
				licenseNumber: String,
				licenseDOB: String,
				licenseState: String,
				checkNumber: String,
				savingsClub: String,
				charge: 0,
				rmaEnteredRefund: 0,
				textResponse: String,
				processed: False,
				confirmationCode: String,
				authorizationTime: 0001-01-01T00:00:00,
				billingAddress: 
				{
					firstName: String,
					lastName: String,
					houseNumber: String,
					addressLine1: String,
					addressLine2: String,
					addressLine3: String,
					addressLine4: String,
					addressLine5: String,
					city: String,
					localityLevelID1: String,
					localityLevelID2: String,
					localityLevelID3: String,
					localityLevelID4: String,
					localityLevelID5: String,
					stateCode: String,
					postalCode: String,
					countryCode: String,
					addressGoodDate: 0001-01-01T00:00:00,
					latitude: 0,
					longitude: 0,
					addressId: 0
				},
				transactionId: String,
				avs: String,
				balancingPayment: False,
				serialNumber: String,
				paymentExportKeyword: String
			}
		],
		holds: 
		[
			{
				rmaHoldId: 0,
				createdDate: 0001-01-01T00:00:00,
				updatedDate: 0001-01-01T00:00:00,
				releaseDate: 0001-01-01T00:00:00,
				usernameRelease: String,
				holdReason: String,
				holdNote: String
			}
		]
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}