labd / commercetools-python-sdk

Commercetools Python SDK
https://commercetools-python-sdk.readthedocs.io/en/latest/
MIT License
17 stars 16 forks source link

Resource types missing from ResourceTypeId #141

Closed NealAJohnson closed 1 year ago

NealAJohnson commented 1 year ago

I'm trying to add a custom type for a cart which is in the list of customizable data types but the list of types in this project doesn't seem to include it.

mvantellingen commented 1 year ago

Hi @NealAJohnson, it's best to continue the conversation here i think.

I just regenerated the Python SDK but am running into some issues with the new API Raml specs. Will need to fix this in https://github.com/commercetools/rmf-codegen/tree/main/languages/python This might take some time

See #142

NealAJohnson commented 1 year ago

So the issue is with the commercetools code generator? If you can log an issue (or explain it a little more and I can do so) we can reach out to our CT contact and pressure them to get on this ASAP.

NealAJohnson commented 1 year ago

@mvantellingen Any further movement on this? Anything we can push on CommerceTools to do?

NealAJohnson commented 1 year ago

@mvantellingen Checking in again, anything that can be done about this?

NealAJohnson commented 1 year ago

Turns out the issue I logged isn't relevant, it just happened to uncover the fact that the python SDK can't be regenerated. After trying to use the API directly I realized that there is no cart resource ID because the key used to create the custom type is order instead.

mvantellingen commented 1 year ago

Should be fixed in latest release, see https://pypi.org/project/commercetools/

Let us know if that is not the case