Sales Summary Report Square connect -


Is it possible to prepare daily sales summary reports using Square-Connect? I see where I can list items, categories, etc. but nothing is where I can prepare daily sales summary reports. "post-text" itemprop = "text">

You can use the Connect API to get a list of your daily sales and see which items are purchased in those sales. Had gone.

Obtaining a daily sale

Retrieve a list of your daily sales with the end point of the funds (tax, tip, etc.) collected in each object and the tender Includes breakdown of the used (credit card, cash, etc.) form.

By default, this endpoint provides a list of all of payments you've ever processed, but you begin_time and You can specify a custom time window with the end_time parameter.

For example, to recover all your payments on April 21, 2014:

  • start_time is 2014-04- 21T00: 00: 00-07: 00
  • end_time is 2014-04-22T00: 00: 00-07: 00 < / li>

    -07: 00 Offset assumes that you are on Pacific Daylight Time (PDT); Be sure to modify the offset for your time zone.

    The full URL of your request at the end of the list payment endpoint is:

    https: //connect.squareup com / v1 / me / payments? start_time = 2014-04-21T00% 3A00% 3A00-07% 3nd & end_time = 2014-04-22T00% 3A 0% 3A 0 %% 3A0

    Note Make sure that there are url-escapes to prevent value errors for begin_time and end_time .

    Items sold

    Once you have your list of daily payments, each payment object is returned to ID at the end point Do it. This endpoint returns an payment object that includes an additional field: item objects .

    This array of objects describes the items included in the payment. Each code contains any information such as the item's item_id and category_name (if any) in the item_detail field payment iTimation .

    A sample is a quote from PaymentItemization object:

      {"name": "donut", "quantity": 12, "item _ "Details: {" category_name ":" pastry "," skew ":" 1234 "," item_id ":" 442d1344-6d2b-4238-83d0-0284dfd335d8 "," variation_id ":" cb890728-cfdc-4690-9e03- 349f964f756r "}, ...}    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -