square / square-nodejs-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ecom visibility and availability are missing from the SDK

doron2402 opened this issue · comments

Describe the bug
When using the List Catalog for fetching items the api doesn't return the EcomVisibility values (Determines item visibility in Ecom (Online Store) and Online Checkout.).

Expected behavior
It should return the same response as the API, seems like when parsing the response the API remove those fields.

To Reproduce
Steps to reproduce the bug:

  1. Get a valid token
  2. Make the call using the SDK vs curl

Screenshots
Curl:
Screen Shot 2022-12-01 at 2 44 21 PM

Square SDK version

"square": "^24.0.0"

same issues on 25.1.0

The API Explorer shows the ecom fields, but the actual response is missing them.
Only with the http endpoints we get those results.

Someone made PR
#112
Can it be approved ?

Any update on that?

These ecom fields were not intended to be released publicly, and will not be available on the API. Apologies for any confusion and inconvenience!