Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve line items params in the API documentation #3445

Merged

Conversation

kennyadsl
Copy link
Member

Description

It is not clear that line items params can have an id or a variant_id, depending on if we are updating or creating a new item. This PR also documents better the other fields.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)
  • [ ] I have attached screenshots to this PR for visual changes (if needed)

It is not clear that line items params can have an id
or a variant_id, depending on if we are updating or
creating a new item.

This commit also documents better the other fields.
@kennyadsl kennyadsl added changelog:solidus_api Changes to the solidus_api gem Documentation labels Dec 2, 2019
@kennyadsl kennyadsl self-assigned this Dec 2, 2019
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kennyadsl thank you 👍

Copy link
Contributor

@jacobherrington jacobherrington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📖 🤓

@jacobherrington jacobherrington merged commit 798ca9b into solidusio:master Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_api Changes to the solidus_api gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants