zapier suppliers array format?

Hi,

Trying to test the zapier integration by adding Items in bulk with google spreadsheet.

Optional "Suppliers" field:

Can you please provide a parse-able example?

I want to add URL and SKU/Part# at the least.

The help text is not very helpful in that as it containts things like bullet marks...

I also looked through the API and did not find an example of Suppliers array

(https://www.dozuki.com/api/2.0/doc)

Thanks!

Figure: help text from Zapier:

"Array of objects that define types of items and where they can be found. This can be used to populate the item database that can be referenced from guides. All of the fields are optional but there must be at least one. Available on the ITEM namespace. • part_# — Part number. • type — Type of item e.g. color. Can be referenced directly from a guide item. • supplier — Name of supplier/manufacturer. • url — URL of source."

Answered! View the answer I have this problem too

Is this a good question?

Score 0

Comments:

Hi,

Is this question too difficult to answer?

Is this question wrong or should I give up?

Anyone from the zapier team around?

~F.

by

I see it in the API now.

Looking through it.

by

Hi Filip -

Sorry for the delayed response - we started working on a quick example to send over and noticed a few issues in our Zapier beta app. We're correcting those bugs and will be pushing out a new release in the next week or so.

by

Add a comment

1 Answer

Chosen Solution

OK,

as soon as I found it in the API, it was reasonably straightforward

(That being said - most people using Zapier will not be going through the API, so maybe a better help text would be good.)

Example below.

This

"suppliers": [
    {
      "type": "red",
      "part_#": "AKR0001",
      "supplier": "my-fav-supplier",
      "url": "http://www.buythisthingrightnowimmediatelly.com"
    },
    {
      "type": "blue",
      "part_#": "AKR0002",
      "supplier": "my-fav-supplier",
      "url": "http://www.buythisthingrightnowimmediatelly.com"
    }
  ]

Will produce this:

Block Image

Was this answer helpful?

Score 1

Comments:

PS: If using API, here's the whole dummy object I'd use...

{

"namespace": "ITEM",

"title": "array-test-4",

"description": "description-array-test",

"contents": "contents-array-test",

"suppliers": [

{

"type": "red",

"part_#": "AKR0001",

"supplier": "my-fav-supplier",

"url": "http://www.buythisthingrightnowimmediate...

},

{

"type": "blue",

"part_#": "AKR0002",

"supplier": "my-fav-supplier",

"url": "http://www.buythisthingrightnowimmediate...

}

]

}

by

Great job Filip! Let us know if you run into any other obstacles.

by

Add a comment

Add your answer

Filip Goc will be eternally grateful.