B2B Organizations Detail UI only shows 100 first sellers
B2B
•
ID: 966450
Fixed
Published on1/15/2024
•
Last updated on8/26/2024
1 min read
Summary
B2B Organizations Detail UI only shows 100 first sellers; the UI doesn't have pagination, making it impossible to select a seller if not in the first page
Simulation
- Make sure the account has more than 100 sellers registered;
- Access the seller tab in B2B Organizations Detail UI;
- Only the 100 first sellers will be shown.
Workaround
-
Perform a getOrganizationById via graphQL using the app:
{ getOrganizationById(id:""){ id name tradeName status collections { id } paymentTerms { id } priceTables customFields { name type value useOnRegistration } salesChannel sellers { id name }}}
-
Perform a mutation using the data from the previous graphQL:
mutation { updateOrganization ( id: "", name: "" tradeName: "" status: "active" collections: [] paymentTerms: [] priceTables: [] customFields: [] salesChannel: null sellers: [{ id: "", name: "" }] ) { id }}