Skip to content

"customerMembership" missing from getFeaturedOfferExpectedPriceBatch? #5072

@ambondarev

Description

@ambondarev

I am looking for clarification on this because its a bit confusing. This is in regards to the Product Pricing API endpoint.

For getCompetitiveSummary, in the example it shows

                "featuredOfferSegments": [
                  {
                    "customerMembership": "PRIME",
                    "segmentDetails": {
                      "glanceViewWeightPercentage": 72,
                      "sampleLocation": {
                        "postalCode": {
                          "countryCode": "US",
                          "value": "12345"
                        }
                      }
                    }
                  },
                  {
                    "customerMembership": "NON_PRIME",
                    "segmentDetails": {
                      "glanceViewWeightPercentage": 10,
                      "sampleLocation": {
                        "postalCode": {
                          "countryCode": "US",
                          "value": "67890"
                        }
                      }
                    }
                  },
                  {
                    "customerMembership": "DEFAULT",
                    "segmentDetails": {
                      "glanceViewWeightPercentage": 8,
                      "sampleLocation": {
                        "postalCode": {
                          "countryCode": "US",
                          "value": "98101"
                        }
                      }
                    }
                  }
                ]

// Later on for the second seller

                "featuredOfferSegments": [
                  {
                    "customerMembership": "NON_PRIME",
                    "segmentDetails": {
                      "glanceViewWeightPercentage": 10,
                      "sampleLocation": {
                        "postalCode": {
                          "countryCode": "US",
                          "value": "12345"
                        }
                      }
                    }
                  }
                ]

As shown above there is a customerMembership per each segment with one zip for a sampleLocation. As I understand it you can query segments by zip when using getFeaturedOfferExpectedPriceBatch, however there is no place to define a customerMembership.

  1. How do I differentiate between, as an example, zip 12345 with a NON_PRIME featured offer vs a DEFAULT or PRIME since getFeaturedOfferExpectedPriceBatch does not provide a query for it?
  2. Are sampleLocation's zips tied to the customerMemberships, meaning if I query 67890 for getFeaturedOfferExpectedPriceBatch, it would give me a featuredOfferExpectedPriceResults based on NON_PRIME?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions