GET request working on Postman but not code on Terminal

I am running a GET on Postman and worked fine with Status 200 ok, but when I pick up the code from Postman and running the Curl/Python on my Mac OS terminal it through a 401 error, can you please help me fix the issue.

curl --location --request GET ‘www.instacart.com/v3/containers/costco/next_gen/retailer_information/content/delivery?source=web’ --header ‘Cookie: _instacart_logged_in=1; build_sha=xxxxxxxxxxxxxx; signup_load_perf_date=xxxxxxxxxxxxxx; amplitude_idundefinedinstacart.com=xxxxxxxxxxxxxx; _gcl_au=xxxxxxxxx; _fbp=fbxxxxxxxx;…’

{“error”:{“message”:“Unauthorized”},“meta”:{“triggered_action”:null}}