• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • App Market Developer Platform
  • Clover GO
  • Ideas & Feedback
  • Semi-Integration
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
Skip to main content
  • Create
    • Ask a question
    • Post an idea
    • App Market Developer Platform
    • Clover GO
    • Ideas & Feedback
    • Semi-Integration
    • Topics
    • Questions
    • Articles
    • Ideas
  • Sign in
  • Home
  • App Market Developer Platform
This question was closed Apr 02 at 09:49 PM by Clover_Community_Bot for the following reason: automated

question

Austin Reynolds avatar image
Austin Reynolds asked · Jun 20, 2017 at 07:59 PM

Politeness: More than 3 expansions, or more GET requests?

Hi there! I need to get a bunch of order data with all fields expanded, to store them for data analysis. It'll be all orders for several stores, so it's quite a lot of data, though the GET requests for each merchant ID will be done serially.

The API documentation asks that we expand at most three fields per API call. I would prefer to lower the rate of my queries and include all of the expands, but I suppose I could do separate queries and merge the documents if absolutely necessary. Is it capital-B Bad to expand more? Wouldn't doubling or tripling the number of queries be more of a strain for Clover?

Edit: Perhaps there is some other way to get a data dump from Clover? Surely there are plenty of retailers who want to pull their retail data down. Maybe I'm missing another option that's preferable to the REST API for this task?
REST API
Comment
· 2 comments
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Miguel avatar image Miguel · Jun 20, 2017 at 10:18 PM

What are the requests and expansions?

0 · ·
Austin Reynolds avatar image Austin Reynolds Miguel · Jun 20, 2017 at 10:23 PM

Orders, all fields expanded. Well, at least one level down. So something like:

https://api.clover.com/v3/merchants/merchant_id/orders?expand=lineItems.modifications&expand=customers&expand=payments&expand=credits∾cess_token=my_token
0 · ·

0 Answers

Welcome to the
Clover Developer Community

question details

2 People are following this question.

austinreynolds follows this question miguel follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions

Returned Token Unauthorized (Permission Enabled) 2 Answers

Exchange lineItem using API or Intent 1 Answer

List all customer with phones 1 Answer

Check if the POS is online via API 1 Answer

Custom Employee Roles Are Retrieved as EMPLOYEE 1 Answer

Answerhub Logo
  • About
  • ·
  • FAQ
  • ·
  • Privacy
  • ·
  • Copyright © 2010-19 DZone, Inc.