GithubHelp home page GithubHelp logo

Comments (4)

pomadchin avatar pomadchin commented on July 30, 2024

It is not possible to change an order creation date (it is not need, as you can see), so this is api restriction. The reason why createdAt is available in edit method is that it is possible to create an order via edit.

from api-client-php.

BaBL86 avatar BaBL86 commented on July 30, 2024

My situation:
I import orders (more than 10000 of 40000 all) with error, createdAt missing in import. This orders now created at 2014-05-31 date, but real date is 2010-2012 years.

How can I delete this orders? There is no OrderDelete in API, only one method i find: open order in CRM web interface and click basket button. But I have 10000+ bad orders.

from api-client-php.

muxx avatar muxx commented on July 30, 2024

Алексей, напишите мне на [email protected] с почты, которую вы указывали при создании CRM. Мы пересоздадим вам аккаунт.

Кроме этого дам рекомендации:

  1. Вы выгружаете заказы одиночными методами /api/v2/orders/create, /api/v2/customers/create. Для первичной массовой выгрузки рекомендуем вам использовать /api/v2/orders/upload и /api/v2/customers/upload, где можно передавать до 50 элементов. Это позволяет ускорить выгрузку на порядок.
  2. При выгрузке заказов, рекомендуем указывать для товаров в заказе название. Это рекомендовано для того, чтобы отображались названия тех товаров в заказе, которых уже больше нет в каталоге и их система не может связать по ID. В противном случае такие товары будут отображаться с названием "noname".

from api-client-php.

gwinn avatar gwinn commented on July 30, 2024

В v4 стала доступна возможность менять поле createdAt в методе в api/orders/edit

from api-client-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.