Skip to content

Conversation

alysonturing
Copy link
Contributor

@alysonturing alysonturing commented Aug 27, 2022

Actions

  • List orders
  • List orders stickers (regular and as pdf)
  • Update order status

FYI: I couldn't test it properly because the API Key provided by the customer is not working anymore.

* master:
  Adding app scaffolding for action_network
  Adding app scaffolding for action_network
  Adding app scaffolding for action_network
  Adding app scaffolding for action_builder
  Adding app scaffolding for action_builder
  Adding app scaffolding for action_builder
  Modifying global config
  Adding app scaffolding for vercel_token_auth
  Adding app scaffolding for vercel_token_auth
  Adding app scaffolding for vercel_token_auth
  Modifying global config
@vercel
Copy link

vercel bot commented Aug 27, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pipedream-docs ✅ Ready (Inspect) Visit Preview Aug 31, 2022 at 2:02AM (UTC)
pipedream-docs-redirect-do-not-edit ✅ Ready (Inspect) Visit Preview Aug 31, 2022 at 2:02AM (UTC)

@alysonturing alysonturing linked an issue Aug 27, 2022 that may be closed by this pull request
@dylburger
Copy link
Contributor

Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:

Copy link
Collaborator

@lcaresia lcaresia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution.

Just some fixes!

@@ -0,0 +1,44 @@
export default {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this file to common/constants.ts

@@ -0,0 +1,44 @@
export default {
stickersRequestType: [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
stickersRequestType: [
STICKERS_REQEUEST_TYPE: [

"code128",
"qr",
],
orderStatus: [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
orderStatus: [
ORDER_STATUSES: [

type: {
label: "Type",
type: "string",
description: "Sticker type, default: code128.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Sticker type, default: code128.",
description: "Sticker type, default: `code128`.",


export default defineAction({
name: "List Order Stickers",
description: "List order stickers. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "List order stickers. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)",
description: "List order stickers. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers)",

asPdf: {
type: "boolean",
label: "List as PDF",
description: "Set true for use the PDF API [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Set true for use the PDF API [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).",
description: "Set true for use the PDF API [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/post_api_v2_orders_stickers_pdf).",


export default defineAction({
name: "List Orders",
description: "Returns a list of orders. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Returns a list of orders. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)",
description: "Returns a list of orders. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/get_api_v2_orders)",


export default defineAction({
name: "Update Order Status",
description: "Update a order status. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Update a order status. [See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",
description: "Update a order status. [See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",

sgtin: {
type: "any",
label: "SGTIN",
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",
description: "Array required only for pharmaceutical products when they are transferred to status `Customer received the goods`.\n\n**Example:** `[{ code: string, numerator: integer, denominator: integer, sid: integer }]`\n\n[See docs here](https://suppliers-api.wildberries.ru/swagger/index.html#/Marketplace/put_api_v2_orders)",

* master: (22 commits)
  Adding app scaffolding for gmail
  Adding app scaffolding for gmail
  Modifying global config
  Adding app scaffolding for crisp
  Adding app scaffolding for crisp
  Adding app scaffolding for crisp
  Modifying global config
  Gmail Custom OAuth minor fixes (#4126)
  [Gmail] Custom OAuth Components (#4125)
  Fixed postgres event (#4115)
  Adding app scaffolding for gmail_custom_oauth
  Adding app scaffolding for gmail_custom_oauth
  Adding app scaffolding for gmail_custom_oauth
  Modifying global config
  Update send-large-message.mjs
  TimeCamp #3812 (#4084)
  Small updates to Slack components (#4108)
  add default false value (#4117)
  Sources - ClickUp (#4101)
  Esputnik - new sources and actions (#4105)
  ...
@alysonturing
Copy link
Contributor Author

/approve

Copy link
Collaborator

@lcaresia lcaresia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alysonturing alysonturing merged commit 73497bc into master Sep 7, 2022
@alysonturing alysonturing deleted the 3977-wildberries-actions branch September 7, 2022 16:37
alysonturing pushed a commit that referenced this pull request Sep 7, 2022
* master: (57 commits)
  Adding app scaffolding for wakatime
  Adding app scaffolding for wakatime
  Adding app scaffolding for wakatime
  Modifying global config
  3977 wildberries actions (#4111)
  Minor docs update
  Invocation budget docs (#4119)
  Adding app scaffolding for snapdocs
  Adding app scaffolding for snapdocs
  Adding app scaffolding for snapdocs
  Modifying global config
  Adding app scaffolding for sailpoint
  Adding app scaffolding for sailpoint
  Adding app scaffolding for sailpoint
  Modifying global config
  [BUG] pCloud Watch Folder trigger does not pick up events (#4167)
  #3815 - Tookan Actions (#4129)
  SMTP2GO: Adding actions to send single emails with body and template. (#4144)
  [BUG] Jira component only shows first 50 projects (#4162)
  Add dev.to new reading list item event (#4164)
  ...
@alysonturing alysonturing restored the 3977-wildberries-actions branch January 10, 2023 23:47
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

Successfully merging this pull request may close these issues.

[ACTION] Wildberries actions
4 participants