Store API does not bring all data of pending submission.

Jignesh Desai 101 Reputation points
2020-02-13T14:00:13.177+00:00

Hi,

I had created a new submission using API, when I did that following was JSON returned in 'cloned submission'

 "applicationCategory": "Productivity",
  "pricing": {
    "trialPeriod": "NoFreeTrial",
    "marketSpecificPricings": {
      "US": "Tier1087",
      "CA": "Tier1090",
      "IE": "Tier1081",
      "GB": "Tier1083",
      "AS": "Tier1087",
      "GG": "Tier1087",
      "IM": "Tier1087",
      "UM": "Tier1087",
      "VI": "Tier1087",
      "VG": "Tier1087"
    },
    "sales": [],
    "priceId": "Tier1022",
    "isAdvancedPricingModel": true
  },
  "visibility": "Public",
  "targetPublishMode": "Immediate",
  "targetPublishDate": "1601-01-01T00:00:00Z",

as you can see here the trialPeriod is "NoFreeTrial".

After creating clonedsubmission, without doing commit, I went to website and modified few items like trialPeriod , I also added 'Schedule', modified pricing, added 'sale pricing', added 'Customize for specific markets' for free trail. I saved the draft.

I then again tried to read the pending submission using API and this is what I got

  "applicationCategory": "Productivity",
  "pricing": {
    "trialPeriod": "ThirtyDays",
    "marketSpecificPricings": {
      "US": "Tier1087",
      "IN": "Tier1012",
      "BR": "Tier1012",
      "CA": "Tier1090",
      "IE": "Tier1081",
      "GB": "Tier1083",
      "AS": "Tier1087",
      "BQ": "Tier1012",
      "GG": "Tier1087",
      "BJ": "Tier1012",
      "IM": "Tier1087",
      "UM": "Tier1087",
      "VI": "Tier1087",
      "VG": "Tier1087",
      "EH": "NotAvailable"
    },
    "sales": [],
    "priceId": "Tier1022",
    "isAdvancedPricingModel": true
  },
  "visibility": "Public",
  "targetPublishMode": "Immediate",
  "targetPublishDate": "1601-01-01T00:00:00Z",

As you can see from the JSON received , that trialPeriod value is updated one, not all but few "marketSpecificPricings" are updated, I wonder why?
Also 'Market group name' information is missing, 'sale pricing ' information is missing that was recently added.

I wonder is there a problem in API or something else ?

Kindly advice.

Regards

Universal Windows Platform (UWP)
{count} votes