Questions tagged [commercetools]

The commercetools platform is a scalabale HTTP API-based cloud eCommerce solution that allows developers to create commerce solutions for all devices and platforms

The commercetools platform is a platform-as-a-Service eCommerce solution (formerly known as SPHERE.IO).

The HTTP API is the main and first-class way for developers to work with the platform.

You can work in your favorite programming language and framework and there are SDKs for Java 8, PHP and Node.js.

Getting started:

76 questions
0
votes
0 answers

Unit Testing in Commerce tools in .net/C# API

What unit testing framework/library is recommended for Commerce tools in.net/C# API especially for mocking the commerce tool .net API . I tried mocking the .net API of commerce tools with moq framework but faced issues in that . It does not let mock…
adidas
  • 11
  • 3
0
votes
2 answers

How to deduct product quantity using inventory after it is getting ordered in commercetools?

[] changing inventory mode to Track only, tax mode to Platform
srilatha
  • 16
  • 3
0
votes
1 answer

How to setup Franchise account in commerce tools?

I have a requirement that in Commerce tools to setup an Franchise and map all their shops to that. Whats the best suggestion I can use ?. Can I go with Business unit and map all their shops how does that work
David Bekham
  • 2,175
  • 3
  • 27
  • 56
0
votes
1 answer

,"msg":"Could not resolve parent for '11' using slug (language: en)."

Category with externalId 6 updated. Category with externalId 2 updated. Category with externalId 4 updated. Category with externalId 3 updated. Category with externalId 1…
0
votes
1 answer

Commercetool Incremental Pull

I was trying to pull incremental data from commercetool api using QueryPredicates by sending last modified datetime but the api is giving full data. https://api.{region}.commercetools.com/{projectkey}/categories?where=lastModifiedAt >…
Anil Sarkar
  • 150
  • 8
0
votes
1 answer

change Commercetools Product Projection Search sort rules

Good afternoon, the standard sorting in comerstools supports sorting alphabetically. The sorting principle is special characters first, then numbers, then letters. I need records to be returned A-Z numbers specsymbols and if the record starts with a…
0
votes
1 answer

Cannot find category for slug:xxxxxx in commercetools

i am creating new products for commerce tools with the below data, but getting the slug…
0
votes
2 answers

sdk-client-v2: ex createHttpMiddleware(options) now createHttpClient(options): no retryOnAbort?

in the documentation of sdk-middleware-http about createHttpMiddleware(options) I see 12. retryOnAbort (Boolean): Configure the client to retry an aborted request or not. Defaults to false. But looks like this is not exists anymore in…
Vitaly Zdanevich
  • 13,032
  • 8
  • 47
  • 81
0
votes
1 answer

Commercetools cart lineitem inventory update

I am trying to read inventory from the lineitems in cart, but inventory is not updated at lineitem. Is there any way to read updated inventory of lineitem without recalucate cart action?
0
votes
1 answer

How do you create ProjectApiRoot as Customer in Commercetools

I can create a ProjectApiRoot using the Java SDK and perform requests with that using the following code: private static ProjectApiRoot createProjectClient() { ProjectApiRoot apiRoot = ApiRootBuilder.of() …
0
votes
1 answer

How would one create different environments in Commercetools?

I am trying to set up Commercetools with a CI/CD pipeline. It is my first time working with microservices and cloud architectures. With a monolithic code base you can have development, QA and production environments - how would one go about this…
0
votes
1 answer

How to examine and change actions on commercetools updateCart query?

My question is this: Is there a feature or method within graphql that allows editing of incoming queries EASILY so that I can prevent an action from being performed? I would like to examine my query in a web proxy, edit the actions, and then send it…
sakurashinken
  • 3,940
  • 8
  • 34
  • 67
0
votes
3 answers

VSF Unable to get integration template from git repository

I want to set up a new vue storefront project and I've got this error. I don't know why this is happening, can someone help out in this situation? command: npx @vue-storefront/cli init ? What's your project name? smso ? Choose integration…
0
votes
1 answer

Define product bundles with different quantities in commercetools

I want to model a bundle in commercetools which contains two different products and both these products have different quantities in it. For ex: Bundle A Product X | QTY: 1 Product Y | QTY: 3 Bundle B Product A | QTY: 2 Product B | QTY: 5 I have…
VK1990
  • 11
  • 3
0
votes
1 answer

Adding subscription for Custom Objects - Commercetool

I am trying to add a subscription for custom objects in commerce tool. I am using the following definition: { "destination": { "type": "AzureServiceBus", "connectionString": "**********************" }, "messages": [ { …