Link to home
Start Free TrialLog in
Avatar of John S.
John S.Flag for United States of America

asked on

Help creating product object

I need to create an object that I can pass to an API. The object will hold product information ( RMA info ).

Here is how I would like the final object structured ideally:
RMA Number 43454656
    Created Date: today
    Username: John

    Items In RMA
        UPC Code 5345346565564
        qty 3
        // There are 3 items for example with same UPC
            serialNumber: 4534545435435
            serialNumber: 54356546546546,
            serialNumber: 8678678678768

        Next Upc 090909043543534
        qty 1
            serialNumber: 9890895034545

        etc...

Open in new window

Can someone help me build this as a valid Javascript Object / Json Object please?
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial