Skip to content

The APIDoc TryItOut for /api/products/search/{phrase}/{resultsLimit}/{isoCode} doesn't work - Enpoint Issue #34486

@Progi1984

Description

@Progi1984

Prerequisites

Describe the bug and add attachments

image

Expected behavior

No response

Steps to reproduce

PRECOND : Your shop is in HTTPS

  1. Execute command cp app/config/security_test.yml app/config/security_dev.yml
  2. Execute command curl --location 'https://prestashop.php81.local/admin-dev/api/oauth2/token' --data-urlencode 'client_id=my_client_id' --data-urlencode 'client_secret=prestashop' --data-urlencode 'grant_type=client_credentials'
    image
  3. You have an access token
  4. Go to BO
  5. Enable Authorization Server in Experimental Server
  6. Go to Authorization Server page
  7. Go to API Doc page
  8. Click sur Authorize and paste the access token
  9. Try to define parameters for the next endpoint
    image
  10. The field resultsLimit is in error with 20 which is an integer.

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

Metadata

Metadata

Assignees

Labels

APIBOCategory: Back OfficeBugType: BugDetected by TEIssue detected by TENMIStatus: issue needs more informationTrivialSeverity: trivial bug > https://build.prestashop.com/news/severity-classificationWaiting for devStatus: action required, waiting for tech feedbackdevelopBranch

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions