Quantcast
Jump to content

Get Started with Galaxy Store Developer API


STF News
 Share

Recommended Posts

2021-04-13-01-banner.jpg

The Galaxy Store Developer API provides programmatic access to key functions of Seller Portal, such as managing your apps and in-app items or checking app performance. It is made up of a set of server-to-server APIs that access different areas of Seller Portal:

Before you can start using these APIs, you must meet all the requirements for access and authentication. Read on to find out more about these requirements.

Basic requirements

The following are the basic requirements are required to use all of these APIs.

  • Seller Portal account. A Samsung account is required to register for a Seller Portal account. You can sign up for a Samsung account when you register for a Seller Portal account.

  • Commercial seller status, to manage paid apps or in-app purchase items. If you want to manage paid apps or paid in-app items, your Seller Portal account must have commercial seller status.

  • Apps registered in Seller Portal. The Galaxy Store Developer API does not support new app registration. You must first register your apps in Seller Portal before you can manage them using the API.

  • Access token. The access token is used for authentication. A summary of the steps needed to create an access token are included in this blog.

Create an access token

An access token is sent in the authorization header of every API call. It defines the scope (which APIs you can call) and can only be used from a valid service account.

2021-04-14-01-01.jpg

Complete the following steps to create an access token:

  1. Create a service account. Log in to Seller Portal and go to Assistance > API Service. When you create a service account, you generate a private key (used to create your JSON web token) and service account ID (used in the authorization header of the Content Publish and IAP Publish APIs).
  2. Create a JSON Web Token. Create a JSON Web Token (JWT) by providing a header and registered claims to a site that generates the token or programmatically using a JavaScript JWT library.
  3. Request an access token. Request an access token from the Galaxy Store authentication server.

Click on the linked step to see more detailed information about how to complete each step.

Use the Content Publish API

The Content Publish API is used to view, modify, submit, and change the status of apps registered in Galaxy Store Seller Portal. When you have met the basic requirements and have your service account ID and access token, use the following headers:

curl -X <content-publish-api-request> \
  -H  "content-type: application/json" \
  -H  "Authorization: Bearer <your-access-token>" \
  -H  "service-account-id: <your-service-account-id>"

See Content Publish API for more information about available requests.

Use the IAP Publish API

The IAP Publish API is used to view, register, modify, and remove Samsung In-App Purchase (IAP) items. In addition to meeting the basic requirements, the following is also required:

  • The IAP Publish API must be connected with the content in the In App Purchase tab area of Seller Portal. To create this connection, you must either initially distribute your content using the Content Publish API or the content must be in the For Sale state in Seller Portal. If this connection does not exist, matching product information cannot be retrieved.
  • You must integrate IAP Helper into your app. All binaries registered in your content must support IAP.

When you have met all the requirements, use the following:

curl -X <iap-publish-api-request> \
  -H  "content-type: application/json" \
  -H  "Authorization: Bearer <your-access-token>" \
  -H  "service-account-id: <your-service-account-id>"

See IAP Publish API for more information about available requests and request parameters.

Use the GSS API

The GSS (Galaxy Store Statistics) Metric API is used to get statistics about apps registered in Galaxy Store. In addition to meeting the basic requirements, the following is also required:

  • Four cookie values required for authentication (see Get cookie values for more information)
  • sellerID, obtained by using the GSS User API
  • The statistics to view and other attribute values used to filter the response data (see GSS Metric API for more information)

When you have met all the requirements, use the following:

curl -X POST <gss-api-request> \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your-access-token>" \  
  -H "Cookie:<gss-api-cookie-values>" \
  -d '{"<gss-api-attributes-and-values>"}' 

See GSS User API and GSS Metric API for more information about available requests.

Next steps

After you have met all the requirements, you are ready to start using the Galaxy Store Developer API. See Galaxy Store Developer API for a list of all requests available. Each request also includes examples showing usage and expected results.

