Create a variable with specific values received from an external api call

Answered

Hi,

I am getting the following response from Meta catalog, describing a list of products. The response per product looks like something like this:

{
'data': [
{
'name': 'Shoe',
'retailer_id': '123gffj',
'availability': 'in stock',
'description': 'Test description.',
'color': 'Red',
'material': 'Cotton',
'pattern': 'Stripes',
'sale_price': '$ 32,000',
'currency': 'COP',
'gender': 'unisex',
'age_group': 'adult',
'id': '6026848224036348'
}


For each product, I have to create a variable with only the name, description and color of the product. For this sample would look like this:

Name: Shoe, Description: Test description., Color: Red


This is what I'm trying:



Now I have no clue on what to do here to create the 'Name: Shoe, Description: Test description., Color: Red' variable:



Any help would be appreciated, thanks!

2 replies