Problems, need help? Have a tip or advice? Post it here.
14 posts Page 2 of 2
OMG ive been using couch for a year!

It must have been late last night because i should already know this :roll:

Kk you are the best thanks for your help!
You are welcome @rudydjmedina :)
the server is not accepting that solution.

it returns an error if i use " " on the outside. and single ' ' on the nested portion


The server accepts this. but the data does not get passed into <cms:show selected_product/> tag

it returnes:

{"data":[],"pagination":{"count":0,"order":null,"page":1,"page_size":25,"total_count":367}}


Code: Select all
<cms:curl
        url='https://pim.plytix.com/api/v1/products/search'
        method='POST'
        headers="Content-Type: application/json | Authorization: Bearer <cms:show response.data.0.access_token/>"
        data= '{"filters": [
            [
                {"field": "sku", "operator": "eq", "value": "<cms:show selected_product/>"}
            ]
          ],
         "attributes": ["attributes.cust_price"]   
            }'
        into='products'
        is_json='1'
        />
Fixed i just used a different endpoint in where instead of filtering i added the couch tag to the end of the endpoint
14 posts Page 2 of 2