Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
We use a proprietary sales site that our contractors take orders.
We are integrating the site to use square to process to the payments. We use the following code to create an order. is there a way to link this order with the employee? Using employeeid?
{ "idempotency_key": "86ae1696-b1e3-4328-af6d-f1e04d947ad6", "order": { "reference_id": "reference_id", "line_items": [ { "name": "Printed T Shirt", "quantity": "2", "base_price_money": { "amount": 1500, "currency": "USD" }, "discounts": [ { "name": "7% off previous season item", "percentage": "7" }, { "name": "$3 off Customer Discount", "amount_money": { "amount": 300, "currency": "USD" } } ] }, { "name": "Slim Jeans", "quantity": "1", "base_price_money": { "amount": 2500, "currency": "USD" } }, { "name": "Woven Sweater", "quantity": "3", "base_price_money": { "amount": 3500, "currency": "USD" }, "discounts": [ { "name": "$11 off Customer Discount", "amount_money": { "amount": 1100, "currency": "USD" } } ], "taxes": [ { "name": "Fair Trade Tax", "percentage": "5" } ] } ], "discounts": [ { "name": "Father's day 12% OFF", "percentage": "12" }, { "name": "Global Sales $55 OFF", "amount_money": { "amount": 5500, "currency": "USD" } } ], "taxes": [ { "name": "Sales Tax", "percentage": "8.5" } ] }, "additional_recipients": [ { "location_id": "057P5VYJ4A5X1", "description": "Application fees", "amount_money": { "amount": 60, "currency": "USD" } } ], "ask_for_shipping_address": true, "merchant_support_email": "merchant+support@website.com", "pre_populate_buyer_email": "example@email.com", "pre_populate_shipping_address": { "address_line_1": "1455 Market St.", "address_line_2": "Suite 600", "locality": "San Francisco", "administrative_district_level_1": "CA", "postal_code": "94103", "country": "US", "first_name": "Jane", "last_name": "Doe" }, "redirect_url": "https://merchant.website.com/order-confirm" }
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
3 REPLIES 3
Thank you for your post @manking! Unfortunately, there is not a way to attribute an employee to a transaction. At this time we can only add a customer to a transaction with their customer_id. I've shared your interest in this with the API team and if it's possible to do this in future we'll let you know.
️ Helen
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to track the commission on a sale?
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi again @manking. At this time there isn't a way to track commission with Square's APIs. I'll share your request with the team!
️ Helen
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report