Skip to main content

returnMerchandiseAuthorizationItem

The returnMerchandiseAuthorizationItem resource represents a single item of a returnMerchandiseAuthorization which is a representation of a RMA-request.

idinteger
Example: 13501
typestringrequired
Constant value: returnMerchandiseAuthorizationItem
attributes object
externalReferenceexternalReturnMerchandiseAuthorizationItemReference

An optional external reference to the returnMerchandiseAuthorizationItem.

metadata object

Allows the specification of arbitrary name-value pairs.

property name*string
quantityinteger

The number of items being returned.

Possible values: > 0

reasonCodestring

Customer provided reason for returning the item

Possible values: > 0

skuproductSku

SKU (stock keeping unit) of a product used to identify products.

Possible values: >= 2 characters and <= 80 characters, Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$

Examples:
Example: VDB-400
relationships object
product object

Refers to the product being returned

data object

Represents a self-link of a product resource.

idinteger

The id is an internally assigned id of a product.

Example: 540935
typestringrequired
Constant value: product
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/products/540935
returnItem object

When the status is PROCESSED the returnMerchandiseAuthorizationItem has been received and its return information can be found on the returnItem resource.

data object

Represents a self-link of a returnItem resource.

idinteger
Example: 5432554
typestringrequired
Constant value: returnItem
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/returnItems/5432554
returnReason object

Encodes the (consumer) reason for making the return.

data object

Represents a self-link of a returnReason resource.

idinteger
Example: 16
typestringrequired
Constant value: returnReason
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/returnReasons/16
shipmentItem object

Refers to the original shipment item that shipped out the product to the consumer

data object

Represents a self-link of a shipmentItem resource.

idinteger
Example: 15368865
typestringrequired
Constant value: shipmentItem
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/shipmentItems/15368865
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/returnMerchandiseAuthorizationItems/13501
returnMerchandiseAuthorizationItem
{
"id": 13501,
"type": "returnMerchandiseAuthorizationItem",
"attributes": {
"externalReference": "string",
"sku": "VDB-400",
"quantity": 0,
"reasonCode": "string",
"metadata": {
"customer_note": "want replacement"
}
},
"relationships": {
"shipmentItem": {
"data": {
"id": 15368865,
"type": "shipmentItem",
"links": {
"self": "https://shopapi.activeants.nl/v3/shipmentItems/15368865"
}
}
},
"product": {
"data": {
"id": 540935,
"type": "product",
"links": {
"self": "https://shopapi.activeants.nl/v3/products/540935"
}
}
},
"returnReason": {
"data": {
"id": 16,
"type": "returnReason",
"links": {
"self": "https://shopapi.activeants.nl/v3/returnReasons/16"
}
}
},
"returnItem": {
"data": {
"id": 5432554,
"type": "returnItem",
"links": {
"self": "https://shopapi.activeants.nl/v3/returnItems/5432554"
}
}
}
},
"links": {
"self": "https://shopapi.activeants.nl/v3/returnMerchandiseAuthorizationItems/13501"
}
}