How The Integration Works
3 min
outline the integration reacts to two points in a return's life when it's lodged, and when it's closed everything in between happens in refundid finding the neto order the order number a customer sees isn't the internal neto order id, so both stages start by looking the order up refundid searches neto on the external order reference your order number, plus any fixed prefix your storefront applies and requires exactly one matching order if no order is found, or more than one comes back, nothing is written and an integration error docid 2cjxjmvexrl9kpvc2nozd is raised against the return so your team can investigate a unique match is required before refundid will touch the order at lodgement labelling the order when a return is lodged, the order is given an order label for example return in progress so anyone looking at the order in neto can see there's a return underway no rma is created at this stage the label has to exist in neto before the integration can apply it create it in your neto control panel under order labels first; neto won't create a label that isn't already set up the label stays on the order after the return closes if you'd like it cleared or swapped for a different label once the return is complete, let us know and we can add that at close creating the rma once the return is processed, an rma is created in neto that is already in a closed state, because the decision has already been made in refundid it contains only the approved items declined and cancelled items are excluded quantities are aggregated per sku, so a customer returning two of the same sku produces one line with a quantity of two the refund value per line , the tax code and the warehouse the return reason , including the follow up reason where the customer selected one item status of returned and a resolution status of resolved your nominated rma outcome on every line for example add to stock and issue credit , or an outcome that issues credit without restocking this is what tells neto how to treat the returned goods any outbound shipping refund included on the return the refundid rma reference , written to the purchase order number field so the neto rma can be matched back to the refundid return internal notes naming the return id, rma reference, customer, who closed the return and the final refund value if every item on the return was declined or cancelled, no rma is created there is nothing for neto to record because the rma is created already closed, whether neto restocks the goods depends on the outcome you nominate it's worth processing one return end to end when you go live and checking your stock levels reflect what you expect