Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bblaas

    (@bblaas)

    Just tested this with a local installation with the same results.

    • This reply was modified 5 years, 9 months ago by bblaas. Reason: typo
    Thread Starter bblaas

    (@bblaas)

    Yes, I noticed the double slashes in my question above,
    but repairing that gives still the same results.

    Thread Starter bblaas

    (@bblaas)

    As it turns out I mixed up the API documentations and used the wrong endpoints.
    Case closed.

    • This reply was modified 5 years, 9 months ago by bblaas. Reason: typo
    Plugin Support con

    (@conschneider)

    Engineer

    Hi @bblaas,

    What you describe sounds correct. I just tested this on my local system and have no trouble listing attribute terms by attribute ID. My cURL:

    curl "https://mysite.local/wp-json/wc/v3/products/attributes/2/terms" \
         -u 'ck_488ETC:cs_f1c9635ETC'

    Result: https://cld.wthms.co/kycYlQ

    Since it fails the moment you introduce an ID, I am guessing it might be the multsite setup(?). Your cURL reflects mine above and WooCommerce is locally activated (not network activated).
    How do you route your TLD?

    Kind regards,

    Plugin Support con

    (@conschneider)

    Engineer

    As it turns out I mixed up the API documentations and used the wrong endpoints.
    Case closed.

    Thanks for letting us know ;).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘API not returning attribute/id/terms’ is closed to new replies.