Announcement

Collapse
No announcement yet.

JSON API - Also Bought Products - query list of unassigned products

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    JSON API - Also Bought Products - query list of unassigned products

    I have no problem retrieving assigned products. According to the documentation, I should be able to set "Assigned" to false to include unassigned products. Here is my request and response.

    docs: https://apps.miva.com/mm5/graphics/p...umentation.pdf

    REQUEST
    Code:
     
    Array
    (
    [Store_Code] => ***
    [Product_Code] => *******
    [Count] => 5
    [Assigned] =>
    [Module_Code] => pdsalsobought
    [Module_Function] => AlsoBoughtProductsList_Load_Query
    )

    RESPONSE
    Code:
     
    Array
    (
    [success] => 1
    )

    #2
    You will also need to include the Unassigned parameter. In the documentation PDF it is on the top of page number 10 (12th page in the document). This will include unassigned also bought products in the product list results.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #3
      I missed that; works as expected. Thanks for the quick response.

      Comment

      Working...
      X