Approved Update API endpoints for Trade creation / Item management

aleo

Customer
Hello,
I am using the DragonByte Shop add-on on my XenForo installation. In the Admin Panel I can see permissions such as:


  • dbtech_shop_trade_post:read
  • dbtech_shop_trade_post:write
  • dbtech_shop_trade_post:delete_hard

However, none of these permissions appear in the official XenForo REST API documentation, and I cannot find any DragonByte-specific API endpoints either.


My Goal:
I want to create a trade post via API (programmatically from n8n).
In other words, I need an endpoint that performs the same action as creating a “Trade” inside the Shop manually from the UI.


Questions:


  1. What is the official API endpoint for creating a trade post?
    (Example: POST /api/dbtech-shop/trade-posts or similar)
  2. If these permissions (read, write, etc.) correspond to API scopes, what are the exact routes they enable?
  3. Does the add-on expose API endpoints for the following operations:
    • Creating a trade (trade post creation)
    • Reading a user’s credit balance
    • Reading transaction logs / purchase history
    • Reading user-owned items
  4. If no API endpoints exist, does this mean DragonByte Shop does not provide REST API support at all, despite showing API permissions in the Admin Panel?

I just need clarification on the correct API routes so I can integrate this with my automation system.


Thank you.
 
Upvote 0
"Trade post" is posting a message to a trade, it is not "posting a new trade". There is currently no API for creating a new trade.
There is also no API to read or write anything other than trade posts and trade post comments.

I'll see if I can figure out how to generate the documentation, it's been so long since I created eCommerce's documentation I've entirely forgotten how to do so :P

I'll move this to Suggestions and flag it as Approved so it can be looked into for the next version.
 

Similar threads

  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
1
Views
194
  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
1
Views
537
  • Locked
  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
2
Views
817
  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
0
Views
1K
  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
1
Views
216

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,715
Customer rating
5.00 star(s) 3 ratings
Back
Top