Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin API-When registering a configurable product, the IDs of the variants are not returned #386

Open
Helidalto opened this issue Dec 6, 2024 · 0 comments

Comments

@Helidalto
Copy link

Hello,

The POST "/api/v1/admin/catalog/products" endpoint
when registering a configurable product, the IDs of the variants are not returned so that updates can be made later.

I checked on the panel and the variants were successfully registered, these product variants are just not being returned in the API

{
"data": {
"type": "configurable",
"attribute_family_id": 1,
"sku": "5554851",
"updated_at": "2024-12-06T19:45:47.000000Z",
"created_at": "2024-12-06T19:45:47.000000Z",
"id": 12,
"channels": null,
"new": null,
"featured": null,
"visible_individually": null,
"status": null,
"guest_checkout": null,
"short_description": null,
"description": null,
"length": null,
"width": null,
"height": null,
"weight": null,
"name": null,
"url_key": null,
"tax_category_id": null,
"brand": null,
"product_number": null,
"grade3": null,
"manage_stock": 1,
"meta_title": null,
"meta_keywords": null,
"meta_description": null,
"price": null,
"cost": null,
"special_price": null,
"special_price_from": null,
"special_price_to": null,
"attribute_family": {},
"attribute_values": [],
"images": [],
"videos": [],
"additional": []
},
"message": "Product added successfully."
}

@Helidalto Helidalto changed the title When registering a configurable product, the IDs of the variants are not returned Admin API-When registering a configurable product, the IDs of the variants are not returned Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant