> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

<Accordion title="What's the difference between the ASN endpoint and the Detailed Returns List endpoint?">
  The main difference is that the Detailed Returns List includes more information about each line item in the return, such as tax/discount amounts, return reasons, and exchange details.
</Accordion>

<Accordion title="Can I send custom parameters through the Flag Return endpoint?">
  Currently, no. However, this functionality may be included in future API enhancements.
</Accordion>

<Accordion title="Why am I getting an unauthorized error when making API calls with my API key?">
  Loop’s API keys are assigned scopes, which define the actions a key is authorized to perform. If a key lacks the necessary scope for a specific action, you’ll receive a `401 Unauthorized` response, even if the key itself is valid. For example, if you attempt to access the Details List API without the `Returns` scope on your API key, you’ll receive an `Unauthorized` error.

  You can either create a new key with the required scope for your action or add the necessary scope to an existing key from the Developer page in the admin. API keys can have multiple scopes assigned.

  For more information on Loop’s API scopes and which scopes are needed for specific actions, refer to the [API authentication documentation](/api-reference/authentication).
</Accordion>

<Accordion title="Does Loop offer a way to schedule a chore for daily CSV extracts so we can populate your data into a tool like PowerBI?">
  We don't support an automated CSV file extract at the moment. You could, however, write a script to hit the detailed returns list endpoint daily, save that data to a CSV file, and feed it to whatever you process you need a CSV file for.
</Accordion>
