PrestaShop/PrestaShop

WS : Products - The response of the GET request has not defined the field `new`

已关闭

#33,429 创建于 2023年7月26日

 (1 条评论) (0 个反应) (0 位负责人)PHP (4,734 个派生)batch import
BugDetected by TEGood first issueHacktoberfestMinorNeeds SpecsVerifiedWS

仓库指标

星标
 (7,621 个星标)
PR 合并指标
 (平均合并 26天 17小时) (30 天内合并 116 个 PR)

描述

Prerequisites

Describe the bug and add attachments

WS : Products - The response of the GET request has not defined the field new

Expected behavior

WS : Products - The response of the GET request has defined the field new

Steps to reproduce

  1. Enable WS
  2. Create a WS Key
  3. Request a GET query to http;//domain.tld/api/products/3 for example

In the response of the POST query, it's is filled. Not in the response of GET query.

Response of the POST query :+1: image

Response of the GET query :-1: image

Acceptance Test

Unskip tests

PrestaShop version(s) where the bug happened

9.0.x

PHP version(s) where the bug happened

8.1

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

@PrestaShopCorp

贡献者指南