commercetools-python-sdk
commercetools-python-sdk copied to clipboard
Commercetools Python SDK
I'm trying to query https://docs.commercetools.com/api/projects/order-search#search-orders endpoint by calling: range_query = { "query" : { "and": [ { "range": { "field": "createdAt", "gte": "2023-05-31T23:00:00.000Z" } }, { "exact": { "field": "store.key",...
I'm wondering why `requests_mock` and `Werkzeug` are not only **dev** dependencies ? https://github.com/labd/commercetools-python-sdk/blob/d31c02475c1d01cb7f87e8bfbe40bdb7bd9d5a97/setup.py#L5-L15
{{[}}*ERROR*{{] ValueError: Could not find discriminator schema totalPrice for field 'target' ( {'type': 'totalPrice'} )}} Traceback (most recent call last): File "/var/task/ct_extract.py", line 194, in extract {{ query_result = entity_query(offset=query_offset,...
Hello guys, we notice that the version release was bumped but not released yet, [commit](https://github.com/labd/commercetools-python-sdk/commit/ffa4faf36aa9a30764442cb2d377ee89fb3b6263), there is any plan to release the new version? Thanks
marshmallow v4 has some Backwards-incompatible changes, see: https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst#400-2025-04-16 So it's results in: ``` File "/foobar/pim/api/commercetools/map_utils.py", line 6, in from commercetools.platform.models import ProductData File "/foobar/.venv/lib/python3.12/site-packages/commercetools/__init__.py", line 1, in from .client import...
I assume this project is dead?
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.13.0. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.13.0 [!important] 🚨 This release includes fixes for GHSA-vxmw-7h4f-hqxh discovered by @woodruffw💰. We've also integrated Zizmor to catch...
Using uv 0.5.10 and python 3.12 uv add --script purge_active_carts.py 'commercetools' 'click' uv run purge_active_carts.py ``` Users/foo/Library/Caches/uv/archive-v0/lc62ZtUhkR_UHjZ2hGTwr/lib/python3.12/site-packages/commercetools/platform/client/orders/by_project_key_in_store_key_by_store_key_orders_order_number_by_order_number_request_builder.py:42: SyntaxWarning: invalid escape sequence '\-' """Returns an order by its order number from...