View the full blog at its source

Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Similar Topics

    • By BGR
      The Galaxy Z Fold 4 is Samsung’s next flagship phone, and the foldable will introduce several significant improvements over its predecessor. And, if new leaks are accurate, the Galaxy Z Fold 4 will start at double the storage compared to its predecessor, or 512GB of built-in memory. The flash upgrade is welcome on a flagship device that will most certainly lack support for microSD storage expansion. That also means the most expensive Fold 4 model will go up to 1TB in storage space.
      But it’s not all good news, as storage upgrades don’t come cheap.
      Galaxy Z Fold 4 storage leaks
      If you thought the Galaxy Z Fold 4 series will not deliver a major product update, the wave of Fold 4 leaks should have made you change your mind by now. According to reports from trusted sources, the new foldable will be lighter and thinner than its predecessor.
      Not only that, but the handset will get an update to the aspect ratio, which will make it easier to use when folded. Moreover, the hinge crease might be milder than before.
      More importantly, the Galaxy Z Fold 4 will deliver a big camera update that should address criticisms regarding the Fold 3’s camera. Also important are the Fold 4 specs, with a recent report indicating that the new Samsung handset will feature the latest Snapdragon 8+ Gen 1 processor. That’s good news to anyone familiar with the Galaxy S22 performance debacle.
      Galaxy Z Fold 4 storage options leaked in Korea. Image source: handphone.or.kr But that recently leaked specs sheet indicated the Fold 4 will come in two storage configurations: 256GB and 512GB. That’s in line with the previous model and a logical move for Samsung. That 256GB entry-level tier is double what you get on most smartphones. And that tier would let Samsung keep in place last year’s price, but that’s just speculation.
      A new finding from Korea indicates that Samsung will make 512GB and 1TB versions of the Galaxy Z Fold 4. That’s according to a website that seems to be run by the Korea Association for ICT Promotion.
      According to Redditors, that’s a website that manages information about lost cellphones in Korea. But the database also includes a hidden search service for smartphone model numbers, including unreleased devices.
      What about the price?
      The listings on the website only show two storage tiers for the Galaxy Z Fold 4: 512GB and 1TB. While some of the Fold 4 models in the list do not have storage designators, there is no entry for a 256GB model.
      We’re just speculating for the time being, but if the information in this database is accurate, then Samsung might double the storage on its next-gen foldable flagship.
      On the other hand, the 256GB storage tier is critical. That’s the kind of storage space you should expect from the cheapest Fold 4 model. Put differently, a bump to 512GB might also help Samsung justify a price increase for the new Fold 4.
      Galaxy Z Fold 4 design render: Foldable screen (top), cover screen and camera details (bottom). Image source: @OnLeaks and Smartprix One of the best things about the Galaxy Z Fold 3 is that the entry price dropped. The phone starts at $1,799, and that’s before all the crazy deals come in. Samsung did its best to lower the cost, offering buyers plenty of sales and the ability to trade in multiple gadgets.
      Nobody could blame Samsung for keeping that entry price in place or raising it, given the larger economic context. But it’ll be interesting to see if Samsung is ready to sell a 512GB Galaxy Z Fold 4 for $1,799. This would essentially give buyers a free storage upgrade.
      Again, we’re assuming there’s no 256GB version of the Fold 4. But there’s no proof that Samsung dropped the 256GB tier for the Fold line.
      Samsung will unveil the Fold 4 on August 10th, according to a leaker. We should learn more details about the new foldable’s storage options well before then.
      The post Samsung might give the Galaxy Z Fold 4 a major storage upgrade appeared first on BGR.
      View the full article
    • By BGR
      After the Galaxy S22 series’ semi-disastrous launch, Samsung probably can’t wait to unveil its next flagship phones. These will be foldable devices, however. They’re the successors of last year’s Galaxy Z Fold 3 and Flip 3. The Fold 4 and Flip 4 have appeared in several leaks already, and we know what to expect from the handsets’ designs and specs sheets. And a leaker just revealed the purported launch, preorder, and release dates for the Galaxy Z Fold 4 and Flip 4.
       
      The Fold 4 and Flip 4 will look like their predecessors, but fans of foldable handsets can expect several significant design changes.
      Samsung’s Galaxy Z Fold 4 design is the more exciting of the two devices. The phone will be shorter and wider than the Fold 3. It’ll still have a massive internal foldable display. But it should be more comfortable to use the handset when folded because the external display will have a better aspect ratio.
      The Fold 4 is also going to be lighter and thinner than its predecessor. Samsung will supposedly use a new hinge mechanism to reduce the phone’s weight.
      The same leaker who provided most of the aforementioned Galaxy Z Fold 4 details also listed the handset’s main specs. The main takeaway is that the Fold 4 will feature a brand new chip, the Snapdragon 8 Plus Gen 1 that Qualcomm just unveiled.
      This implies that all the Fold 4 models will pack the same System-on-Chip (SoC), which is good news for fans. Poor Exynos 2200 performance hurt the Galaxy S22 this year, and many people think Samsung should drop its latest SoC as soon as possible.
      Ice Universe has provided plenty of tidbits about the Fold 4 and Flip 4 in the past. But he never revealed the launch and release date details for the two Galaxy Z phones.
      Thankfully, we now have that information from a different prominent leaker, YouTuber Jon Prosser.
      Galaxy Z Fold 4 release date
      The YouTuber took to Twitter to discuss several unreleased Samsung products, including the new foldables. Prosser revealed launch, preorder, and release dates in a series of tweets. He mentioned the Galaxy Z Fold 4, Flip 4, a Lavander version of the Galaxy S22, as well as upcoming Galaxy Watch 5 and Watch 5 Pro wearables.
      If Prosser’s sources are correct, Samsung will hold its Galaxy Z Fold 4 launch event on August 10th. That’s when the company should unveil the Flip 4 and its new 2022 wearable generation. Preorders for all these products should start on the same day.
      Then, the Galaxy Z Fold 4 and the rest of these new devices will apparently get the same release date: August 26th.
      The leaker said that the Galaxy Z Fold 4 will come in Phantom Black, Green, and Beige. The Flip 4 will be available in colorway options at launch, including Graphite, Bora Purple, Pink Gold, and Blue.
      The Galaxy Watch 5 will come in 40mm and 44mm sizes, which sound familiar. Both models are said to be available in Phantom Black or Silver. The smaller model will get a Pink option, while the 44mm will get a Sapphire (blueish) colorway. The Watch 5 Pro will also reportedly come in Phantom Black and Silver, but it’ll be slightly larger at 46mm.
      Prosser did not provide pricing information for any of these devices, but at least we have an apparent release date. However, considering that Samsung went out of its way to make last year’s foldables more affordable, we’d expect a similar strategy for the Galaxy Z Fold 4 and Flip 4.
      The prices should leak as we get closer to the launch event.
      The post Samsung Galaxy Z Fold 4 release date just leaked appeared first on BGR.
      View the full article





×
×
  • Create New...