Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Get downloadable products for customer #273

Merged
merged 3 commits into from
Feb 11, 2019

Conversation

rogyar
Copy link
Contributor

@rogyar rogyar commented Dec 11, 2018

Description (*)

This PR introduces a possibility to retrieve purchased downloadable products list for a customer.

Fixed Issues (if relevant)

  1. [My Account] My Downloadable Products #42: [Query] My Account > My Downloadable Products

Manual testing scenarios (*)

  1. Log in as a registered customer and purchase some downloadable products (place order).
  2. Generate an access token for the current user (https://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-authentication-token.html#request-token)
  3. Use the newly generated token in the GraphQl request header and submit the following request
{
  customerDownloadableProducts {
    items {
      date
      status
      download_url
      remaining_downloads
    }
  }
}

@ghost
Copy link

ghost commented Feb 11, 2019

Hi @rogyar, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants