Skip to content

В хелпере OrderHelper некорректно строится запрос, не создается секция order #41

@dezinger2

Description

@dezinger2

https://github.com/mindbox-moscow/php-sdk/blob/master/docs/examples/order_helper.md
https://github.com/mindbox-moscow/php-sdk/blob/master/src/Helpers/OrderHelper.php#L81

Это все должно быть обернуто в секции "order" но хелпер не делает этого.

{
  "customer": {
    "ids": {
      "externalID": 506418
    }
  },
  "ids": {
    "orderExternalID": 62788
  },
  "totalPrice": 769,
  "lines": [
    {
      "lineId": 68650,
      "discountedPricePerLine": 769,
      "quantity": 1,
      "basePricePerItem": 769
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions