Comments (6)
OK I managed to pull an example from our logging system. Call was
https://api.bigcommerce.com/stores/lh9wfk05w0/v3/customers?id%3Ain=10527",
Response was
"X-Request-ID": "60be554500d1d71cb3971d9ce3f47979",
{
"data": [
{
"id": 10527,
"authentication": {
"force_password_reset": false
},
"company": "",
"customer_group_id": 0,
"email": "[email protected]",
"first_name": "",
"last_name": "",
"notes": "",
"phone": "Catherine",
"registration_ip_address": "",
"tax_exempt_category": "",
"date_created": "2022-08-23T11:52:23Z",
"date_modified": "2022-08-23T11:52:23Z",
"accepts_product_review_abandoned_cart_emails": true,
"origin_channel_id": 1,
"channel_ids": null
}
],
"meta": {
"pagination": {
"total": 1,
"count": 1,
"per_page": 50,
"current_page": 1,
"total_pages": 1
}
}
}
Hope that helps. I locally patched the swagger file so I don't see the error now, so finding another example won't be so easy.
from api-specs.
@stevenbrookes thanks for bringing this to our attention. Can you explain how it is possible to have 0 minLength?
from api-specs.
Well all I know is on one of the BC instances we are connected to via the API we are seeing sales where the customer first name and last name are zero length. Seems odd I agree, but that's what we see. I don't have any insight into why that's happening in BC as we are a 3rd part just providing integration services.
from api-specs.
Hi @stevenbrookes, would you be able to provide some examples of API queries and responses where you see zero length please? That's not something that should be allowed, so a couple of examples would help us to dig a bit deeper. Please include the store and customer IDs, query url and result payload. Thanks.
from api-specs.
Thanks for engaging, @stevenbrookes. From a docs perspective, I've confirmed that this is not the intended behavior, so I'm going to close this issue out.
For a connection to more BigCommerce developer resources, consider engaging in our Developer Community.
from api-specs.
When you say you're are "going to close this out", have you fixed the issue in the OpenAPI file? BC is able to create a message that's not compliant with the OpenAPI file, so either the OpenAPI file or BC needs updating to bring them in line with each other. I've provided a concrete example of this above as requested.
from api-specs.
Related Issues (20)
- Stoplight urls in docs instead of api path HOT 2
- Create a Variant Image Documentation Update HOT 2
- Create a Product is partially documented HOT 1
- Add endpoint "/catalog/shared-product-options" HOT 1
- Support for code generation HOT 2
- Incorrect endpoint URL for Current Customer API HOT 3
- Array vs Objects HOT 3
- [Feature Request] A way to fetch variant metafields in batch HOT 1
- StoreInformation.logo is an array not an object HOT 1
- Webhook id should be integer not number? HOT 1
- Webhook headers incorrect type HOT 1
- Get all products variant id missing HOT 1
- Incorrect guidance on product option value endpoint HOT 1
- Inventory API model HOT 1
- catalog.v3.yml HOT 1
- Management API - v2 order schema for Multi-Currency-enabled stores HOT 2
- Swagger 2.0 Schema Violations HOT 5
- Get All Widget Templates channel_id query param has no effect. HOT 2
- Undocumented functionality on Get All Brands HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-specs.