최근 검색


최근 검색 없음

Sell Product API SKU value

답변함


2021년 7월 27일에 게시됨

When I make a request to the API to create a product without the SKU key, I get the error "resource: product, field: /data/sku, code: blank, message: attribute can't be blank, details: This field may not be null."

If I provide the key and set it to an empty string (""), it gives the same error. Putting anything in the string allows the product to be created.

However, from the Sell UI, you can leave the SKU blank and it adds fine.

How do I create a product from the API with a blank SKU? If I can't, this is a bug...


0

1

댓글 1개

image avatar

Sabra

Zendesk Customer Care

Hey @...! The SKU parameter is not a required parameter when creating a product via the Create a Product API. To create a product without a SKU, you can just leave the SKU parameter out of your request payload entirely. I'll go ahead and open a ticket on your behalf so that we can take a look at your use case in more detail.

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물