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

Missing string in Python example #226

Open
5 tasks done
Danc2050 opened this issue Dec 5, 2022 · 0 comments
Open
5 tasks done

Missing string in Python example #226

Danc2050 opened this issue Dec 5, 2022 · 0 comments

Comments

@Danc2050
Copy link

Danc2050 commented Dec 5, 2022

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

https://woocommerce.github.io/woocommerce-rest-api-docs/?python#batch-update-products
Missing string in update map:

"update": [
        {
            "id": 799,
            "default_attributes": [
                {
                    "id": 6,
                    "name": "Color, <<<<<<<<<<------ needs a double quote
                    "option": "Green"
                },
                {
                    "id": 0,
                    "name": "Size",
                    "option": "M"
                }
            ]
        }
    ],

Expected behavior

Has a string atend of "Color

Actual behavior

Does nott have a string at end of "Color

Steps to reproduce

Go to https://woocommerce.github.io/woocommerce-rest-api-docs/?python#batch-update-products

WordPress Environment

N/A

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@jorgeatorres jorgeatorres transferred this issue from woocommerce/woocommerce Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant