US-12621252-B1 - Executing a service of a first online resource via a second online resource
Abstract
Techniques for executing a service of a first online resource via a second online resource are described herein. For example, a computer system may receive, on a user interface at a user device to a second online resource, an item identifier, authentication data, and a first request for a first service of a first online resource. The computer system can determine an attribute of an item based on the item identifier indicating that the item is available via the second online resource and unavailable via the first online resource. The computer system can determine, based on the authentication data, that the first request is authenticated for a first user account with the first online resource. The computer system can cause execution of the first service to be initiated and send user information from the first user account to cause a presentation of the user information at the user interface.
Inventors
- Nicholas Adam Lakes
- Marc Benjamin Delgado Greenberg
- Alexander Nguyen
- Heath Alex Van Singel
- Madhur Mishra
- Damian Sandhu-Franceschi
- Dirk Huppert
- Nicholas Davis
- Alan McCormick
Assignees
- AMAZON TECHNOLOGIES, INC.
Dates
- Publication Date
- 20260505
- Application Date
- 20231213
Claims (20)
- 1 . A computer system comprising: one or more processors; and one or more memory storing instructions that, upon execution by the one or more processors, configure the computer system: store, in a data structure, item information and an attribute, the item information describing an item having an item identifier and usable by a first service of a first online resource, the attribute indicating that the item is restricted to one or more resources other than the first online resource; receive, from a user device based at least in part on a graphical user interface (GUI) presented by the user device to a second online resource, a first application programming interface (API) call of the second online resource, the first API call indicating a request for the first service and including the item identifier and authentication data; determine the attribute from the data structure based at least in part on the item identifier from the first API call; determine, based at least in part on the attribute, that the item is available via the second online resource upon an authentication of the request; determine, based at least in part on the authentication data, that the request is authenticated and a first user account with the first online resource, the first user account being inaccessible to the second online resource; cause execution of the first service to be initiated; determine, based at least in part on the execution, user information from the first user account and the item information from the data structure; and send, in a first response to the first API call, the user information and the item information, the first response causing the user device to present the user information and the item information in the GUI.
- 2 . The computer system of claim 1 , wherein the authentication data comprises an access token and an API key, wherein the request is determined to be authenticated by at least determining that the access token indicates that a second user account with the second online resource has a privilege level to access the user information and the item information from the data structure and by validating that the API key is associated with the second online resource.
- 3 . The computer system of claim 1 , wherein the one or more memory store further instructions that, upon execution by the one or more processors, further configure the computer system: determine a list of allowed API calls associated with the first service, the list of allowed API calls storing an association between an API key and the item identifier; and determine that the list includes the association, wherein the execution of the first service is initiated based at least in part on the list including the association.
- 4 . A method implemented by a computer system, the method comprising: receiving, based at least in part on a user interface at a user device to a second online resource, an item identifier associated with an item, authentication data, and a first request for a first service of a first online resource; determining, based at least in part on the item identifier, an attribute of the item, the attribute indicating that the item is available via the second online resource and unavailable via the first online resource; determining, based at least in part on the authentication data, that the first request is authenticated and a first user account with the first online resource, the first user account being inaccessible to the second online resource; causing execution of the first service to be initiated; and sending, based at least in part on the execution of the first service and in a first response to the first request, user information from the first user account, the first response causing a presentation of the user information at the user interface.
- 5 . The method of claim 4 , further comprising: storing, in a data structure, item information and the attribute, the item information describing the item and usable by the first service, the attribute indicating that the item is restricted to one or more resources other than the first online resource, wherein the attribute is determined from the data structure, and wherein the item information is included in the first response.
- 6 . The method of claim 4 , further comprising: including, in the first response, item information indicating that the item is restricted and a presentation format controlling a presentation of at least a portion of the user information, wherein the item information is presented in the user interface, and wherein the portion is presented in the user interface based at least in part on the presentation format.
- 7 . The method of claim 4 , further comprising: causing, based at least in part on the first response, a presentation in the user interface of a user interface element to request a second service of the first online resource; receiving, based at least in part on an interaction with the user interface element, the item identifier, the authentication data, and a second request for the second service; determining, based at least in part on the authentication data, that the second request is authenticated; and causing execution of the second service to be initiated.
- 8 . The method of claim 7 , further comprising: determining, based at least in part on the execution of the second service, an update to at least a portion of the user information and additional user information; and sending a second response to the second request, the second response causing a presentation of the update and the additional user information at the user interface.
- 9 . The method of claim 7 , further comprising: determining, based at least in part on the execution of the second service, item information associated with the item; associating the item information with the first user account such that the item information remains available for use by the first service for the first user account for a predefined period of time; and sending, a second response to the second request, the second response causing a presentation of the item information at the user interface.
- 10 . The method of claim 7 , further comprising: determining that the second request is associated with a same session identifier as the first request; and determining, based at least in part on the session identifier, that a second response to the second request is to include same item information that was included in the first response.
- 11 . The method of claim 4 , further comprising: receiving, from the user device, a second request for a second service of the first online resource; causing execution of the second service to be initiated; determining a completion of the execution of the second service; and sending, to the user device, an indication of the completion, the indication causing an update to a third service of the second online resource to be presented at the user device.
- 12 . The method of claim 4 , further comprising: receiving, prior to receiving the first request and based at least in part on the user interface at the user device to the first online resource, a second request for item information associated with the item; determining, based at least in part on the attribute of the item, that the item is unavailable via the first online resource; and causing, the user device to present in the user interface to the first service, a first indication that the item is unavailable via the first online resource and a second indication that the item is available from the second online resource, wherein the second indication is linked to the second online resource.
- 13 . The method of claim 4 , further comprising: receiving, from the second online resource, an indication that attribute is no longer applicable to the first user account; associating the indication with the first user account; receiving, based at least in part on the user interface at the user device to the first online resource, a second request for item information associated with the item; determining, based at least in part on the indication being associated with the first user account, that the item is available via the first online resource; and causing, the user device to present in the user interface to the first service, the item information and a user interface element to execute the first service.
- 14 . One or more computer-readable storage media storing instructions that, upon execution on a computer system, cause the computer system to perform operations comprising: receiving, based at least in part on a user interface at a user device to a second online resource, an item identifier associated with an item, authentication data, and a first request for a first service of a first online resource; determining, based at least in part on the item identifier, an attribute of the item, the attribute indicating that the item is available via the second online resource and unavailable via the first online resource; determining, based at least in part on the authentication data, that the first request is authenticated and a first user account with the first online resource, the first user account being inaccessible to the second online resource; causing execution of the first service to be initiated; and sending, based at least in part on the execution of the first service and in a first response to the first request, user information from the first user account, the first response causing a presentation of the user information at the user interface.
- 15 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise: including, in the first response, first item information about a first variation of the item and second item information about a second variation of the item; causing, in the user interface, a presentation of a user interface element to select the first variation or the second variation; receiving, based at least in part on an interaction of the user interface element, a selection of the first variation; and executing, in association with the first variation, a second service of the first online resource.
- 16 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise: determining item information about a variation of the item; determining, based at least in part on the first user account, that the item information is to be presented; and including, in the first response, the item information.
- 17 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise; storing, prior to receiving the first request, an association between the first user account and a second user account with the second online resource, wherein the authentication data is based at least in part on the association; and storing, prior to receiving the first request, a permission associated with the first user account to present a user interface element to request the first service via the second online resource, wherein the first request is received based at least in part on an interaction with the user interface element in the user interface.
- 18 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise: storing, based at least in part on the first request being authenticated, an indication that the item is available from the first online resource to the first user account; and causing the user device to present a user interface element to request the item to become available from the first online resource to a second user account with the first online resource.
- 19 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise: receiving, based at least in part on input via the user interface, a change to at least a portion of the user information; and storing the change in association with the first user account and the item identifier.
- 20 . The one or more computer-readable storage media of claim 14 , wherein the operations further comprise: causing, at the user interface to the second online resource, to present a user interface element associated with changing at least a portion of the user information; receiving, from the user device, an indication of an interaction with the user interface element; causing, based at least in part on the indication, the user device to present the user interface to the first service; receiving, based at least in part on input via the user interface to the first service, a change to at least the portion of the user information; and storing the change in association with the first user account and the item identifier.
Description
BACKGROUND Typically, users have accounts across different electronic service providers, each providing a particular service. For example, a user may have a first account with a video game service and may use this account to play the video game. The user may also have a second account with an electronic store and may use this account to purchase items. BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments in accordance with the present disclosure will be described with reference to the drawings, in which: FIG. 1 illustrates example user interfaces for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 2 illustrates an example block diagram of a computing environment for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 3 illustrates an example user interface and block diagram of a computing environment for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 4 illustrates an example user interface and block diagram of a computing environment for restricting execution of a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 5 illustrates an example user interface and block diagram of a computing environment for restricting execution of a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 6 illustrates an example block diagram of a computing environment for enabling execution of a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 7 illustrates an example flow for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure: FIG. 8 illustrates an example flow for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 9 illustrates an example flow for authenticating execution of a service of a first online resource via a second online resource, according to an embodiment of the present disclosure; FIG. 10 illustrates an example flow for executing a service of a first online resource via a second online resource, according to an embodiment of the present disclosure: FIG. 11 illustrates an environment in which various embodiments can be implemented. DETAILED DESCRIPTION In the following description, various embodiments will be described. For purposes of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will also be apparent to one skilled in the art that the embodiments may be practiced without the specific details. Furthermore, well-known features may be omitted or simplified in order not to obscure the embodiment being described. Embodiments of the present disclosure are directed to, among other things, executing a service of a first online resource via a second online resource, where the service is restricted or allowed based on requirements set by the second online resource. A user may interact with a user interface of the second online resource to access item information associated with an item, where the information is provided by the first online resource. The second online resource may issue application programing interface (API) calls to the first online resource to retrieve the item information. The item information may indicate that the item can be obtained via the second online resource rather than the first online resource. That is, the item may be unavailable to the user until the second online resource initiates a service for the item. If the first online resource authenticates a request from the second online resource to execute the service, the first online resource can initiate the execution of the service. The user interface for the second online resource can then be updated with information from the first online resource associated with the request. Thus, the second online resource can facilitate execution of a service for a particular item provided by a first online resource. To illustrate, consider an example of a first online resource that may provide an electronic store with a catalog of products. A user may have a first user account with the electronic store that can be used to execute a service (e.g., a service configured to allow product purchases via the first online resource). A second online resource may provide a video game application. The user may also have a second user account that can be used to interact with the video game application. The video game application may also provide in-game opportunities to purchase products that are locked to purchase until the user has met an ach