docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UdpSynchronizationApi

    Inheritance
    object
    UdpSynchronizationApi
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Purchasing
    Assembly: UnityEditor.Purchasing.dll
    Syntax
    [Obsolete("UDP support will be removed in the next major update of In-App Purchasing. Right now, the UDP SDK will still function normally in tandem with IAP.")]
    public static class UdpSynchronizationApi

    Methods

    CreateStoreItem(string, string, IapItem)

    Call UDP store asynchronously to create a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object CreateStoreItem(string accessToken, string orgId, IapItem iapItem)
    Parameters
    Type Name Description
    string accessToken

    The bearer token to UDP.

    string orgId

    The organization identifier to create the store item under.

    IapItem iapItem

    The store item to create.

    Returns
    Type Description
    object

    The HTTP POST Request to create a store item.

    GetAccessToken(string)

    Get Access Token according to authCode.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object GetAccessToken(string authCode)
    Parameters
    Type Name Description
    string authCode

    Acquired by UnityOAuth

    Returns
    Type Description
    object

    GetOrgId(string, string)

    Call UDP store asynchronously to retrieve the Organization Identifier.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object GetOrgId(string accessToken, string projectGuid)
    Parameters
    Type Name Description
    string accessToken

    The bearer token to UDP.

    string projectGuid

    The project id.

    Returns
    Type Description
    object

    The HTTP GET Request to get the organization identifier.

    SearchStoreItem(string, string, string)

    Call UDP store asynchronously to search for a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object SearchStoreItem(string accessToken, string orgId, string appItemSlug)
    Parameters
    Type Name Description
    string accessToken

    The bearer token to UDP.

    string orgId

    The organization identifier where to find the store item.

    string appItemSlug

    The store item slug name.

    Returns
    Type Description
    object

    The HTTP GET Request to update a store item.

    UpdateStoreItem(string, IapItem)

    Call UDP store asynchronously to update a store item.

    Declaration
    [Obsolete("Internal API, it will be removed soon.")]
    public static object UpdateStoreItem(string accessToken, IapItem iapItem)
    Parameters
    Type Name Description
    string accessToken

    The bearer token to UDP.

    IapItem iapItem

    The updated store item.

    Returns
    Type Description
    object

    The HTTP PUT Request to update a store item.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)